Download SH69P25

Transcript
SH69P25
PORTB & PORTC interrupt
The PORTB and PORTC are used as port interrupt sources. Since PORT I/O is bit programmable I/O, so only the input port
can generate an external interrupt.
When PBCFR set to 0, any one of the PORTB and PORTC input pin transitions from VDD to GND will generate an interrupt
request. And further falling edge transition would not be able to make interrupt request until all of the pins return to VDD.
When PBCFR set to 1, any one of the PORTB and PORTC input pin transitions from GND to VDD will generate an interrupt
request. And further rising edge transition would not be able to make interrupt request until all of the pins return to GND.
Following is the port interrupt function block-diagram.
PBOUT[3]
PB[3]
PBOUT[2]
PB[2]
PBOUT[1]
PB[1]
PBOUT[0]
PB[0]
PCOUT[3]
PC[3]
PCOUT[2]
PC[2]
PCOUT[1]
PC[1]
PCOUT[0]
PC[0]
PBCFR
PORT INTERRUPT
DETECT
PBOUT[3]
PB[3]
PBOUT[2]
PB[2]
PBOUT[1]
PB[1]
PBOUT[0]
PB[0]
PCOUT[3]
PC[3]
PCOUT[2]
PC[2]
PCOUT[1]
PC[1]
PCOUT[0]
PC[0]
8
PORTINT