PDL for FM4  Version1.2
Peripheral Driverl Library for FM4
stc_mfs_hl_lin_config Struct Reference

MFS_HL LIN configuration. More...

#include <mfs_hl.h>

Data Fields

uint32_t u32DataRate
 Baud rate (bps) More...
 
boolean_t bExtWakeUp
 TRUE: Sets external wake-up function. More...
 
boolean_t bLinBreakIrqEnable
 TRUE: Enable LIN break receptioninterrupt. More...
 
uint8_t * pu8TxBuf
 Data store for transmit buffer. More...
 
uint8_t * pu8RxBuf
 Char store for receive buffer. More...
 
uint16_t u16TxBufSize
 Size of transmit fifo buffer. More...
 
uint16_t u16RxBufSize
 Size of receive fifo buffer. More...
 
uint8_t u8LinMode
 LIN mode, see en_mfs_lin_mode_t (mfs.h) for details. More...
 
uint8_t u8StopBits
 Stop bits length, see description of en_mfs_stopbit_t on mfs.h. More...
 
uint8_t u8BreakLength
 Break length, see description of en_mfs_lin_break_length_t on mfs.h. Only applicable in LIN master mode. More...
 
uint8_t u8DelimiterLength
 Delimiter length, see description of en_mfs_lin_delimiter_length_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 full. More...
 
mfs_hl_tx_cb_func_ptr_t pfnTxCb
 Callback function, if TX Buffer is empty. More...
 
mfs_hl_lin_brk_func_ptr_t pfnLinBrkCb
 Callback function, if LIN break was detected. More...
 

Detailed Description

MFS_HL LIN configuration.

Contains all parameter for configuratin a MFS channel, if set to LIN mode. This configuration was rolled-out from stc_mfs_hl_lin_config_t to save RAM memory since LIN is a special mode. Only use functions with prefix 'Mfs_Hl_Lin_'!

Definition at line 388 of file mfs_hl.h.

Field Documentation

boolean_t bExtWakeUp

TRUE: Sets external wake-up function.

Definition at line 391 of file mfs_hl.h.

boolean_t bLinBreakIrqEnable

TRUE: Enable LIN break receptioninterrupt.

Definition at line 392 of file mfs_hl.h.

Referenced by Mfs_Hl_Lin_Init().

Callback function, if LIN break was detected.

Definition at line 404 of file mfs_hl.h.

Referenced by Mfs_Hl_Lin_Init().

Callback function, if RX Buffer is full.

Definition at line 402 of file mfs_hl.h.

Referenced by Mfs_Hl_Lin_Init().

Callback function, if TX Buffer is empty.

Definition at line 403 of file mfs_hl.h.

Referenced by Mfs_Hl_Lin_Init().

uint8_t* pu8RxBuf

Char store for receive buffer.

Definition at line 394 of file mfs_hl.h.

Referenced by Mfs_Hl_Lin_Init().

uint8_t* pu8TxBuf

Data store for transmit buffer.

Definition at line 393 of file mfs_hl.h.

Referenced by Mfs_Hl_Lin_Init().

uint16_t u16RxBufSize

Size of receive fifo buffer.

Definition at line 396 of file mfs_hl.h.

Referenced by Mfs_Hl_Lin_Init().

uint16_t u16TxBufSize

Size of transmit fifo buffer.

Definition at line 395 of file mfs_hl.h.

Referenced by Mfs_Hl_Lin_Init().

uint32_t u32DataRate

Baud rate (bps)

Definition at line 390 of file mfs_hl.h.

Referenced by Mfs_Hl_Lin_Init().

uint8_t u8BreakLength

Break length, see description of en_mfs_lin_break_length_t on mfs.h. Only applicable in LIN master mode.

Definition at line 399 of file mfs_hl.h.

Referenced by Mfs_Hl_Lin_Init().

uint8_t u8DelimiterLength

Delimiter length, see description of en_mfs_lin_delimiter_length_t on mfs.h.

Definition at line 400 of file mfs_hl.h.

Referenced by Mfs_Hl_Lin_Init().

uint8_t u8FifoUsage

Usage of MFS FIFO, see description of en_mfs_hl_fifo_usage_t.

Definition at line 401 of file mfs_hl.h.

Referenced by Mfs_Hl_Lin_Init().

uint8_t u8LinMode

LIN mode, see en_mfs_lin_mode_t (mfs.h) for details.

Definition at line 397 of file mfs_hl.h.

Referenced by Mfs_Hl_Lin_Init().

uint8_t u8StopBits

Stop bits length, see description of en_mfs_stopbit_t on mfs.h.

Definition at line 398 of file mfs_hl.h.

Referenced by Mfs_Hl_Lin_Init().


The documentation for this struct was generated from the following file: