2.4.2.10
periphSafeAckByOne - clear (acknowledge) bit flags which
are active-high and are cleared by write-one
Call(s):
void periphSafeAckByOne(UWord16 GroupMask, UWord16 Mask,
Arguments:
GroupMask
Mask
pAddr
Description: The periphSafeAckByOne macro clears (acknowledges) bit flags which are
active-high and are cleared by write-one in a peripheral memory location addressed by parameter
pAddr. The GroupMask specifies all flags which might be affected by clearing procedure. The
Mask value specifies flag/flags to be cleared.
Caution: TBD
Example 2-27. periphSafeAckByOne macro usage
periphSafeAckByOne(0x8000 | 0x0100 | 0x0010, 0x0100,
This code clears the Index Pulse Interrupt Request flag in the Decoder Control Register.
2.4.2.11
periphBitChange - change selected bits
Call(s):
void periphBitChange(UWord16 Mask, UWord16 *pAddr);
Arguments:
Mask
pAddr
Description: The periphBitChange macro complements the selected bits in a memory location
addressed by parameter pAddr.
FREESCALE SEMICONDUCTOR
UWord16 *pAddr);
Table 2-12. periphSafeAckByOne arguments
in
Group mask
in
"ones" bit mask.
in
The memory address.
&ArchIO.Decoder0.deccr);
Table 2-13. periphBitChange arguments
in
Bit mask.
in
The memory address.
Targeting 56F8xxx Platform
Boot Sequence
2-19