![Geehy SEMICONDUCTOR APM32F405 Series Скачать руководство пользователя страница 194](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630194.webp)
www.geehy.com Page 193
Field
Name
R/W
Description
11: CC4 channel is input, and IC4 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 CC4EN=0).
10
OC4FEN R/W Output Compare Channel4 Preload Enable
11
OC4PEN R/W Output Compare Channel4 Buffer Enable
14:12 OC4MOD R/W Output Compare Channel4 Mode Configure
15
OC4CEN R/W Output Compare Channel4 Clear Enable
Input capture mode:
Field
Name
R/W
Description
1:0
CC3SEL R/W
Capture/Compare Channel 3 Select
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).
3:2
IC3PSC R/W
Input Capture Channel 3 Perscaler Configuration
00
:
PSC=1
01
:
PSC=2
10
:
PSC=4
11
:
PSC=8
PSC is prescaled factor, which triggers capture once every PSC events.
7:4
IC3F
R/W Input Capture Channel 3 Filter Configuration
9:8
CC4SEL R/W
Capture/Compare Channel 4 Select
00: CC4 channel is output
01: CC4 channel is input, and IC4 is mapped on TI4
10: CC4 channel is input, and IC4 is mapped on TI3
11: CC4 channel is input, and IC4 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 CC4EN=0).
11:10 IC4PSC R/W Input Capture Channel 4 Perscaler Configuration
15:12
IC4F
R/W Input Capture Channel 4 Filter Configuration
Capture/Compare enable register (TMRx_CCEN)
Offset address: 0x20
Reset value: 0x0000
Field
Name
R/W
Description
0
CC1EN
R/W
Capture/Compare Channel1 Output Enable
When the capture/compare channel 1 is configured as output:
0: Output is disabled
1: Output is enabled