TA600032-EN0/0
- 53 -
5.2.3.3
RENV2 (04h) Environment setting 2 register
"General-purpose port" attribute of "G9006" and a trigger of general-purpose one-shot signal (SHT0, SHT1 pin) can be set.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
TL1
TL0
TS1
TS0
PTAn
Bit
Symbol
Description
7:0
PTAn
Select the "General-purpose port" (PORTn) attribute.
0: "Input attribute".
1: "Output attribute".
When the enable signal (DMOD pin) of "Device number setting pin" is "H level", the settings of
"RENV2.PTA2" to "RENV2.PTA7" are ignored, and the "PORT2" to "PORT7" pins are input pins.
9,8
TS0
Select the trigger for "General-purpose one-shot 0" signal (SHT0 pin) output.
00: Selects "CST0" (30h) operation command.
01: Selects a general-purpose input signal to "PORT0" pin.
10: Selects a general-purpose input signal to "PORT1" pin.
11: Selects a general-purpose input signal to "PORT2" pin.
For details, see "6.4.1 'General-purpose one-shot 0' signal (SHT0 pin)".
11,10
TS1
Select the trigger for "General-purpose one-shot 1" signal (SHT1 pin) output.
00: Selects "CST1" (31h) operation command.
01: Selects a general-purpose input signal to "PORT0" pin.
10: Selects a general-purpose input signal to "PORT1" pin.
11: Selects a general-purpose input signal to "PORT2" pin.
For details, see "6.4.2 'General-purpose one-shot 1' signal (SHT1 pin)".
12
TL0
Select the logic of general-purpose input signal that will trigger the output of "General-purpose one-
shot 0" signal (SHT0 pin).
0: Falling edge.
1: Rising edge.
For details, see "6.4.1.2 'SHT0' signal output by general-purpose input pin".
13
TL1
Select the logic of general-purpose input signal that will trigger the output of "General-purpose one-
shot 1" signal (SHT1 pin).
0: Falling edge.
1: Rising edge.
For details, see "6.4.2.2 'SHT1' signal output by general-purpose input pin".
15,14
0
Fixed to "0".