TA600032-EN0/0
- 73 -
6.4.1.2
'SHT0' signal output by general-purpose input pin
Select "01b" to "11b" with "RENV2.TS0" in order to output a "General-purpose one-shot 0" signal when a trigger signal is input
to "General-purpose input" pin.
This trigger signal can be selected from three pins, "PORT0" pin, "PORT1" pin and "PORT2" pin, which are all "General-purpose
input" pins.
For example, input a trigger signal to the "PORT0" pin with the setting of "RENV2.TS0 = 01b". At this time, the "General-purpose
one-shot 0" signal is output from the "SHT0" pin according to the settings of the "RSH0" (0Ch) and "RSHS" (10h) registers.
The trigger signal noise filter can be selected by "RENV1.FIL".
"RENV1.FIL" is common with the "General-purpose one-shot 1" signal.
The input logic can be selected with "RENV2.TL0".
Item
Description
RENV1.FIL
Select the "PORT0", "PORT1", and "PORT2" pin noise filters that can be selected as triggers for
general-purpose one-shot signals (SHT0, SHT1 pin).
00: No filter.
01: Recognizes signals with a pulse width of 0.4 μs or more.
10: Recognizes signals with a pulse width of 8 μs or more.
11: Recognizes signals with a pulse width of 200 µs or more.
RENV2.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.
RENV2.TL0
Select the logic of the "General-purpose input" signal
It will be the trigger signal for "General-purpose one-shot 0" signal (SHT0 pin) output.
0: Falling edge.
1: Rising edge.