BAT32G1x9 user manual | Chapter 6 Universal timer unit Timer4/8
185 / 1149
Rev.1.02
Multiple TO0n
outputs
can change
simultaneously
When the value is not
changed, the output
does not change
When the TOE0n
bit is
"1", the
write operation of
the TO
0n
bit is ignored
6.6.4
one-time operation of the TOmn bit
Like the timer channel start register m (TSm), the timer output register m (TOm) has all channel set bits (TOmn).
This allows the TOmn bits of all channels to be manipulated at once.
Figure 6-37 Example of one-time operation of the TO0n bit
Before writing
TO0
TOE0
The data to write
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
After writing
TO0
Only TOmn bits with TOEmn bits as "0" can be written, ignoring write operations for TOmn bits with TOEmn
bits as "1".
TOmn (channel output) with TOEmn bit "1" is not affected by write operations, even the write TOmn bit is
ignored, and output changes caused by timer operation are normal.
Figure 6-38 state of the TO0n pin when the TO0n bit is operated at one time
TO03
TO02
TO01
TO00
Write to
0n bits
before writing
Note: m: unit number (m=0,1)n: channel number (when m=0: n=0~3, m=1: n=0~7).
0
0
0
0
0
0
0
0
0
0
0
0
TO03
1
TO02
0
TO01
1
TO00
0
0
0
0
0
0
0
0
0
0
0
0
0
TOE03
0
TOE02
0
TOE01
0
TOE00
1
0
0
0
0
0
0
0
0
0
0
0
0
TO03
0
TO02
1
TO01
1
TO00
0