NEC V850E/MA1 User Manual page 285

32-bit single-chip microcontroller
Hide thumbs Also See for V850E/MA1:
Table of Contents

Advertisement

CHAPTER 7 INTERRUPTION/EXCEPTION PROCESSING FUNCTION
7
6
INTM1
ES1031
ES1030
INTP103
7
6
INTM2
ES1131 ES1130
INTP113
7
6
INTM3
ES1231 ES1230
INTP123/ADTRG
7
6
INTM4
ES1331 ES1330
INTP133
Bit position
Bit name
7 to 0
ES1nm1,
ES1nm0
(n = 0 to 3,
m = 0 to 3)
Notes 1.
The level of the INTP1nm pin is sampled at the interval of the system clock divided by two, and the
P1nIFm bit is latched as an interrupt request when a low level is detected. Therefore, even if the
P1nIFm bit of the interrupt control register (P1nICm) is automatically cleared to 0 when the CPU
acknowledges an interrupt, the P1nIFm bit is immediately set to 1, and an interrupt is generated
continuously. To avoid this, forcibly clear the P1nIFm bit to 0 after making the INTP1nm pin
inactive for an external device in the interrupt service routine (n = 0 to 3, m = 0 to 3).
2.
When a lower priority level-detection interrupt request (INTP1nm) occurs while another interrupt is
being serviced and this newly generated level-detection interrupt request becomes inactive before
the current interrupt service is complete, this new interrupt request (INTP1nm) is held pending. To
avoid acknowledging this INTP1nm interrupt request, clear the P1nIFm bit of the interrupt control
register (n = 0 to 3, m = 0 to 3).
3.
When this pin is used as the ADTRG pin, do not select this setting (level detection).
5
4
3
ES1021
ES1020
ES1011
INTP102
INTP101
5
4
3
ES1121 ES1120
ES1111 ES1110
INTP112
INTP111
5
4
3
ES1221 ES1220
ES1211 ES1210
INTP122
INTP121
5
4
3
ES1321 ES1320
ES1311 ES1310
INTP132
INTP131
Edge Select
Specifies the valid edge of the INTP1nm and ADTRG pins.
ES1nm1
ES1nm0
0
0
0
1
1
0
1
1
User's Manual U14359EJ4V0UM
2
1
0
ES1010
ES1001
ES1000
INTP100
2
1
0
ES1101
ES1100
INTP110
2
1
0
ES1201
ES1200
INTP120
2
1
0
ES1301
ES1300
INTP130
Function
Operation
Falling edge
Rising edge
Level detection (low-level detection)
Both rising and falling edges
Address
After reset
FFFFF882H
00H
Address
After reset
FFFFF884H
00H
Address
After reset
FFFFF886H
00H
Address
After reset
FFFFF888H
00H
Notes 1, 2, 3
285

Advertisement

Table of Contents
loading

Table of Contents