|
brazos-trapezoidal
|
Header file for CustomUart.c. More...
#include "hw_drv_uart.h"#include "drv_uart.h"

Go to the source code of this file.
Functions | |
| uint32_t | customUart_initialize (UsartInstance_Enum e_uart, USART_SignalEvent_t cb_event, void **pp_uart) |
| uint32_t | customUart_getTxExpected (void *p_uart) |
Header file for CustomUart.c.
Definition in file CustomUart.h.
| uint32_t customUart_getTxExpected | ( | void * | p_uart | ) |
This function returns the number of characters requested to send out on the USART.
| p_uart | The USART on which the transmission is happening. |
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 | ||
| ) |
This function initializes the USART driver with the default values. In the default settings, USART interrupt is enable at NVIC level. the user does not need to enable it in the application. USART transmit is enabled by default and blocking function is enabled. The default behaviour of a send and receive is a blocking transmission and reception.
| e_uart | The USART to be used, USART0 or USART1. |
| cb_event | The callback function to be invoked by the driver. |
| pp_uart | The USART device pointer |
External function, see drv_uart.h for functional description.
Definition at line 66 of file CustomUart.c.
