![]() |
S32 SDK
|
#include "flexio_uart_driver.h"
#include "flexio_hw_access.h"
#include "flexio_common.h"
#include "clock_manager.h"
Go to the source code of this file.
Functions | |
status_t | FLEXIO_UART_DRV_Init (uint32_t instance, const flexio_uart_user_config_t *userConfigPtr, flexio_uart_state_t *state) |
Initialize the FLEXIO_UART driver. More... | |
status_t | FLEXIO_UART_DRV_Deinit (flexio_uart_state_t *state) |
De-initialize the FLEXIO_UART driver. More... | |
status_t | FLEXIO_UART_DRV_SetConfig (flexio_uart_state_t *state, uint32_t baudRate, uint8_t bitCount) |
Set the baud rate and bit width for any subsequent UART communication. More... | |
status_t | FLEXIO_UART_DRV_GetBaudRate (flexio_uart_state_t *state, uint32_t *baudRate) |
Get the currently configured baud rate. More... | |
status_t | FLEXIO_UART_DRV_SendData (flexio_uart_state_t *state, const uint8_t *txBuff, uint32_t txSize) |
Perform a non-blocking UART transmission. More... | |
status_t | FLEXIO_UART_DRV_SendDataBlocking (flexio_uart_state_t *state, const uint8_t *txBuff, uint32_t txSize, uint32_t timeout) |
Perform a blocking UART transmission. More... | |
status_t | FLEXIO_UART_DRV_ReceiveData (flexio_uart_state_t *state, uint8_t *rxBuff, uint32_t rxSize) |
Perform a non-blocking UART reception. More... | |
status_t | FLEXIO_UART_DRV_ReceiveDataBlocking (flexio_uart_state_t *state, uint8_t *rxBuff, uint32_t rxSize, uint32_t timeout) |
Perform a blocking UART reception. More... | |
status_t | FLEXIO_UART_DRV_TransferAbort (flexio_uart_state_t *state) |
Aborts a non-blocking UART transfer. More... | |
status_t | FLEXIO_UART_DRV_GetStatus (flexio_uart_state_t *state, uint32_t *bytesRemaining) |
Get the status of the current non-blocking UART transfer. More... | |
status_t | FLEXIO_UART_DRV_SetRxBuffer (flexio_uart_state_t *state, uint8_t *rxBuff, uint32_t rxSize) |
Provide a buffer for receiving data. More... | |
status_t | FLEXIO_UART_DRV_SetTxBuffer (flexio_uart_state_t *state, const uint8_t *txBuff, uint32_t txSize) |
Provide a buffer for transmitting data. More... | |