Uart device structure – Altera Embedded Peripherals IP User Manual

Page 100

Advertising
background image

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

Advertising