CHAPTER 9 TIMER/COUNTER FUNCTION (REAL-TIME PULSE UNIT)
312
User’s Manual U14492EJ3V0UD
(5) Signal edge selection registers 10, 11 (SESA10, SESA11)
The SESA1n register is used to specify the valid edge of external interrupt requests from external pins
(INTP100, INTP101, INTP110, INTP111, TIUD10, TIUD11, TCUD10, TCUD11, TCLR10, TCLR11). The
correspondences between each register and the external interrupt requests it controls are as follows.
•
SESA10: TIUD10, TCUD10, TCLR10, INTP100, INTP101
•
SESA11: TIUD11, TCUD11, TCLR11, INTP110, INTP111
The valid edge (rising edge, falling edge, or both edges) can be specified independently for each pin.
SESA1n can be read/written in 8-bit or 1-bit units.
Cautions 1. Changing the values of the SESA1n register bits during TM1n operation (TM1CEn bit =
1) is prohibited.
2. Be sure to set (to 1) the TM1CEn bit of timer control registers 10, 11 (TMC10, TMC11)
even when timer 1 is not used and the TCUD10/INTP100, TCLR10/INTP101,
TCUD11/INTP110, and TCLR11/INTP111 pins are used as INTP100, INTP101, INTP110,
and INTP111.
(1/2)
7
TESUD01
SESA10
6
TESUD00
5
CESUD01
4
CESUD00
3
IES1011
2
IES1010
1
IES1001
0
IES1000
Address
FFFFF5EDH
Initial value
00H
TIUD10, TCUD10
TCLR10
INTP101
INTP100
7
TESUD11
SESA11
6
TESUD10
5
CESUD11
4
CESUD10
3
IES1111
2
IES1110
1
IES1101
0
IES1100
Address
FFFFF60DH
Initial value
00H
TCLR11
TIUD11, TCUD11
INTP111
INTP110
Bit Position
Bit Name
Function
Specifies valid edge of pins TIUD10, TIUD11, TCUD10, TCUD11.
TESUDn1
TESUDn0
Valid Edge
0
0
Falling edge
0
1
Rising edge
1
0
Setting prohibited
1
1
Both rising and falling edges
7, 6
TESUDn1,
TESUDn0
Cautions 1. The set values of the TESUDn1 and TESUDn0 bits are only valid
in UDC mode A and UDC mode B.
2. If mode 4 is specified as the operation mode of TM1n (specified
with PRM12 to PRM10 bits of PRM1n register), the valid edge
specifications for pins TIUD1n and TCUD1n (bits TESUDn1 and
TESUDn0) are not valid.
Remark
n = 0, 1