![Cmsemicon BAT32G1 9 Series Скачать руководство пользователя страница 152](http://html1.mh-extra.com/html/cmsemicon/bat32g1-9-series/bat32g1-9-series_user-manual_2627609152.webp)
BAT32G1x9 user manual | Chapter 6 Universal timer unit Timer4/8
152 / 1149
Rev.1.02
Note: 1. Bit11
is a read-only bit, fixed to
"0", ignoring write operations.
Remark: 1. Bit13,
5,
4
must be
placed with "0".
2. To change the clock selected as
f
CLK
(change the value of the System Clock Control Register (CKC)), even if the
CKSmn0
bit and
CKSmn1
bits are selected, the specified operating clock (f
MCK
) or the
effective edge of the input
signal of the TImn pin as a counting clock
(f
TCLK
), must also stop the timer array
monolithic
(
f TCLK
TTm=0,10FFH)
。
Note: m: unit number (m=0,1) n: channel number (when m=0: n=0~3, m=1: n=0~7).
Figure 6-9 timer mode register mn (TMRmn) (2/4).
symbol
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
RMRMN
(
n=2,4,6
)
CKSmn
1
CKSmn
0
0
CCSmn
MASTER
mn
STSm
n2
STSm
n1
STSm
n0
CISm
n1
CISm
n0
0
0
MDm
n3
MDm
n2
MDm
n1
MDm
n0
symbol
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
RMRMN
(n=1.3)
CKSmn
1
CKSmn
0
0
CCSmn
SPLITmn
STSm
n2
STSm
n1
STSm
n0
CISm
n1
CISm
n0
0
0
MDm
n3
MDm
n2
MDm
n1
MDm
n0
symbol
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
RMRMN
(n=0,5,7)
CKSmn
1
CKSmn
0
0
CCSmn
0
Note 1
STSm
n2
STSm
n1
STSm
n0
CISm
n1
CISm
n0
0
0
MDm
n3
MDm
n2
MDm
n1
MDm
n0
(TMRmn(n=2,4,6) bit11)
MASTERmn
The choice of independent channel operation/multi-channel linkage operation (subordinate or
master) of channel n
0
A slave channel that is used as a stand-alone channel operation function or a multi-channel
linkage operation function.
1
It is used as the main control channel of the multi-channel linkage operation function.
Channels 2, 4, 6
can only be set as the main control channel
(MASTERmn=1).
Channel 0
is fixed to
"0"
(because channel 0 is the channel with the highest bit, it is
irrelevant to the setting of this bit and is used as the master channel). For channels used as
stand-alone channel operation functions, place the MASTERmn
position
"0".
(TMRmn(n=1,3) bit11)
SPLITmn
Operational selection for
8-bit timers/16-bit
timers for
Channel 1 and Channel
3
0
Used as a 16-bit
timer.
(Used as a slave channel for stand-alone channel operation function or multi-channel linkage
operation function)
1
Acts
as an 8-bit timer.
STSmn2
STSmn1
STSmn0
The start trigger of channel n and the setting of the capture trigger
0
0
0
Only software triggers start to work (no other trigger source is selected).
0
0
1
Use the effective edge of the TImn
pin input for start triggering and
capture triggering.
0
1
0
Use the bilateral edges of the TImn
pin input for start triggering and
capture triggering, respectively.
1
0
0
Use the interrupt signal of the master channel (in the case of slave
channels for multi-channel linkage operation).
Other than the above
Disable settings.
Note: 1. bit11
is a read-only bit, fixed to
"0", ignoring write operations.
Note: m: unit number (m=0,1) n: channel number (when m=0: n=0~3, m=1: n=0~7).