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

MFS_HL CSIO configuration. More...

#include <mfs_hl.h>

Collaboration diagram for stc_mfs_hl_csio_config:

Data Fields

uint32_t u32DataRate
 Baud rate (bps) More...
 
boolean_t bBitDirection
 TRUE: MSB first, FALSE: LSB first. More...
 
boolean_t bSignalSystem
 TRUE: SCK Mark Level Low, FALSE: SCK Mark Level High. More...
 
stc_mfs_hl_spi_config_t * pstcMfsSpiCsConfig
 See description of stc_mfs_hl_spi_config_t. Only applicable when u8CsioActMode is MfsCsioActSpiMode. More...
 
stc_mfs_hl_timer_config_t * pstcMfsTimerConfig
 See description of stc_mfs_hl_timer_config_t. Only applicable when u8CsioMode is MfsCsioMaster. 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...
 
uint16_t u16RxCbBufFillLvl
 Unread counts of data buffer to call RX Callback function. More...
 
uint8_t u8CsioMode
 CSIO mode, see description of en_mfs_csio_mode_t on mfs.h. More...
 
uint8_t u8CsioActMode
 CSIO active mode, see description of en_mfs_csio_act_mode_t on mfs.h. More...
 
uint8_t u8SyncWaitTime
 Sync wait time insersion, see description of en_mfs_csio_sync_wait_time_t on mfs.h. More...
 
uint8_t u8CharLength
 5..32 Bit Character Length, see description of en_mfs_characterlength_t 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 specified bytes of u16RxCbBufFillLvl. More...
 
mfs_hl_tx_cb_func_ptr_t pfnTxCb
 Callback function, if TX Buffer is empty. More...
 

Detailed Description

MFS_HL CSIO configuration.

Contains all parameter for configuratin a MFS channel, if set to CSIO mode.

Definition at line 340 of file mfs_hl.h.

Field Documentation

boolean_t bBitDirection

TRUE: MSB first, FALSE: LSB first.

Definition at line 343 of file mfs_hl.h.

Referenced by Mfs_Hl_Csio_Init().

boolean_t bSignalSystem

TRUE: SCK Mark Level Low, FALSE: SCK Mark Level High.

Definition at line 344 of file mfs_hl.h.

Referenced by Mfs_Hl_Csio_Init().

Callback function, if RX Buffer is filled specified bytes of u16RxCbBufFillLvl.

Definition at line 357 of file mfs_hl.h.

Referenced by Mfs_Hl_Csio_Init().

Callback function, if TX Buffer is empty.

Definition at line 358 of file mfs_hl.h.

Referenced by Mfs_Hl_Csio_Init().

stc_mfs_hl_spi_config_t* pstcMfsSpiCsConfig

See description of stc_mfs_hl_spi_config_t. Only applicable when u8CsioActMode is MfsCsioActSpiMode.

Definition at line 345 of file mfs_hl.h.

Referenced by Mfs_Hl_Csio_Init().

stc_mfs_hl_timer_config_t* pstcMfsTimerConfig

See description of stc_mfs_hl_timer_config_t. Only applicable when u8CsioMode is MfsCsioMaster.

Definition at line 346 of file mfs_hl.h.

Referenced by Mfs_Hl_Csio_Init().

uint8_t* pu8RxBuf

Char store for receive buffer.

Definition at line 348 of file mfs_hl.h.

Referenced by Mfs_Hl_Csio_Init().

uint8_t* pu8TxBuf

Data store for transmit buffer.

Definition at line 347 of file mfs_hl.h.

Referenced by Mfs_Hl_Csio_Init().

uint16_t u16RxBufSize

Size of receive fifo buffer.

Definition at line 350 of file mfs_hl.h.

Referenced by Mfs_Hl_Csio_Init().

uint16_t u16RxCbBufFillLvl

Unread counts of data buffer to call RX Callback function.

Definition at line 351 of file mfs_hl.h.

Referenced by Mfs_Hl_Csio_Init().

uint16_t u16TxBufSize

Size of transmit fifo buffer.

Definition at line 349 of file mfs_hl.h.

Referenced by Mfs_Hl_Csio_Init().

uint32_t u32DataRate

Baud rate (bps)

Definition at line 342 of file mfs_hl.h.

Referenced by Mfs_Hl_Csio_Init().

uint8_t u8CharLength

5..32 Bit Character Length, see description of en_mfs_characterlength_t

Definition at line 355 of file mfs_hl.h.

Referenced by Mfs_Hl_Csio_Init().

uint8_t u8CsioActMode

CSIO active mode, see description of en_mfs_csio_act_mode_t on mfs.h.

Definition at line 353 of file mfs_hl.h.

Referenced by Mfs_Hl_Csio_Init().

uint8_t u8CsioMode

CSIO mode, see description of en_mfs_csio_mode_t on mfs.h.

Definition at line 352 of file mfs_hl.h.

Referenced by Mfs_Hl_Csio_Init().

uint8_t u8FifoUsage

Usage of MFS FIFO, see description of en_mfs_hl_fifo_usage_t.

Definition at line 356 of file mfs_hl.h.

Referenced by Mfs_Hl_Csio_Init().

uint8_t u8SyncWaitTime

Sync wait time insersion, see description of en_mfs_csio_sync_wait_time_t on mfs.h.

Definition at line 354 of file mfs_hl.h.

Referenced by Mfs_Hl_Csio_Init().


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