avoid UB in C specs from assuming union-struct memory transparency
attempt to show the controller flags in the correct endian