SemiDrive SSDK Appication Program Interface PTG3.0
Data Fields
sdrv_lin_config

#include <sdrv_lin.h>

Data Fields

uint32_t base
 
int irq
 
uint32_t baud
 
uint32_t clk_freq
 
lin_mode_e mode
 
lin_cs_mode_e checksum
 
uint8_t abr_en
 
sdrv_abr_max_e match_num
 
bool transfer_timeout
 
uint8_t timeout_value
 
bool mainfunction_polling
 
uint32_t period_ms
 

Field Documentation

◆ abr_en

uint8_t abr_en

Auto baudrate detect enable/disable.

◆ base

uint32_t base

Lin module base.

◆ baud

uint32_t baud

Lin transfer baudrate.

◆ checksum

lin_cs_mode_e checksum

Lin transfer checksum type.

◆ clk_freq

uint32_t clk_freq

Lin module clock frequency.

◆ irq

int irq

Lin module irq number.

◆ mainfunction_polling

bool mainfunction_polling

Use mainfunction polling mode or not.

◆ match_num

sdrv_abr_max_e match_num

The character number that abr expect to recv and match

◆ mode

lin_mode_e mode

Lin module mode.

◆ period_ms

uint32_t period_ms

The period(ms) of calling module's callback function.

◆ timeout_value

uint8_t timeout_value

Timeout value configuration.

◆ transfer_timeout

bool transfer_timeout

Enable/Disable auto detect transfer timeout or not.


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