-bit_order


< Compile Options / Microcontroller Options >

[Format]

-bit_order = { left | right }

 

-

[Default]

The default for this option is bit_order=right.

[Description]

-

This option specifies the order of bit-field members.

-

When bit_order=left is specified, members are allocated from the upper bit.

-

When bit_order=right is specified, members are allocated from the lower bit.

-

The order of bit-field members can also be specified by the #pragma bit_order extension. If both this option and a #pragma extension are specified, the #pragma specification takes priority.