|
rusEFI
The most advanced open source ECU
|
Data Structures | |
| struct | _lpuart_edma_handle |
| LPUART eDMA handle. More... | |
Typedefs | |
Driver version | |
| typedef struct _lpuart_edma_handle | lpuart_edma_handle_t |
| typedef void(* | lpuart_edma_transfer_callback_t) (LPUART_Type *base, lpuart_edma_handle_t *handle, status_t status, void *userData) |
| LPUART transfer callback function. | |
Functions | |
eDMA transactional | |
| void | LPUART_TransferCreateHandleEDMA (LPUART_Type *base, lpuart_edma_handle_t *handle, lpuart_edma_transfer_callback_t callback, void *userData, edma_handle_t *txEdmaHandle, edma_handle_t *rxEdmaHandle) |
| Initializes the LPUART handle which is used in transactional functions. | |
| status_t | LPUART_SendEDMA (LPUART_Type *base, lpuart_edma_handle_t *handle, lpuart_transfer_t *xfer) |
| Sends data using eDMA. | |
| status_t | LPUART_ReceiveEDMA (LPUART_Type *base, lpuart_edma_handle_t *handle, lpuart_transfer_t *xfer) |
| Receives data using eDMA. | |
| void | LPUART_TransferAbortSendEDMA (LPUART_Type *base, lpuart_edma_handle_t *handle) |
| Aborts the sent data using eDMA. | |
| void | LPUART_TransferAbortReceiveEDMA (LPUART_Type *base, lpuart_edma_handle_t *handle) |
| Aborts the received data using eDMA. | |
| status_t | LPUART_TransferGetSendCountEDMA (LPUART_Type *base, lpuart_edma_handle_t *handle, uint32_t *count) |
| Gets the number of bytes written to the LPUART TX register. | |
| status_t | LPUART_TransferGetReceiveCountEDMA (LPUART_Type *base, lpuart_edma_handle_t *handle, uint32_t *count) |
| Gets the number of received bytes. | |