Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the source code of this file.
Functions | |
static void | uart_disable_interrupts (struct uart_periph *p) |
static void | uart_enable_interrupts (struct uart_periph *p) |
static void | uart_set_baudrate (struct uart_periph *p, uint32_t baud) |
void | uart_periph_set_baudrate (struct uart_periph *p, uint32_t baud) |
Set baudrate. More... | |
void | uart_periph_set_bits_stop_parity (struct uart_periph *p, uint8_t bits, uint8_t stop, uint8_t parity) |
Set parity and stop bits. More... | |
void | uart_put_byte (struct uart_periph *p, long fd, uint8_t data) |
Uart transmit implementation. More... | |
static void | uart_ISR (struct uart_periph *p) |
Handling of UART hardware for lpc21xx.
Definition in file uart_arch.c.
|
inlinestatic |
Definition at line 34 of file uart_arch.c.
References p.
Referenced by uart_periph_set_baudrate().
|
inlinestatic |
Definition at line 43 of file uart_arch.c.
References p, and UIER_ERBFI.
Referenced by uart_periph_set_baudrate().
|
inlinestatic |
Definition at line 114 of file uart_arch.c.
References p, UART_RX_BUFFER_SIZE, UART_TX_BUFFER_SIZE, UIIR_CTI_INT, UIIR_ID_MASK, UIIR_NO_INT, UIIR_RDA_INT, UIIR_RLS_INT, UIIR_THRE_INT, ULSR_RDR, and ULSR_THRE.
void uart_periph_set_baudrate | ( | struct uart_periph * | p, |
uint32_t | baud | ||
) |
Set baudrate.
Definition at line 70 of file uart_arch.c.
References p, uart_disable_interrupts(), uart_enable_interrupts(), and uart_set_baudrate().
void uart_periph_set_bits_stop_parity | ( | struct uart_periph * | p, |
uint8_t | bits, | ||
uint8_t | stop, | ||
uint8_t | parity | ||
) |
Set parity and stop bits.
Definition at line 77 of file uart_arch.c.
void uart_put_byte | ( | struct uart_periph * | p, |
long | fd, | ||
uint8_t | data | ||
) |
Uart transmit implementation.
Definition at line 83 of file uart_arch.c.
References disableIRQ(), p, restoreIRQ(), UART_TX_BUFFER_SIZE, and UIER_ETBEI.
|
inlinestatic |
Definition at line 49 of file uart_arch.c.
References p, PCLK, UART_8N1, UART_FIFO_8, and ULCR_DLAB_ENABLE.
Referenced by uart_periph_set_baudrate().