These are the examples provided for [[/users/frank26080115/libraries/LPC1700CMSIS_Lib/]] Note, the entire "program" is not compilable!

Embed: (wiki syntax)

« Back to documentation index

Interrupt

Interrupt

Functions

void UART0_IRQHandler (void)
 UART0 interrupt handler sub-routine.
void UART_IntTransmit (void)
 UART transmit function (ring buffer used)
void print_menu (void)
 Print Welcome Screen Menu subroutine.
int c_entry (void)
 c_entry: Main UART program body

Variables

__IO uint32_t tx_tail
__IO uint32_t rx_head
__IO uint32_t rx_tail
__IO uint8_t tx [UART_RING_BUFSIZE]
__IO uint8_t rx [UART_RING_BUFSIZE]

Function Documentation

int c_entry ( void   )

c_entry: Main UART program body

Parameters:
[in]None
Returns:
int

Definition at line 341 of file uart_interrupt_test.c.

void print_menu ( void   )

Print Welcome Screen Menu subroutine.

Print menu.

Parameters:
None
Returns:
None

Definition at line 114 of file adc_burst_test.c.

void UART0_IRQHandler ( void   )

UART0 interrupt handler sub-routine.

Parameters:
[in]None
Returns:
None
void UART_IntTransmit ( void   )

UART transmit function (ring buffer used)

Parameters:
[in]None
Returns:
None

Definition at line 160 of file uart_interrupt_test.c.


Variable Documentation

__IO uint8_t rx [inherited]

UART Rx data ring buffer

Definition at line 56 of file uart_interrupt_test.c.

__IO uint32_t rx_head [inherited]

UART Rx ring buffer head index

Definition at line 53 of file uart_interrupt_test.c.

__IO uint32_t rx_tail [inherited]

UART Rx ring buffer tail index

Definition at line 54 of file uart_interrupt_test.c.

__IO uint8_t tx [inherited]

UART Tx data ring buffer

Definition at line 55 of file uart_interrupt_test.c.

__IO uint32_t tx_tail [inherited]

UART Tx ring buffer tail index

Definition at line 52 of file uart_interrupt_test.c.