English
Language : 

MC68HC908JB8 Datasheet, PDF (225/286 Pages) Motorola, Inc – MICROCONTROLLERS
External Interrupt (IRQ)
IRQ Option Control Register
0 = IRQ interrupt requests on falling edges only
13.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 13-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
MC68HC908JB8•MC68HC08JB8•MC68HC08JT8 — Rev. 2.3
Freescale Semiconductor
External Interrupt (IRQ)
Technical Data
225