28.10.2014 Views

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Interrupt Controller Module<br />

<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />

7.8.4.3 Interrupt Source Configuration<br />

Each module that is capable of generating an interrupt request has an<br />

interrupt request enable/disable bit. To allow the interrupt source to be<br />

asserted, set the local interrupt enable bit.<br />

Once an interrupt request is asserted, the module keeps the source<br />

asserted until the interrupt service routine performs a special sequence<br />

to clear the interrupt flag. Clearing the flag negates the interrupt request.<br />

nc...<br />

<strong>Freescale</strong> <strong>Semiconductor</strong>, I<br />

7.8.5 Interrupts<br />

The interrupt controller assigns a number to each interrupt source, as<br />

Table 7-6 shows.<br />

Table 7-6. Interrupt Source Assignment<br />

Source Module Flag Source Description Flag Clearing Mechanism<br />

0<br />

PF1 Queue 1 conversion pause Write PF1 = 0 after reading PF1 = 1<br />

1 CF1 Queue 1 conversion complete Write CF1 = 0 after reading CF1 = 1<br />

ADC<br />

2 PF2 Queue 2 conversion pause Write PF2 = 0 after reading PF2 = 1<br />

3 CF2 Queue 2 conversion complete Write CF2 = 0 after reading CF2 = 1<br />

4<br />

MODF Mode fault Write to SPICR1 after reading MODF = 1<br />

SPI<br />

5 SPIF Transfer complete Access SPIDR after reading SPIF = 1<br />

6<br />

TDRE Transmit data register empty Write SCIDRL after reading TDRE = 1<br />

7 TC Transmit complete Write SCIDRL after reading TC = 1<br />

8 SCI1 RDRF Receive data register full Read SCIDRL after reading RDRF = 1<br />

9 OR Receiver overrun Read SCIDRL after reading OR = 1<br />

10 IDLE Receiver line idle Read SCIDRL after reading IDLE = 1<br />

11<br />

TDRE Transmit data register empty Write SCIDRL after reading TDRE = 1<br />

12 TC Transmit complete Write SCIDRL after reading TC = 1<br />

13 SCI2 RDRF Receive data register full Read SCIDRL after reading RDRF = 1<br />

14 OR Receiver overrun Read SCIDRL after reading OR = 1<br />

15 IDLE Receiver line idle Read SCIDRL after reading IDLE = 1<br />

Technical Data <strong>MMC2107</strong> – Rev. 2.0<br />

172 Interrupt Controller Module MOTOROLA<br />

For More Information On This Product,<br />

Go to: www.freescale.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!