CHAPTER 9 TIMER/COUNTER FUNCTION
378
User’s Manual U15195EJ5V0UD
(4) Valid edge selection register (SESC)
This register specifies the valid edge of external interrupt requests (TI3, TCLR3, INTP30, INTP31) from an
external pin.
The rising edge, the falling edge, or both rising and falling edges can be specified as the valid edge
independently for each pin.
This register can be read/written in 8-bit or 1-bit units.
Caution Do not change the bits of the SESC register during timer operation. If they are to be
changed, they must be changed after setting the TM3CE bit of the TMC30 register to 0. If
the SESC register is overwritten during timer operation, the operation is not guaranteed.
7
TES31
SESC
6
TES30
5
CES31
4
CES30
3
IES311
2
IES310
1
IES301
0
IES300
Address
FFFFF689H
After reset
00H
TI3
TCLR3
INTP31
INTP30
Bit position
Bit name
Function
7, 6
TES31, TES30
Specifies the valid edge of INTP30, INTP31 pins, TCLR3, and TI3 pins.
xESn1 xESn0
Operation
5, 4
CES31, CES30
0 0
Falling
edge
0 1
Rising
edge
3, 2
IES311, IES310
1 0
Setting
prohibited
1
1
Both rising and falling edges
1, 0
IES301, IES300
Remark
n = 3, 30, 31