|
| status_t | LPUART_ClearStatusFlags (LPUART_Type *base, uint32_t mask) |
| | Clears status flags with a provided mask. More...
|
| |
| void | LPUART_Deinit (LPUART_Type *base) |
| | Deinitializes a LPUART instance. More...
|
| |
| void | LPUART_DisableInterrupts (LPUART_Type *base, uint32_t mask) |
| | Disables LPUART interrupts according to a provided mask. More...
|
| |
| void | LPUART_EnableInterrupts (LPUART_Type *base, uint32_t mask) |
| | Enables LPUART interrupts according to a provided mask. More...
|
| |
| void | LPUART_GetDefaultConfig (lpuart_config_t *config) |
| | Gets the default configuration structure. More...
|
| |
| uint32_t | LPUART_GetEnabledInterrupts (LPUART_Type *base) |
| | Gets enabled LPUART interrupts. More...
|
| |
| uint32_t | LPUART_GetInstance (LPUART_Type *base) |
| | Get the LPUART instance from peripheral base address. More...
|
| |
| uint32_t | LPUART_GetStatusFlags (LPUART_Type *base) |
| | Gets LPUART status flags. More...
|
| |
| status_t | LPUART_Init (LPUART_Type *base, const lpuart_config_t *config, uint32_t srcClock_Hz) |
| | Initializes an LPUART instance with the user configuration structure and the peripheral clock. More...
|
| |
| status_t | LPUART_ReadBlocking (LPUART_Type *base, uint8_t *data, size_t length) |
| | Reads the receiver data register using a blocking method. More...
|
| |
| static void | LPUART_ReadNonBlocking (LPUART_Type *base, uint8_t *data, size_t length) |
| | Read RX register using non-blocking method. More...
|
| |
| status_t | LPUART_SetBaudRate (LPUART_Type *base, uint32_t baudRate_Bps, uint32_t srcClock_Hz) |
| | Sets the LPUART instance baudrate. More...
|
| |
| void | LPUART_TransferAbortReceive (LPUART_Type *base, lpuart_handle_t *handle) |
| | Aborts the interrupt-driven data receiving. More...
|
| |
| void | LPUART_TransferAbortSend (LPUART_Type *base, lpuart_handle_t *handle) |
| | Aborts the interrupt-driven data transmit. More...
|
| |
| void | LPUART_TransferCreateHandle (LPUART_Type *base, lpuart_handle_t *handle, lpuart_transfer_callback_t callback, void *userData) |
| | Initializes the LPUART handle. More...
|
| |
| status_t | LPUART_TransferGetReceiveCount (LPUART_Type *base, lpuart_handle_t *handle, uint32_t *count) |
| | Gets the number of bytes that have been received. More...
|
| |
| size_t | LPUART_TransferGetRxRingBufferLength (LPUART_Type *base, lpuart_handle_t *handle) |
| | Get the length of received data in RX ring buffer. More...
|
| |
| status_t | LPUART_TransferGetSendCount (LPUART_Type *base, lpuart_handle_t *handle, uint32_t *count) |
| | Gets the number of bytes that have been sent out to bus. More...
|
| |
| void | LPUART_TransferHandleErrorIRQ (LPUART_Type *base, lpuart_handle_t *handle) |
| | LPUART Error IRQ handle function. More...
|
| |
| void | LPUART_TransferHandleIRQ (LPUART_Type *base, lpuart_handle_t *handle) |
| | LPUART IRQ handle function. More...
|
| |
| static bool | LPUART_TransferIsRxRingBufferFull (LPUART_Type *base, lpuart_handle_t *handle) |
| | Check whether the RX ring buffer is full. More...
|
| |
| status_t | LPUART_TransferReceiveNonBlocking (LPUART_Type *base, lpuart_handle_t *handle, lpuart_transfer_t *xfer, size_t *receivedBytes) |
| | Receives a buffer of data using the interrupt method. More...
|
| |
| status_t | LPUART_TransferSendNonBlocking (LPUART_Type *base, lpuart_handle_t *handle, lpuart_transfer_t *xfer) |
| | Transmits a buffer of data using the interrupt method. More...
|
| |
| void | LPUART_TransferStartRingBuffer (LPUART_Type *base, lpuart_handle_t *handle, uint8_t *ringBuffer, size_t ringBufferSize) |
| | Sets up the RX ring buffer. More...
|
| |
| void | LPUART_TransferStopRingBuffer (LPUART_Type *base, lpuart_handle_t *handle) |
| | Aborts the background transfer and uninstalls the ring buffer. More...
|
| |
| status_t | LPUART_WriteBlocking (LPUART_Type *base, const uint8_t *data, size_t length) |
| | Writes to the transmitter register using a blocking method. More...
|
| |
| static void | LPUART_WriteNonBlocking (LPUART_Type *base, const uint8_t *data, size_t length) |
| | Write to TX register using non-blocking method. More...
|
| |