BAT32G1x9 user manual | Chapter 6 Universal timer unit Timer4/8
158 / 1149
Rev.1.02
6.3.7
Timer channel stop register m(TTm).
The TTm register is the trigger register that sets the stop of each channel count.
If each position is "1", the corresponding bit of the Enabled status register m (TEm) of the timer channel is cleared
"0". Because the TTmn bits, TTHm1 bits, and TTHm3 bits are trigger bits, if it becomes a running stop state (TEmn,
TEHm1, TEHm3=0), immediately clear the TTmn bits, TTHm1 bits, and TTHm3 bits.
The TTm register is set by 16-bit memory operation instruction.
User can set the lower 8 bits of the TTm register with TTmL and through the 8-bit memory operation instruction.
After generating a reset signal, the value of the TTm register changes to "0000H".
Figure 6-15 timer channel stop register m(TTm).
symb
ol
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
TTm
0
0
0
0
TTHm
3
0
TTHm
1
0
0
0
0
0
TTm3 TTm2 TTm1 TTm0
m=0
symb
ol
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
TTm
0
0
0
0
0
0
0
0
TTm7 TTm6 TTm5 TTm4 TTm3 TTm2 TTm1 TTm0
m=1
TTHm3
The operation of the high 8-bit timer is triggered when
Channel 3
is
in 8-bit timer
mode
0
No triggering.
1
Clear the TEHm3
bit to
"0"
and enter the count stop state.
TTHm1
The operation of the high 8-bit timer is triggered when Channel 1 is
in 8-bit timer
mode
0
No triggering.
1
Clear the TEHm1
bit to
"0"
and enter the count stop state.
TTmn
The operation of channel n stops triggered
0
No triggering.
1
Clear the TEmn
bit
to "0"
and enter the count stopped state.
When Channel 1
and Channel 3 are in 8-bit timer mode, TTm1 and TTm3 are triggered by the
operation of the low 8-bit timer.
Note: Bit15~12,
10,
8~4
must be
set to
"0".
Note: 1.The
read value of the TTm register is always
"0".
2.m: unit number (m=0,1)n: channel number (m=0: n=0~3, m=1: n=0~7).