|
brazos-trapezoidal
|
Custom library for UART in NEBO. More...
#include "CustomUart.h"
Go to the source code of this file.
Classes | |
| struct | usart_device_t |
Typedefs | |
| typedef struct usart_device_t * | usart_device_pt |
Functions | |
| uint16_t | customAddParity (usart_device_pt pUart, uint8_t data) |
| bool | customCheckParity (usart_device_pt pUart, uint16_t data) |
| uint32_t | customUart_initialize (UsartInstance_Enum e_uart, USART_SignalEvent_t cb_event, void **pp_uart) |
| uint32_t | customUart_getTxExpected (void *p_uart) |
| void | USART0_Exception_Handler (void) |
| void | USART1_Exception_Handler (void) |
Custom library for UART in NEBO.
Detailed description of the file contents
Definition in file CustomUart.c.
| uint16_t customAddParity | ( | usart_device_pt | pUart, |
| uint8_t | data | ||
| ) |
Definition at line 250 of file CustomUart.c.
| bool customCheckParity | ( | usart_device_pt | pUart, |
| uint16_t | data | ||
| ) |
This function checks if the received bit has the correct parity.
| pUart | USART which is currently receiving data |
| data | Data received out on USART, this has parity bit added if required. |
Definition at line 281 of file CustomUart.c.
| uint32_t customUart_getTxExpected | ( | void * | p_uart | ) |
External function, see drv_uart.h for functional description.
Definition at line 109 of file CustomUart.c.
| uint32_t customUart_initialize | ( | UsartInstance_Enum | e_uart, |
| USART_SignalEvent_t | cb_event, | ||
| void ** | pp_uart | ||
| ) |
External function, see drv_uart.h for functional description.
Definition at line 66 of file CustomUart.c.

| void USART0_Exception_Handler | ( | void | ) |
Definition at line 130 of file CustomUart.c.
| void USART1_Exception_Handler | ( | void | ) |
Definition at line 245 of file CustomUart.c.