35 #ifndef _DATASPEED_PDS_CAN_DISPATCH_H 36 #define _DATASPEED_PDS_CAN_DISPATCH_H 47 uint8_t inverter_request :1;
49 uint8_t inverter_status :1;
51 uint8_t inverter_overload :1;
53 uint8_t inverter_overtemp :1;
63 union {
struct {uint8_t status_01 :4; uint8_t status_02 :4;};
struct {uint8_t status_13 :4; uint8_t status_14 :4;}; };
64 union {
struct {uint8_t status_03 :4; uint8_t status_04 :4;};
struct {uint8_t status_15 :4; uint8_t status_16 :4;}; };
65 union {
struct {uint8_t status_05 :4; uint8_t status_06 :4;};
struct {uint8_t status_17 :4; uint8_t status_18 :4;}; };
66 union {
struct {uint8_t status_07 :4; uint8_t status_08 :4;};
struct {uint8_t status_19 :4; uint8_t status_20 :4;}; };
67 union {
struct {uint8_t status_09 :4; uint8_t status_10 :4;};
struct {uint8_t status_21 :4; uint8_t status_22 :4;}; };
68 union {
struct {uint8_t status_11 :4; uint8_t status_12 :4;};
struct {uint8_t status_23 :4; uint8_t status_24 :4;}; };
88 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; };
89 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; };
90 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; };
91 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; };
107 #define BUILD_ASSERT(cond) do { (void) sizeof(char [1 - 2*!(cond)]); } while(0) 150 #endif // _DATASPEED_PDS_CAN_DISPATCH_H
#define BUILD_ASSERT(cond)
static void dispatchAssertSizes()