Keil™, An ARM® Company

CARM User's Guide

Discontinued

Bit Fields

The Keil CARM Compiler allows you to use any integer data type as a base or container type for bit-fields. When a bit-field member is used in an expression it is converted to the container type.

Bit-field members are stored starting from the least significant bit to the most significant bit in the container type.