CHAPTER 9 TIMER/COUNTER FUNCTION
214
User’s Manual U15195EJ5V0UD
(2/2)
Bit position
Bit name
Function
5
ALVVB
Specifies the output level of the TO0n3 pin.
0: Inverted level of active level set by ALVTO bit
1: Active level set by ALVTO bit
When ALVVB = 1, the output level of TO0n3 output is the same as TO0n2.
Caution Changing the ALVVB bit during TM0n operation (TM0CEn = 1) is
prohibited
4
ALVWB
Specifies the output level of the TO0n5 pin.
0: Inverted level of active level set by ALVTO bit
1: Active level set by ALVTO bit
When ALVWB = 1, the output level of TO0n5 output is the same as TO0n4.
Caution Changing the ALVWB bit during TM0n operation (TM0CEn = 1) is
prohibited.
3
TOSP
Controls TO0n0 to TO0n5 pin output stop via ESOn pin input.
0: Enables ESOn pin input
1: Disables ESOn pin input
Cautions 1. The output stop status can be released by writing “1” to the
TORSn bit of the TUC0n register. The operation continues even if
output is prohibited for all timers and counters.
2. Before changing the ESOn pin input status from disabled to
enabled (changing the TOSP bit from 1 to 0), write “1” to the
TORSn bit of the TUCn register to reset the ESOn pin input
status.
These bits select the valid edge or level when setting forcible stop of TO0n0 to
TO0n5 output via ESOn pin input using the TOSP bit.
TOEDG1 TOEDG0
Operation
0 0
Rising
edge
0 1
Falling
edge
1 0
Low
level
1 1
High
level
1, 0
TOEDG1,
TOEDG0
Cautions 1. Changing the TOEDG1 and TOEDG0 bits during TM0n operation
(TM0CEn = 1) is prohibited.
2. Before changing the settings of bits TOEDG1 and TOEDG0, write
“1” to the TORSn bit of the TUC0n register to reset the ESOn pin
input status.
Remark
n = 0, 1
Содержание PD703114
Страница 2: ...2 User s Manual U15195EJ5V0UD MEMO ...