CHAPTER 7 INTERRUPT/EXCEPTION PROCESSING FUNCTION
190
User’s Manual U14492EJ3V0UD
(3) Valid edge selection register (SESC)
This register specifies the valid edge for external interrupt requests (INTP30, INTP31, TCLR3, and TI3),
input via external pins.
The valid edge can be specified independently for each pin (rising edge, falling edge, or both rising and
falling edges).
This register can be read/written in 8-bit or 1-bit units.
Cautions 1. The TM3CAE and TM3CE bits of timer control register 30 (TMC30) must be set (1) before
using the TI3/TCLR3/INTP30 and TO3/INTP31 pins as INTP30 and INTP31, even if not
using timer 3.
2. Before setting the INTP30, INTP31, TCLR3, and TI3 pins to the trigger mode, set the
PMC2 register.
If the PMC2 register is set after the SESC register has been set, an illegal interrupt may
occur as soon as the PMC2 register is set.
7
TES31
SESC
6
TES30
5
CES31
4
CES30
3
IES311
2
IES310
1
IES301
0
IES300
Address
FFFFF689H
Initial value
00H
TI3
TCLR3
INTP31
INTP30
Bit Position
Bit Name
Function
7, 6
TES31,
TES30
Specifies the valid edge of the INTP30, INTP31, TCLR3, and TI3 pins.
xESn1
xESn0
Operation
0
0
Falling edge
5, 4
CES31,
CES30
0
1
Rising edge
1
0
Setting prohibited
1
1
Both rising and falling edges
3, 2
IES311,
IES310
1, 0
TES301,
TES300
Remark
n = 3, 30, 31
Содержание V850E/IA1 mPD703116
Страница 2: ...2 User s Manual U14492EJ3V0UD MEMO...