English
Language : 

MC908JB16DWE Datasheet, PDF (287/332 Pages) Freescale Semiconductor, Inc – Microcontrollers
External Interrupt (IRQ)
15.9 IRQ Option Control Register
The IRQ option control register controls and monitors the external
interrupt function available on the PTE4 pin. It also disables/enables the
pullup resistor on the IRQ pin.
• Controls pullup option on IRQ pin
• Enables PTE4 pin for external interrupts to IRQ
• Shows the state of the PTE4 interrupt flag
Address: $001C
Bit 7
6
5
4
3
2
1
Read: 0
0
0
0
0
PTE4IF
PTE4IE
Write:
Reset: 0
0
0
0
0
0
0
= Unimplemented
Figure 15-4. IRQ Option Control Register (IOCR)
Bit 0
IRQPD
0
PTE4IF — PTE4 Interrupt Flag
This read-only status bit is high when a falling edge on PTE4 pin is
detected. PTE4IF bit clears when the IOCR is read.
1 = Falling edge on PTE4 is detected and PTE4IE is set
0 = Falling edge on PTE4 is not detected or PTE4IE is clear
PTE4IE — PTE4 Interrupt Enable
This read/write bit enables or disables the interrupt function on the
PTE4 pin to trigger the IRQ interrupt. Setting the PTE4IE bit and
clearing the USBEN bit in the USB address register configure the
PTE4 pin for interrupt function to the IRQ interrupt. Setting PTE4IE
also enables the internal pullup on PTE4 pin.
1 = PTE4 interrupt enabled; triggers IRQ interrupt
0 = PTE4 interrupt disabled
IRQPD — IRQ Pullup Disable
This read/write bit controls the pullup option for the IRQ pin.
1 = Internal pullup is disconnected
0 = Internal pull-up is connected between IRQ pin and VDD
MC68HC908JB16 — Rev. 1.1
Freescale Semiconductor
External Interrupt (IRQ)
Technical Data
287