35 #ifndef _DATASPEED_PDS_CAN_DISPATCH_H
36 #define _DATASPEED_PDS_CAN_DISPATCH_H
54 uint8_t inverter_request :1;
56 uint8_t inverter_status :1;
58 uint8_t inverter_overload :1;
60 uint8_t inverter_overtemp :1;
70 union {
struct {uint8_t status_01 :4; uint8_t status_02 :4;};
struct {uint8_t status_13 :4; uint8_t status_14 :4;}; };
71 union {
struct {uint8_t status_03 :4; uint8_t status_04 :4;};
struct {uint8_t status_15 :4; uint8_t status_16 :4;}; };
72 union {
struct {uint8_t status_05 :4; uint8_t status_06 :4;};
struct {uint8_t status_17 :4; uint8_t status_18 :4;}; };
73 union {
struct {uint8_t status_07 :4; uint8_t status_08 :4;};
struct {uint8_t status_19 :4; uint8_t status_20 :4;}; };
74 union {
struct {uint8_t status_09 :4; uint8_t status_10 :4;};
struct {uint8_t status_21 :4; uint8_t status_22 :4;}; };
75 union {
struct {uint8_t status_11 :4; uint8_t status_12 :4;};
struct {uint8_t status_23 :4; uint8_t status_24 :4;}; };
85 int8_t thermocouple_temp;
95 union { int16_t current_01; int16_t current_05; int16_t current_09; int16_t current_13; int16_t current_17; int16_t current_21; };
96 union { int16_t current_02; int16_t current_06; int16_t current_10; int16_t current_14; int16_t current_18; int16_t current_22; };
97 union { int16_t current_03; int16_t current_07; int16_t current_11; int16_t current_15; int16_t current_19; int16_t current_23; };
98 union { int16_t current_04; int16_t current_08; int16_t current_12; int16_t current_16; int16_t current_20; int16_t current_24; };
114 #define BUILD_ASSERT(cond) do { (void) sizeof(char [1 - 2*!(cond)]); } while(0)
157 #endif // _DATASPEED_PDS_CAN_DISPATCH_H