| |||
| Home > IM-PD1 Image for Operation with an Integrator/IM-PD1 > CM control and status registers for the IM-PD1 image > CM flag registers | |||
The core module flag registers provide you with two 32-bit register locations containing general-purpose flags. You can assign any meaning to the flags.
The core module provides two distinct types of flag registers:
flag register are cleared by a normal reset, such as a reset caused by pressing the reset button
nonvolatile flag registers retain their contents after a normal reset and are only cleared by a Power-On Reset (POR).
The status register contains the current state of the flags.
The flag set locations are used to set bits in the flag registers as follows:
write 1 to SET the associated flag
write 0 to leave the associated flag unchanged.