![]() |
PDL for FM4
Version1.2
Peripheral Driverl Library for FM4
|
MFS_HL UART configuration. More...
#include <mfs_hl.h>
Data Fields | |
| uint32_t | u32DataRate |
| Bits per second. More... | |
| boolean_t | bBitDirection |
| TRUE: MSB first, FALSE: LSB first. More... | |
| boolean_t | bSignalSystem |
| TRUE: Inverted NRZ, FALSE: NRZ. More... | |
| boolean_t | bHwFlow |
| TRUE: Use Hardware Flow. More... | |
| uint8_t * | pu8TxBuf |
| Pointer to tranasmit FIFO buffer. More... | |
| uint8_t * | pu8RxBuf |
| Pointer to receive FIFO buffer. More... | |
| uint16_t | u16TxBufSize |
| Size of transmit FIFO buffer. More... | |
| uint16_t | u16RxBufSize |
| Size of receive FIFO buffer. More... | |
| uint16_t | u16RxCbBufFillLvl |
| Unread counts of data buffer to call RX Callback function. More... | |
| uint8_t | u8UartMode |
| Uart mode, see description of en_mfs_uart_mode_t on mfs.h. More... | |
| uint8_t | u8Parity |
| Parity, see description of en_mfs_parity_t on mfs.h. More... | |
| uint8_t | u8StopBit |
| Stop bit, see description of en_mfs_stopbit_t on mfs.h. More... | |
| uint8_t | u8CharLength |
| 5..9 Bit Character Length, see description of en_mfs_characterlength_t on mfs.h More... | |
| uint8_t | u8FifoUsage |
| Usage of MFS FIFO, see description of en_mfs_hl_fifo_usage_t. More... | |
| mfs_hl_rx_cb_func_ptr_t | pfnRxCb |
| Callback function, if RX Buffer is filled more than u16RxCbBufFillLvl. More... | |
| mfs_hl_tx_cb_func_ptr_t | pfnTxCb |
| Callback function, if TX Buffer is empty. More... | |
MFS_HL UART configuration.
Contains all parameter for configuratin a MFS channel, if set to UART mode.
| boolean_t bBitDirection |
TRUE: MSB first, FALSE: LSB first.
Definition at line 286 of file mfs_hl.h.
Referenced by Mfs_Hl_Uart_Init().
| boolean_t bHwFlow |
| boolean_t bSignalSystem |
TRUE: Inverted NRZ, FALSE: NRZ.
Definition at line 287 of file mfs_hl.h.
Referenced by Mfs_Hl_Uart_Init().
| mfs_hl_rx_cb_func_ptr_t pfnRxCb |
Callback function, if RX Buffer is filled more than u16RxCbBufFillLvl.
Definition at line 299 of file mfs_hl.h.
Referenced by Mfs_Hl_Uart_Init().
| mfs_hl_tx_cb_func_ptr_t pfnTxCb |
Callback function, if TX Buffer is empty.
Definition at line 300 of file mfs_hl.h.
Referenced by Mfs_Hl_Uart_Init().
| uint8_t* pu8RxBuf |
Pointer to receive FIFO buffer.
Definition at line 290 of file mfs_hl.h.
Referenced by Mfs_Hl_Uart_Init().
| uint8_t* pu8TxBuf |
Pointer to tranasmit FIFO buffer.
Definition at line 289 of file mfs_hl.h.
Referenced by Mfs_Hl_Uart_Init().
| uint16_t u16RxBufSize |
Size of receive FIFO buffer.
Definition at line 292 of file mfs_hl.h.
Referenced by Mfs_Hl_Uart_Init().
| uint16_t u16RxCbBufFillLvl |
Unread counts of data buffer to call RX Callback function.
Definition at line 293 of file mfs_hl.h.
Referenced by Mfs_Hl_Uart_Init().
| uint16_t u16TxBufSize |
Size of transmit FIFO buffer.
Definition at line 291 of file mfs_hl.h.
Referenced by Mfs_Hl_Uart_Init().
| uint32_t u32DataRate |
| uint8_t u8CharLength |
5..9 Bit Character Length, see description of en_mfs_characterlength_t on mfs.h
Definition at line 297 of file mfs_hl.h.
Referenced by Mfs_Hl_Uart_Init().
| uint8_t u8FifoUsage |
Usage of MFS FIFO, see description of en_mfs_hl_fifo_usage_t.
Definition at line 298 of file mfs_hl.h.
Referenced by Mfs_Hl_Uart_Init().
| uint8_t u8Parity |
Parity, see description of en_mfs_parity_t on mfs.h.
Definition at line 295 of file mfs_hl.h.
Referenced by Mfs_Hl_Uart_Init().
| uint8_t u8StopBit |
Stop bit, see description of en_mfs_stopbit_t on mfs.h.
Definition at line 296 of file mfs_hl.h.
Referenced by Mfs_Hl_Uart_Init().
| uint8_t u8UartMode |
Uart mode, see description of en_mfs_uart_mode_t on mfs.h.
Definition at line 294 of file mfs_hl.h.
Referenced by Mfs_Hl_Uart_Init().