SN32F760 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 107
Version 2.0
8.7.7
CT16Bn Match register 0~3 (CT16Bn_MR0~3) (n=0,1,2)
Address Offset: 0x18, 0x1C, 0x20, 0x24
The Match register values are continuously compared to the Timer Counter (TC) value. When the two values are equal,
actions can be triggered automatically. The action possibilities are to generate an interrupt, reset the Timer Counter, or
stop the timer. Actions are controlled by the settings in the CT16Bn_MCTRL register.
Bit
Name
Description
Attribute
Reset
31:16
Reserved
R
0
15:0
MR[15:0]
Timer counter match value
R/W
0
8.7.8
CT16Bn Capture Control register (CT16Bn_CAPCTRL) (n=0,1,2)
Address Offset: 0x28
The Capture Control register is used to control whether the Capture register is loaded with the value in the
Counter/timer when the capture event occurs, and whether an interrupt is generated by the capture event. Setting both
the rising and falling bits at the same time is a valid configuration, resulting in a capture event for both edges.
Note: HW will switch I/O Configuration directly when CAP0EN=1.
Bit
Name
Description
Attribute
Reset
31:4
Reserved
R
0
3
CAP0EN
Capture 0 function enable bit
0: Disable
1: Enable.
R/W
0
2
CAP0IE
Interrupt on CT16Bn_CAP0 event: a CAP0 load due to a CT16Bn_CAP0
event will generate an interrupt.
0: Disable
1: Enable
R/W
0
1
CAP0FE
Capture on CT16Bn_CAP0 falling edge: a sequence of 1 then 0 on
CT16Bn_CAP0 will cause CAP0 to be loaded with the contents of TC.
0: Disable
1: Enable
R/W
0
0
CAP0RE
Capture on CT16Bn_CAP0 rising edge: a sequence of 0 then 1 on
CT16Bn_CAP0 will cause CAP0 to be loaded with the contents of TC.
0: Disable
1: Enable
R/W
0
8.7.9
CT16Bn Capture 0 register (CT16Bn_CAP0) (n=0,1,2)
Address Offset: 0x2C
Each Capture register is associated with a device pin and may be loaded with the counter/timer value when a specified
event occurs on that pin. The settings in the Capture Control register determine whether the capture function is
enabled, and whether a capture event happens on the rising edge of the associated pin, the falling edge, or on both
edges.
Bit
Name
Description
Attribute
Reset
31:16
Reserved
R
0
15:0
CAP0[15:0]
Timer counter capture value
R
0
Содержание SN32F755
Страница 218: ...SN32F760 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 218 Version 2 0 22 2 LQFP 64 PIN...
Страница 220: ...SN32F760 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 220 Version 2 0 22 4 QFN 46 PIN...
Страница 221: ...SN32F760 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 221 Version 2 0 22 5 QFN 33 PIN 5x5...