
Interrupt Controller Modules
Freescale Semiconductor
14-9
14.2.6
Clear Interrupt Mask Register (CIMRn)
The CIMR
n
register provides a simple mechanism to clear a given bit in the IMR
n
registers to enable the
corresponding interrupt request. The value written to the CIMR field causes the corresponding bit in the
IMR
n
register to be cleared. The CIMR
n
[CALL] bit provides a global clear function, forcing the entire
contents of IMR
n
to be cleared, thus enabling all interrupts. Reads of this register return all zeroes. This
register is provided so interrupt service routines can easily enable the given interrupt request without the
need to perform a read-modify-write sequence on the IMR
n
register.
In the event of a simultaneous write to the CIMR
n
and SIMR
n
, the SIMR
n
has priority and the resulting
function would be a set of the interrupt mask register.
14.2.7
Current Level Mask Register (CLMASK)
The CLMASK register is provided so the interrupt controller can optionally automatically manage
masking of interrupt requests based on the programmed priority level. If enabled by ICONFIG[EMASK]
bit being set, an interrupt acknowledge read cycle returns a vector number identifying the physical request
source, and the CLMASK register is loaded with the level number associated with the request. After the
CLMASK register is updated, then all interrupt requests with level numbers equal to or less than this value
are masked by the controller and are not allowed to cause the assertion of the interrupt signal to the
processor core. As the CLMASK register is updated during the IACK cycle read, the former value is saved
in the SLMASK register.
Typically, after a level-
n
interrupt request is managed, the service routine restores the saved level mask
value into the current level mask register to re-enable the lower priority requests. In addition, an interrupt
service routine can explicitly load this register with a lower priority value to query for any pending
interrupts via software interrupt acknowledge cycles.
Address: 0xFC04_801D (CIMR0)
0xFC04_C01D (CIMR1)
Access: User write-only
7
6
5
4
3
2
1
0
R
0
0
0
0
0
0
0
0
W
CALL
CIMR
Reset:
0
0
0
0
0
0
0
0
Figure 14-9. Clear Interrupt Mask Register (CIMRn)
Table 14-11. CIMRn Field Descriptions
Field
Description
7
Reserved, must be cleared.
6
CALL
Clear all bits in the IMRn register, enabling all interrupt requests.
0 Only set those bits specified in the CIMR field.
1 Clear all bits in IMRn register. The CIMR field is ignored.
5–0
CIMR
Clear the corresponding bit in the IMRn register, enabling the interrupt request.
MCF5329 Reference Manual, Rev 3
Содержание MCF5329
Страница 106: ...ColdFire Core 3 32 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 126: ...Enhanced Multiply Accumulate Unit EMAC 4 20 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 148: ...Cache 5 22 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 154: ...Static RAM SRAM 6 6 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 184: ...Power Management 8 18 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 204: ...Reset Controller Module 10 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 220: ...System Control Module SCM 11 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 228: ...Crossbar Switch XBS 12 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 268: ...General Purpose I O Module 13 40 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 392: ...SDRAM Controller SDRAMC 18 30 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 436: ...Fast Ethernet Controller FEC 19 44 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 564: ...Liquid Crystal Display Controller LCDC 22 44 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 594: ...FlexCAN 23 30 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 678: ...Pulse Width Modulation PWM Module 26 22 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 684: ...Watchdog Timer Module 27 6 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 692: ...Programmable Interrupt Timers PIT0 PIT3 28 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 704: ...DMA Timers DTIM0 DTIM3 29 12 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 720: ...Queued Serial Peripheral Interface QSPI 30 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 754: ...UART Modules 31 34 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 770: ...I2 C Interface 32 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 790: ...Message Digest Hardware Accelerator MDHA 33 20 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 866: ...Debug Module 36 50 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 902: ...Register Memory Map Quick Reference A 26 Freescale Semiconductor MCF5329 Reference Manual Rev 3...