MC1321x Reference Manual, Rev. 1.6
Freescale Semiconductor
8-1
Chapter 8
Modem Interrupt Description
8.1
Modem Interrupts
Interrupts provide a way for the MC1321x to inform the host microcontroller (MCU) of onboard events
without requiring the MCU to constantly query MC1321x status.
For a given event, the interrupt flow is as follows.
•
The source interrupt mask is enabled
•
The source function is enabled
•
The source event occurs causing the source status flag to be set and the IRQ pin to be asserted low
•
The IRQ pin stays asserted until the IRQ_Status Register is read to determine the source of the
interrupt. Reading the IRQ_Status Register clears the status bits and releases the IRQ signal to be
negated high
When multiple source events have occurred, the MCU must use the IRQ_Status register contents to
determine all the present events that caused an interrupt, prioritize them, and respond to all of the them.
This is done through the interrupt service routine of the MCU.
8.1.1
Modem Interrupt Sources
lists the interrupt status bits, mask bits, and source description.
Table 8-1. Modem Interrupt Sources
Item
Status Bit
Mask Bit
Source Description
Interrupt Clear
Mechanism
1
1
pll_lock_irq
pll_lock_mask
PLL out of lock.
Read IRQ_Status Reg
2
2
ram_addr_err /
tx_done_irq
ram_addr_mask /
tx_done_mask
1. RAM address error - When in Packet Data
Mode, a recursive access to Packet RAM has
exceeded the maximum RAM address. The
ram_addr_mask controls the interrupt generation
for this mode.
2. TX Done - When in Streaming Data Mode, the
TX operation is complete and transceiver has
returned to Idle Mode. The tx_done_mask controls
interrupt generation in this mode.
Read IRQ_Status Reg
(for either mode)
Содержание freescale semiconductor MC13211
Страница 40: ...MC1321x Pins and Connections MC1321x Reference Manual Rev 1 6 2 6 Freescale Semiconductor...
Страница 100: ...MC1321x Serial Peripheral Interface SPI MC1321x Reference Manual Rev 1 6 4 24 Freescale Semiconductor...
Страница 166: ...Modem Modes of Operation MC1321x Reference Manual Rev 1 6 7 22 Freescale Semiconductor...
Страница 172: ...Modem Interrupt Description MC1321x Reference Manual Rev 1 6 8 6 Freescale Semiconductor...
Страница 186: ...MCU Modes of Operation MC1321x Reference Manual Rev 1 6 10 8 Freescale Semiconductor...
Страница 208: ...MCU Memory MC1321x Reference Manual Rev 1 6 11 22 Freescale Semiconductor...
Страница 244: ...MCU Parallel Input Output MC1321x Reference Manual Rev 1 6 13 20 Freescale Semiconductor...
Страница 288: ...MCU Central Processor Unit CPU MC1321x Reference Manual Rev 1 6 15 20 Freescale Semiconductor...
Страница 308: ...MCU Timer PWM TPM Module MC1321x Reference Manual Rev 1 6 17 16 Freescale Semiconductor...
Страница 338: ...Inter Integrated Circuit IIC MC1321x Reference Manual Rev 1 6 19 14 Freescale Semiconductor...
Страница 372: ...Development Support MC1321x Reference Manual Rev 1 6 21 20 Freescale Semiconductor...