NEC UPD703116 User Manual page 304

32-bit single-chip microcontrollers
Table of Contents

Advertisement

(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.
7
6
SESA10
TESUD01
TESUD00
TIUD10, TCUD10
7
6
SESA11
TESUD11
TESUD10
TIUD11, TCUD11
Bit position
Bit name
7, 6
TESUDn1,
TESUDn0
Remark
n = 0, 1
304
CHAPTER 9 TIMER/COUNTER FUNCTION
5
4
3
CESUD01
CESUD00
IES1011
TCLR10
INTP101
5
4
3
CESUD11
CESUD10
IES1111
TCLR11
INTP111
Specifies valid edge of pins TIUD10, TIUD11, TCUD10, TCUD11.
TESUDn1
TESUDn0
0
0
1
1
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.
User's Manual U14492EJ5V0UD
2
1
0
IES1010
IES1001
IES1000
INTP100
2
1
0
IES1110
IES1101
IES1100
INTP110
Function
Valid edge
0
Falling edge
1
Rising edge
0
Setting prohibited
1
Both rising and falling edges
(1/2)
Address
Initial value
FFFFF5EDH
00H
Address
Initial value
FFFFF60DH
00H

Advertisement

Table of Contents
loading

Table of Contents