CHAPTER 7 INTERRUPT/EXCEPTION PROCESSING FUNCTION
157
User’s Manual U15195EJ5V0UD
(2) Signal edge selection register 10 (SESA10)
These registers specify the valid edge of external interrupt requests (INTP100, INTP101, TIUD10, TCUD10,
and TCLR10), input via external pins.
The valid edge can be specified independently for each pin (rising edge, falling edge, or both rising and falling
edges).
These registers can be read/written in 8-bit or 1-bit units.
Cautions 1. The bits of the SESA10 register cannot be changed during TM10 operation (TM1CE0 bit
of timer control register 10 (TMC10) = 1).
2. TM1CE0 bit must be set (1) before using the TCUD10/INTP100 and TCLR10/INTP101 pins
as INTP100 and INTP101, even if not using timer 1.
3. Setting the trigger mode of the INTP100, INTP101, TIUD10, TCUD10, or TCLR10 pin
should be performed after setting the PMC1 register.
If the PMC1 register is set after setting the SESA10 register, an invalid interrupt may
occur when the PMC1 register is set.
(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 the valid edge of the TIUD10 and TCUD10 pins.
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 values set to the TESUD01 and TESUD00 bits are valid only in
UDC mode A
Note 1
and UDC mode B
Note 1
.
2. If TM10 operation has been specified in mode 4
Note 2
, the valid edge
specification (TESUD01 and TESUD00 bits) for the TIUD10 and
TCUD10 pins is invalid.
Notes 1.
See
9.2.4 (2) Timer unit mode register 0 (TUM0)
.
2.
See
9.2.4 (6) Prescaler mode register 10 (PRM10)
.
Содержание PD703114
Страница 2: ...2 User s Manual U15195EJ5V0UD MEMO ...