![Geehy SEMICONDUCTOR APM32F405 Series User Manual Download Page 217](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630217.webp)
www.geehy.com Page 216
Field
Name
R/W
Description
0: Disable
1: Enable
9:8
CLKDIV
R/W
Clock Divide Factor
For the configuration of dead time and digital filter, CK_INT provides the
clock, and the dead time and the clock of the digital filter can be adjusted
by setting this bit.
00
:
t
DTS
=t
CK_INT
01
:
t
DTS
=2×t
CK_INT
10
:
t
DTS=
4×t
CK_INT
11: Reserved
15:10
Reserved
Control register 2 (TMRx_CTRL2)
Offset address: 0x04
Reset value: 0x0000
Field
Name
R/W
Description
2:0
Reserved
3
CCDSEL
R/W
Capture/compare DMA Select
0: Transmit DMA request of CCx when CCx event occurs
1: Transmit DMA request of CCx when an update event occurs
6:4
MMSEL
R/W
Master Mode Signal Select
The signals of timers working in master mode can be used for TRGO,
which affects the work of timers in slave mode and cascaded with master
timer, and specifically affects the configuration of timers in slave mode.
000: Reset; the reset signal of master mode timer is used for TRGO
001: Enable; the counter enable signal of master mode timer is used for
TRGO
010: Update; the update event of master mode timer is used for TRGO
011: Compare pulses; when the master mode timer captures/compares
successfully (CCxIFLG=1), a pulse signal is output for TRGO
100: Compare mode 1; OC1REF is used to trigger TRGO
101: Compare mode 2; OC2REF is used to trigger TRGO
110: Compare mode 3; OC3REF is used to trigger TRGO
111: Compare mode 4; OC4REF is used to trigger TRGO
7
TI1SEL
R/W
Timer Input 1 Selection
0: TMRx_CH1 pin is connected to TI1 input
1: TMRx_CH1, TMRx_CH2 and TMRx_CH3 pins are connected to TI1
input after exclusive
15:8
Reserved
Slave mode control register (TMRx_SMCTRL)
Offset address: 0x08
Reset value: 0x0000
Field
Name
R/W
Description
2:0
SMFSEL
R/W
Slave Mode Function Select