Specify whether Boolean signals are stored as one–bit bitfields or as a Boolean data type.
Category: Optimization
Note
You cannot use this optimization when you generate code for a target that specifies an explicit structure alignment.
Default: Off
Stores Boolean signals into one–bit bitfields in global block I/O structures or DWork vectors. This will reduce RAM, but might cause more executable code.
Stores Boolean signals as a Boolean data type in global block I/O structures or DWork vectors.
This parameter:
Requires a Embedded Coder® license.
Appears only for ERT-based targets.
Parameter:
BooleansAsBitfields |
Value:
'on' | 'off' |
Default:
'off' |
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | Off (execution, ROM), On (RAM) |
Safety precaution | No impact |