Q1.you can take a look at the S32-RM Chapter 55.4.3 Message buffer structure-
>CODE->Message Buffer Code,
Both receiving and sending will query and update the CODE area.
Q2.You mean to parse a frame of data, which can be achieved by a shift operation, for example:
bit1~3 = (recvBuff.data[0] >> 1) & 0x07;;
I'm confused about one more thing, For example, I have a 64-bit length message with a single ID. how can I get bit 4.(starter bit),(length 4 bit), and bit (starter bit)50.(length 4 bit)?
Q1.you can take a look at the S32-RM Chapter 55.4.3 Message buffer structure-
>CODE->Message Buffer Code,
Both receiving and sending will query and update the CODE area.
Q2.You mean to parse a frame of data, which can be achieved by a shift operation, for example:
bit1~3 = (recvBuff.data[0] >> 1) & 0x07;;