ST7LITE20F2 ST7LITE25F2 ST7LITE29F2
Interrupts
External interrupt control register (EICR)
Read/Write
Reset Value: 0000 0000 (00h)
7
IS31
IS30
IS21
IS20
IS11
IS10
IS01
0
IS00
Note:
● Bit 7:6 = IS3[1:0] ei3 sensitivity
These bits define the interrupt sensitivity for ei3 (Port B0) according to Table 13:
Interrupt sensitivity bits.
● Bit 5:4 = IS2[1:0] ei2 sensitivity
These bits define the interrupt sensitivity for ei2 (Port B3) according to Table 13:
Interrupt sensitivity bits.
● Bit 3:2 = IS1[1:0] ei1 sensitivity
These bits define the interrupt sensitivity for ei1 (Port A7) according to Table 13:
Interrupt sensitivity bits.
● Bit 1:0 = IS0[1:0] ei0 sensitivity
These bits define the interrupt sensitivity for ei0 (Port A0) according to Table 13:
Interrupt sensitivity bits.
These 8 bits can be written only when the I bit in the CC register is set.
Changing the sensitivity of a particular external interrupt clears this pending interrupt. This
can be used to clear unwanted pending interrupts. Refer to Section : External interrupt
function.
Table 13.
ISx1
0
0
1
1
Interrupt sensitivity bits
ISx0
0
1
0
1
External interrupt sensitivity
Falling edge & low level
Rising edge only
Falling edge only
Rising and falling edge
Doc ID 8349 Rev 5
49/166