www.geehy.com Page 208
Field
Name
R/W
Description
trigger, capture, external clock and trigger mode).
2
CC1NEN
R/W
Capture/Compare Channel1 Complementary Output Enable
0: Disable
1: Enable
3
CC1NPOL
R/W
Complementary output polarity of capture/compare channel 1
(Capture/Compare Channel1 Complementary Output Polarity)
0: OC1N high level is valid
1: OC1N low level is valid
Note: When the protection level is 2 or 3, this bit cannot be modified
15:4
Reserved
Counter register (TMRx_CNT)
Offset address: 0x24
Reset value: 0x0000
Field Name
R/W
Description
15:0
CNT
R/W
Counter Value
Prescaler register (TMRx_PSC)
Offset address: 0x28
Reset value: 0x0000
Field
Name R/W
Description
15:0
PSC
R/W
Prescaler Value
Clock frequency of counter (CK_CNT)
=
f
CK_PSC
/(PSC+1).
Auto reload register (TMRx_AUTORLD)
Offset address: 0x2C
Reset value: 0xFFFF
Field
Name
R/W
Description
15:0
AUTORLD R/W
Auto Reload Value
When the value of auto reload is empty, the counter will not count.
Repeat count register (TMRx_REPCNT)
Offset address: 0x30
Reset value: 0x0000
Field
Name
R/W
Description
7:0
REPCNT R/W
Repeat counter value (Repetition Counter Value
When the count value of the repeat counter is reduced to 0, an update event
will be generated, and the counter will start counting again from the REPCNT
value; the new value newly written to this register is valid only when an
update event occurs in next cycle.
15:8
Reserved
Channel 1 capture/compare register (TMRx_CC1)
Offset address: 0x34
Reset value: 0x0000