21#ifndef __xwcd_ds_lin_controller_h__
22#define __xwcd_ds_lin_controller_h__
35#define XWDS_LIN_DIAG_MSTREQ_MSG 0x3C
36#define XWDS_LIN_DIAG_SLCREP_MSG 0x3D
37#define XWDS_LIN_DEFAULT_DATA_SIZE 8
void xwds_linc_destruct(struct xwds_linc *linc)
XWDS API:LIN控制器对象的析构函数
xwer_t xwds_linc_get_msg_size(struct xwds_linc *linc, xwu8_t protected_id, xwu8_t *ret)
XWDS API:通过LIN保护ID查询消息大小
void xwds_linc_construct(struct xwds_linc *linc)
XWDS API:LIN控制器的构造函数
xwer_t xwds_linc_grab(struct xwds_linc *linc)
XWDS API:增加对象的引用计数
xwds_lin_chksum_type_em
LIN协议类型
xwer_t xwds_linc_rx(struct xwds_linc *linc, struct xwds_lin_msg *msgbuf, xwtm_t to)
XWDS API:接收一条LIN消息
xwer_t xwds_linc_slvtx(struct xwds_linc *linc, struct xwds_lin_msg *msg, xwtm_t to)
XWDS API:从机节点发送一条LIN消息
xwds_lin_mode_em
LIN接口模式枚举
#define XWDS_LIN_DEFAULT_DATA_SIZE
xwer_t xwds_linc_put(struct xwds_linc *linc)
XWDS API:减少对象的引用计数
xwer_t xwds_linc_msttx(struct xwds_linc *linc, xwu8_t id, struct xwds_lin_msg *msg, xwtm_t to)
XWDS API:主机节点发送一条LIN消息
@ XWDS_LIN_CHKSUM_ENHANCED
@ XWDS_LIN_CHKSUM_CLASSIC
xws64_t xwtm_t
XWOS系统时间 (有符号)
struct xwds_lin_cfg::@21::@22 bit
union xwds_lin_cfg::@21 attr
xwer_t(* msttx)(struct xwds_linc *, xwu8_t, struct xwds_lin_msg *, xwtm_t)
xwer_t(* rx)(struct xwds_linc *, struct xwds_lin_msg *, xwtm_t)
xwer_t(* slvtx)(struct xwds_linc *, struct xwds_lin_msg *, xwtm_t)
const struct xwds_lin_cfg * cfg
xwer_t(* get_msg_size)(struct xwds_linc *, xwu8_t, xwu8_t *)
const struct xwds_lin_msg_info * msgitable