【CAN/LIN ARXML】P2 & P3 Communication

P2 DataTypeMappingSets

此Package主要导出ADT和IDT的Mapping关系。



ADT与IDT的Mapping关系,分别引用一个ADT和一个IDT。

P3 Communication

1 Frames

包含报文的定义,通过引用Pdu,Pdu又引用Signal,最终和Signal建立关联。

  • CAN-FRAME:CAN报文
    • SHORT-NAME:报文的名称
    • FRAME-LENGTH:报文的长度
    • PDU-TO-FRAME-MAPPINGS:引用的Pdu
      • PACKING-BYTE-ORDER:定义了Pdu字节和打包到报文中的顺序。
        • MOST-SIGNIFICANT-BYTE-FIRST:最高有效字节位于最低地址【BigEndian or  Motorola-Format】
        • MOST-SIGNIFICANT-BYTE-LAST:最高有效字节位于最高地址【LittleEndian or  Intel-Format】
        • OPAQUE:对于不透明的数据字节序转换必须配置为Opaque
      • PDU-REF:引用一个Pdu
      • START-POSITION:定义了Pdu在一个报文里的起始位位置。

Please note that the absolute position of the Pdu in the Frame is determined by the definition of the packingByteOrder attribute. If Big Endian is specified, the start position indicates the bit position of the most significant bit in the Frame. If Little Endian is specified, the start position indicates the bit position of the least significant bit in the Frame. The bit counting in byte 0 starts with bit 0 (least significant bit). The most significant bit in byte 0 is bit 7. The Pdus are byte aligned in a Frame and only the values 0, 8, 16, 24,... (for little endian) and 7, 15, 23, ... (for big endian) are allowed.

2 Signals

ISignal(ISignalGroup)代表交互层的SystemSignal(SystemSignalGroup)。

  • I-SIGNAL不是真正的Signal,而是Signal的接口,其中包含了大部分Signal的数据信息。
    • SHORT-NAME:ISignal的名称
    • DESC: 对ISignal的描述
    • DATA-TYPE-POLICY:给定数据类型的策略
      • legacy
      • network Representation FromComSpec
      • override
      • transformingISignal
    • INIT-VALUE:定义初始
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

咖啡不加糖的飞总

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值