218
Chapter 5
Interrupt Controller (INTC)
Preliminary User’s Manual U17566EE1V2UM00
5.4 Edge and Level Detection Configuration
The microcontroller provides the maskable external interrupts INTPn and one
non-maskable interrupt (NMI).
INTPn can be configured to generate interrupts upon edges or levels, the NMI
can be set up to react on edges.
(1)
INTM0 to INTM3 - External interrupt configuration register
External interrupt function is configured by the registers INTM0…INTM3.
The register bits ELSELn, ESELn1 and ESELn0 configure the INTPn interrupt
function:
7
6
5
4
3
2
1
0
Address
Initial value
INTM0
0
ELSEL1
ESEL11
ESEL10
NMIEN
ELSEL0
ESEL01
ESEL00 FFFF F700H
00H
R/W
R
R/W
R/W
R/W
R/(W)
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0
7
6
5
4
3
2
1
0
Address
Initial value
INTM1
0
ELSEL3
ESEL31
ESEL30
0
ELSEL2
ESEL21
ESEL20 FFFF F702H
00H
R/W
R
R/W
R/W
R/W
R
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0
7
6
5
4
3
2
1
0
Address
Initial value
INTM2
0
ELSEL5
ESEL51
ESEL50
0
ELSEL4
ESEL41
ESEL40 FFFF F704H
00H
R/W
R
R/W
R/W
R/W
R
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0
7
6
5
4
3
2
1
0
Address
Initial value
INTM3
0
ELSEL7
ESEL71
ESEL70
0
ELSEL6
ESEL61
ESEL60 FFFF F706H
00H
R/W
R
R/W
R/W
R/W
R
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0
ELSELn
ESELn1
ESELn0
Function
0
0
0
falling edge
0
0
1
rising edge
0
1
0
prohibited to use
0
1
1
falling and rising edge
1
0
0
low level detection
1
0
1
high level detection
1
1
0
low level detection
1
1
1
high level detection
electronic components distributor