![Geehy SEMICONDUCTOR APM32F405 Series User Manual Download Page 225](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630225.webp)
www.geehy.com Page 224
Field
Name
R/W
Description
1010: DIV=16
,
N=5
1011: DIV=16
,
N=6
1100: DIV=16
,
N=8
1101: DIV=32
,
N=5
1110: DIV=32
,
N=6
1111: DIV=32
,
N=8
Sampling frequency=timer clock frequency/DIV; the filter length=N,
indicating that a jump is generated by every N events.
9:8
CC2SEL R/W
Capture/Compare Channel 2 Select
00: CC2 channel is output
01: CC2 channel is input, and IC2 is mapped on TI1
10: CC2 channel is input, and IC2 is mapped on TI2
11: CC2 channel is input, and IC2 is mapped on TRC, and only works in
internal trigger input
Note: This bit can be written only when the channel is closed
(TMRx_CCEN register CC2EN=0).
11:10 IC2PSC R/W Input Capture Channel 2 Perscaler Configuration
15:12
IC2F
R/W Input Capture Channel 2 Filter Configuration
Capture/Compare mode register 2
(
TMRx_CCM2
)
Offset address: 0x1C
Reset value: 0x0000
Refer to the description of the above CCM1 register.
Output compare mode:
Field
Name
R/W
Description
1:0
CC3SEL
R/W
Capture/Compare Channel 1 Selection
This bit defines the input/output direction and the selected input pin.
00: CC3 channel is output
01: CC3 channel is input, and IC3 is mapped on TI3
10: CC3 channel is input, and IC3 is mapped on TI4
11: CC3 channel is input, and IC3 is mapped on TRC, and only works in
internal trigger input
Note: This bit can be written only when the channel is closed
(TMRx_CCEN register CC3EN=0).
2
OC3FEN R/W
Output Compare Channel3 Fast Enable
0: Disable
1: Enable
This bit is used to improve the response of the capture/compare output to
the trigger input event.
3
OC3PEN R/W Output Compare Channel3 Preload Enable
6:4
OC3MOD R/W Output Compare Channel3 Mode Configure
7
OC3CEN R/W
Output Compare Channel3 Clear Enable
0: OC3REF is unaffected by ETRF input.
1: When high level of ETRF input is detected, OC1REF=0