Test

C code posted by jm
created at 17 May 00:45, updated at 29 Jun 09:51

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*Second Safety Frame*/
typedef struct
{
    RTM_MsgCountType                            BrakeSysFeaturesRxCounter;
    union
    {
        struct
        {
            uint8                               Veh_V_ActlBrkLSB;         /* Vehicle Speed data LSB */
            uint8                               Veh_V_ActlBrkMSB;         /* Vehicle Speed data MSB */
            uint8                               Reserved1:2;
            uint8                               VehVActlBrk_No_Cnt :4; /* Vehicle Speed Counter */
            RTM_SCLSafetyABSVehSpdDQfType       VehVActlBrk_D_Qf :2;   /* Vehicle Speed Quality Factor */
            uint8                               VehVActlBrk_No_Cs;     /* Vehicle Speed Checksum */
            uint8                               Reserved2;
            uint8                               Reserved3;
            uint8                               Reserved4;
            uint8                               Reserved5;
        } StrMem;
        uint8 All[8];
    } BrakeSysFeaturesMsg;
} RTM_BrakeSysFeaturesType;
1.05 KB in 4 ms with coderay