HPM SDK
HPMicro Software Development Kit
lin_trans_config_t Struct Reference

LIN config. More...

#include <hpm_lin_drv.h>

Data Fields

uint8_t id
 
uint8_t * data_buff
 
bool data_length_from_id
 
uint8_t data_length
 
bool enhanced_checksum
 
bool transmit
 

Detailed Description

LIN config.

Field Documentation

◆ data_buff

uint8_t * lin_trans_config_t::data_buff

data buff

◆ data_length

uint8_t lin_trans_config_t::data_length

used when data_length_from_id is false

used when data_length_from_id is false or dma mode

◆ data_length_from_id

bool lin_trans_config_t::data_length_from_id

data length should be decoded from the identifier or not)

data length should be decoded from the identifier or not, dma mode not use this config

◆ enhanced_checksum

bool lin_trans_config_t::enhanced_checksum

true for enhanced checksum; false for classic checksum

◆ id

uint8_t lin_trans_config_t::id

ID

◆ transmit

bool lin_trans_config_t::transmit

true for transmit operation; false for receive operation


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