
BAT32G1x9 user manual | Chapter 6 Universal timer unit Timer4/8
160 / 1149
Rev.1.02
6.3.9
Timer output enable register m (TOEm).
ToEm registers are registers that are set to enable or disable the output of each channel timer.
For channel n that enable the timer output, the value of the TOmn bit of the timer output register m(TOm)
described below cannot be overridden by software, and the value reflected by the timer output function of the
counting operation is from the output pin of the timer (TOmn) output.
The TOEm register is set by 16-bit memory operation instruction.
User can set the low 8 bits of the TOEm register by toemL and through the 8-bit memory operation instruction.
After generating a reset signal, the value of the TOEm register changes to "0000H".
Figure 6-17
timer outputs Enabled register m (TOEm).
symbol
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
TOEm
0
0
0
0
0
0
0
0
0
0
0
0
TOE
m3
TOE
m2
TOE
m1
TOE
m0
m=0
symbol
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
TOEm
0
0
0
0
0
0
0
0
TOE
m7
TOE
m6
TOE
m5
TOE
m4
TOE
m3
TOE
m2
TOE
m1
TOE
m0
m=1
TOEmn
Allow/disable
of the timer output of channel n
0
Disables timer output.
The operation of the timer is not reflected to the TOmn bit, the output is fixed.
User can write the TOmn bit and output the level set by the TOmn bit from the TOmn pin.
1
Timer output is Enabled.
The operation of the timer is reflected to the TOmn bit, resulting in an output waveform. Ignore
the write operation of the TOmn bit.
Note: Bit15~4
must be
set to
"0".
Note: m: unit number (m=0,1)n: channel number (when m=0: n=0~3, m=1: n=0~7).