CHAPTER 9 TIMER/COUNTER FUNCTION
303
User’s Manual U15195EJ5V0UD
(5) Signal edge selection register 10 (SESA10)
The SESA10 register is used to specify the valid edge of external interrupt requests from external pins
(INTP100, INTP101, TIUD10, TCUD10, TCLR10).
The valid edge (rising edge, falling edge, or both edges) can be specified independently for each pin.
SESA10 can be read/written in 8-bit or 1-bit units.
Cautions 1. Changing the values of the SESA10 register bits during TM10 operation (TM1CE0 = 1) is
prohibited.
2. Be sure to set (to 1) the TM1CE0 bit of timer control register 10 (TMC10) even when
timer 1 is not used and the TCUD10/INTP100 and TCLR10/INTP101 pins are used as
INTP100 and INTP101.
(1/2)
7
TESUD01
SESA10
6
TESUD00
5
CESUD01
4
CESUD00
3
IES1011
2
IES1010
1
IES1001
0
IES1000
Address
FFFFF5EDH
After reset
00H
TIUD10, TCUD10
TCLR10
INTP101
INTP100
Bit position
Bit name
Function
Specifies valid edge of pins TIUD10, TCUD10.
TESUD01 TESUD00
Valid
edge
0 0
Falling
edge
0 1
Rising
edge
1 0
Setting
prohibited
1
1
Both rising and falling edges
7, 6
TESUD01,
TESUD00
Cautions 1. The set values of the TESUD01 and TESUD00 bits are only valid
in UDC mode A and UDC mode B.
2. If mode 4 is specified as the operation mode of TM10 (specified
by the PRM12 to PRM10 bits of the PRM10 register), the valid
edge specifications for the TIUD10 and TCUD10 pins (bits
TESUD01 and TESUD00) are not valid.