|
SemiDrive SSDK Appication Program Interface PTG3.0
|
#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 |
| uint8_t abr_en |
Auto baudrate detect enable/disable.
| uint32_t base |
Lin module base.
| uint32_t baud |
Lin transfer baudrate.
| lin_cs_mode_e checksum |
Lin transfer checksum type.
| uint32_t clk_freq |
Lin module clock frequency.
| int irq |
Lin module irq number.
| bool mainfunction_polling |
Use mainfunction polling mode or not.
| sdrv_abr_max_e match_num |
The character number that abr expect to recv and match
| lin_mode_e mode |
Lin module mode.
| uint32_t period_ms |
The period(ms) of calling module's callback function.
| uint8_t timeout_value |
Timeout value configuration.
| bool transfer_timeout |
Enable/Disable auto detect transfer timeout or not.