![SONIX SN32F107 Скачать руководство пользователя страница 80](http://html1.mh-extra.com/html/sonix/sn32f107/sn32f107_user-manual_1321507080.webp)
SN32F100 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 80
Version 1.9
8
MR2STOP
Stop MR2: TC and PC will stop and CEN bit will be cleared if MR2
matches TC.
0: Disable
1: Enable
R/W
0
7
MR2RST
Enable reset TC when MR2 matches TC.
0: Disable
1: Enable
R/W
0
6
MR2IE
Enable generating an interrupt when MR2 matches the value in the TC.
0: Disable
1: Enable
R/W
0
5
MR1STOP
Stop MR1: TC and PC will stop and CEN bit will be cleared if MR1
matches TC.
0: Disable
1: Enable
R/W
0
4
MR1RST
Enable reset TC when MR1 matches TC.
0: Disable
1: Enable
R/W
0
3
MR1IE
Enable generating an interrupt when MR1 matches the value in the TC.
0: Disable
1: Enable
R/W
0
2
MR0STOP
Stop MR0: TC and PC will stop and CEN bit will be cleared if MR0
matches TC.
0: Disable
1: Enable
R/W
0
1
MR0RST
Enable reset TC when MR0 matches TC.
0: Disable
1: Enable
R/W
0
0
MR0IE
Enable generating an interrupt when MR0 matches the value in the TC.
0: Disable
1: Enable
R/W
0
6.7.7 CT16Bn Match register 0~3 (CT16Bn_MR0~3) (n=0,1)
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
6.7.8 CT16Bn Capture Control register (CT16Bn_CAPCTRL) (n=0,1)
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:7
Reserved
R
0
6:5
CAP0EN
Capture 0 function enable bit
0: Disable
1: Enable Capture 0 function for external Capture pin.
2~3: Reserved.
R/W
0
Содержание SN32F107
Страница 34: ...SN32F100 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 34 Version 1 9 0 Reserved R 0...
Страница 180: ...SN32F100 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 180 Version 1 9 20 2 LQFP 64 PIN...
Страница 181: ...SN32F100 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 181 Version 1 9 20 3 LQFP 80 PIN...