Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
_uart_handle Struct Reference
[Uart_driver]
UART handle structure. More...
#include <fsl_uart.h>
Data Fields | |
| uint8_t *volatile | txData |
| volatile size_t | txDataSize |
| size_t | txDataSizeAll |
| uint8_t *volatile | rxData |
| volatile size_t | rxDataSize |
| size_t | rxDataSizeAll |
| uint8_t * | rxRingBuffer |
| size_t | rxRingBufferSize |
| volatile uint16_t | rxRingBufferHead |
| volatile uint16_t | rxRingBufferTail |
| uart_transfer_callback_t | callback |
| void * | userData |
| volatile uint8_t | txState |
| volatile uint8_t | rxState |
Detailed Description
UART handle structure.
Definition at line 185 of file fsl_uart.h.
Field Documentation
Callback function.
Definition at line 199 of file fsl_uart.h.
| uint8_t* volatile rxData |
Address of remaining data to receive.
Definition at line 190 of file fsl_uart.h.
| volatile size_t rxDataSize |
Size of the remaining data to receive.
Definition at line 191 of file fsl_uart.h.
| size_t rxDataSizeAll |
Size of the data to receive.
Definition at line 192 of file fsl_uart.h.
| uint8_t* rxRingBuffer |
Start address of the receiver ring buffer.
Definition at line 194 of file fsl_uart.h.
| volatile uint16_t rxRingBufferHead |
Index for the driver to store received data into ring buffer.
Definition at line 196 of file fsl_uart.h.
| size_t rxRingBufferSize |
Size of the ring buffer.
Definition at line 195 of file fsl_uart.h.
| volatile uint16_t rxRingBufferTail |
Index for the user to get data from the ring buffer.
Definition at line 197 of file fsl_uart.h.
| volatile uint8_t rxState |
RX transfer state
Definition at line 203 of file fsl_uart.h.
| uint8_t* volatile txData |
Address of remaining data to send.
Definition at line 187 of file fsl_uart.h.
| volatile size_t txDataSize |
Size of the remaining data to send.
Definition at line 188 of file fsl_uart.h.
| size_t txDataSizeAll |
Size of the data to send out.
Definition at line 189 of file fsl_uart.h.
| volatile uint8_t txState |
TX transfer state.
Definition at line 202 of file fsl_uart.h.
| void* userData |
UART callback function parameter.
Definition at line 200 of file fsl_uart.h.
Generated on Tue Jul 12 2022 15:37:36 by
1.7.2