Have an issue with reading from union of bitfield structures. The compilation of the program is successful, however the execution interrupts and ends up in the default interrupt handler, which by default is an endless loop. Could this be a compiler issue?
To pars binary information I created a series of bitfield structurestypedef struct PD_SOURCE_PDO_CAPABILITY { uint32_t MAX_CURRENT_UNITS : 10; uint32_t VOLTAGE_UNITS : 10; uint32_t PEAK_CURRENT : 2; uint32_t RESERVED_BITS22_23 : 2; ...