ST7232A
INTERRUPTS
(Cont鈥檇)
7.7 EXTERNAL INTERRUPT CONTROL REGISTER (EICR)
Read/Write
Reset Value: 0000 0000 (00h)
7
IS11
IS10
IPB
IS21
IS20
IPA
0
0
0
Bit 4:3 =
IS2[1:0]
ei0 and ei1 sensitivity
The interrupt sensitivity, defined using the IS2[1:0]
bits, is applied to the following external interrupts:
- ei0 (port A3..0)
Bit 7:6 =
IS1[1:0]
ei2 and ei3 sensitivity
The interrupt sensitivity, defined using the IS1[1:0]
bits, is applied to the following external interrupts:
- ei2 (port B3..0)
External Interrupt Sensitivity
IS11 IS10
IPB bit =0
0
0
1
1
0
1
0
1
Falling edge &
low level
Rising edge only
Falling edge only
IPB bit =1
Rising edge
& high level
Falling edge only
Rising edge only
0
1
1
1
0
1
External Interrupt Sensitivity
IS21 IS20
IPA bit =0
0
0
Falling edge &
low level
Rising edge only
Falling edge only
IPA bit =1
Rising edge
& high level
Falling edge only
Rising edge only
Rising and falling edge
Rising and falling edge
- ei1 (port F2..0)
IS21 IS20
0
0
1
0
1
External Interrupt Sensitivity
Falling edge & low level
Rising edge only
Falling edge only
Rising and falling edge
- ei3 (port B4)
IS11 IS10
0
0
1
1
0
1
0
1
External Interrupt Sensitivity
Falling edge & low level
Rising edge only
Falling edge only
Rising and falling edge
0
1
1
These 2 bits can be written only when I1 and I0 of
the CC register are both set to 1 (level 3).
Bit 2 =
IPA
Interrupt polarity for port A
This bit is used to invert the sensitivity of the port A
[3:0] external interrupts. It can be set and cleared
by software only when I1 and I0 of the CC register
are both set to 1 (level 3).
0: No sensitivity inversion
1: Sensitivity inversion
Bits 1:0 = Reserved, must always be kept cleared.
These 2 bits can be written only when I1 and I0 of
the CC register are both set to 1 (level 3).
Bit 5 =
IPB
Interrupt polarity for port B
This bit is used to invert the sensitivity of the port B
[3:0] external interrupts. It can be set and cleared
by software only when I1 and I0 of the CC register
are both set to 1 (level 3).
0: No sensitivity inversion
1: Sensitivity inversion
33/154
1