SN32F100 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 81
Version 1.9
4
CAP0IE
Interrupt on CT16Bn_CAP0 signal event: a CAP0 load due to a
CT16Bn_CAP0 signal event will generate an interrupt.
0: Disable
1: Enable
R/W
0
3:2
CAP0FE
Capture/Reset on CT16Bn_CAP0 signal falling edge.
0: Disable
1: Enable a sequence of 1 then 0 on CT16Bn_CAP0 signal will cause
CAP0 to be loaded with the contents of TC.
2: Enable a sequence of 1 then 0 on CT16Bn_CAP0 signal will reset the
TC.
3: Reserved.
R/W
0
1:0
CAP0RE
Capture/Reset on CT16Bn_CAP0 signal rising edge.
0: Disable
1: Enable a sequence of 0 then 1 on CT16Bn_CAP0 signal will cause
CAP0 to be loaded with the contents of TC.
2: Enable a sequence of 0 then 1 on CT16Bn_CAP0 signal will reset the
TC.
3: Reserved.
R/W
0
6.7.9 CT16Bn Capture 0 register (CT16Bn_CAP0) (n=0,1)
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
6.7.10 CT16Bn External Match register (CT16Bn_EM) (n=0,1)
Address Offset: 0x30
The External Match register provides both control and status of CT16Bn_PWM[0]. If the match outputs are configured
as PWM output, the function of the external match registers is determined by the
Bit
Name
Description
Attribute
Reset
31:6
Reserved
R
0
5:4
EMC0[1:0]
Determines the functionality of CT16Bn_PWM0.
00: Do Nothing.
01: CT16Bn_PWM0 pin is LOW
10: CT16Bn_PWM0 pin is HIGH
11: Toggle CT16Bn_PWM0.
R/W
0
3:1
Reserved
R
0
0
EM0
When the TC and MR0 are equal, this bit will act according to EMC0 bits,
and also drive the state of CT16Bn_PWM0 output.
R/W
0
6.7.11 CT16Bn PWM Control register (CT16Bn_PWMCTRL) (n=0,1)
Address Offset: 0x34
The PWM Control register is used to configure the match outputs as PWM outputs. Each match output can be
in-dependently set to perform either as PWM output or as match output whose function is controlled by
register.
For each timer, a maximum of three single edge controlled PWM outputs can be selected on the CT16Bn_PWMCTRL
[0] outputs. One additional match register determines the PWM cycle length. When a match occurs in any of the other
match registers, the PWM output is set to HIGH. The timer is reset by the match register that is configured to set the
PWM cycle length. When the timer is reset to zero, all currently HIGH match outputs configured as PWM outputs are
cleared.
Содержание 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...