Rename channel ports to their actual channel names

This commit is contained in:
2024-09-03 17:56:59 +02:00
parent 061cdde78d
commit bedc8a2eb7
2 changed files with 17 additions and 16 deletions

View File

@ -13,27 +13,27 @@
typedef union {
struct {
uint8_t NC : 1;
uint8_t en13 : 1; // inverters
uint8_t en2 : 1; //servos regler
uint8_t en1 : 1; //acu
uint8_t en4 : 1; // reserved
uint8_t en11 : 1; //lidar
uint8_t en8 : 1; // sdc
uint8_t alwayson : 1; // en7 ist always on
uint8_t inverter : 1;
uint8_t drs_buck : 1;
uint8_t acu : 1;
uint8_t reserved : 1;
uint8_t lidar : 1;
uint8_t sdc : 1;
uint8_t alwayson : 1;
};
uint8_t porta;
} gpio_port_a;
typedef union {
struct {
uint8_t en15: 1; // epsc
uint8_t en12 : 1; // hyd aggregat
uint8_t epsc: 1;
uint8_t hyd_pump : 1;
uint8_t NC : 1;
uint8_t en3 : 1; // ebs cs valve
uint8_t en6 : 1; // ebs valve b
uint8_t en5 : 1; //ebs valve a
uint8_t en14 : 1; //servos
uint8_t en16 : 1; //misc
uint8_t ebs_cs : 1;
uint8_t ebs_b : 1;
uint8_t ebs_a : 1;
uint8_t drs_profet : 1;
uint8_t misc : 1;
};
uint8_t portb;
} gpio_port_b;