Altera Embedded Peripherals IP Instrukcja Użytkownika Strona 100

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 336
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 99
Include: <altera_16550_uart.h>
Parameters: context – device of the UART
Returns: none
Description: Interrupt handler to process UART interrupts to
process receiver/transmit interrupts.
Table 9-19: alt_16550_uart_rxirq
Prototype: static void altera_16550_uart_rxirq (altera_16550_
uart_dev* dev, alt_u32
Include: <altera_16550_uart.h>
Parameters: context – device of the UART
Returns: none
Description: Process a receive interrupt. It transfers the incoming
character into the receiver circular buffer, and sets
the appropriate flags to indicate that there is data
ready to be processed.
Table 9-20: alt_16550_uart_txirq
Prototype:
static void altera_16550_uart_txirq (altera_16550_
uart_dev* dev, alt_u32 status
Include: <altera_16550_uart.h>
Parameters: context – device of the UART
Returns: none
Description: Process a transmit interrupt. It transfers data from
the transmit buffer to the device, and sets the
appropriate flags to indicate that there is data ready
to be processed.
UART Device Structure
9-14
UART Device Structure
UG-01085
2014.24.07
Altera Corporation
16550 UART
Send Feedback
Przeglądanie stron 99
1 2 ... 95 96 97 98 99 100 101 102 103 104 105 ... 335 336

Komentarze do niniejszej Instrukcji

Brak uwag