SN32F260 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 78
Version 1.5
01: PWM mode 2.
PWM17 is 1 when TC<MR17 during Up-counting period.
10: PWM17 is forced to 0.
11: PWM17 is forced to 1.
1:0
PWM16MODE[1:0]
PWM16 output.
00: PWM mode 1.
PWM16 is 0 when TC<MR16 during Up-counting period.
01: PWM mode 2.
PWM16 is 1 when TC<MR16 during Up-counting period.
10: PWM16 is forced to 0.
11: PWM16 is forced to 1.
R/W
0
6.7.19 CT16Bn PWM Enable register (CT16Bn_PWMENB) (n=1)
Address Offset: 0x9C
The PWM Control register is used to configure the match outputs as PWM outputs. Each match output can be
independently set to perform either as PWM output or as match output whose function is controlled by
register.
For each timer, a maximum of 4 single edge controlled PWM outputs can be selected on the CT16Bn_PWMCTRL[3: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.
Bit
Name
Description
Attribute
Reset
31:23
Reserved
R
0
22
PWM22EN
PWM22 enable.
0: CT16Bn_PWM22 is controlled by EM22.
1: PWM mode is enabled for CT16Bn_PWM22.
R/W
0
21
PWM21EN
PWM21 enable.
0: CT16Bn_PWM21 is controlled by EM21.
1: PWM mode is enabled for CT16Bn_PWM21.
R/W
0
20
Reserved
R
0
19
PWM19EN
PWM19 enable.
0: CT16Bn_PWM19 is controlled by EM19.
1: PWM mode is enabled for CT16Bn_PWM19.
R/W
0
18
PWM18EN
PWM18 enable.
0: CT16Bn_PWM18 is controlled by EM18.
1: PWM mode is enabled for CT16Bn_PWM18.
R/W
0
17
PWM17EN
PWM17 enable.
0: CT16Bn_PWM17 is controlled by EM17.
1: PWM mode is enabled for CT16Bn_PWM17.
R/W
0
16
PWM16EN
PWM16 enable.
0: CT16Bn_PWM16 is controlled by EM16.
1: PWM mode is enabled for CT16Bn_PWM16.
R/W
0
15
PWM15EN
PWM15 enable.
0: CT16Bn_PWM15 is controlled by EM15.
1: PWM mode is enabled for CT16Bn_PWM15.
R/W
0
14
PWM14EN
PWM14 enable.
0: CT16Bn_PWM14 is controlled by EM14.
1: PWM mode is enabled for CT16Bn_PWM14.
R/W
0
13
PWM13EN
PWM13 enable.
0: CT16Bn_PWM13 is controlled by EM13.
1: PWM mode is enabled for CT16Bn_PWM13.
R/W
0
12
PWM12EN
PWM12 enable.
0: CT16Bn_PWM12 is controlled by EM12.
1: PWM mode is enabled for CT16Bn_PWM12.
R/W
0
11
PWM11EN
PWM11 enable.
0: CT16Bn_PWM11 is controlled by EM11.
1: PWM mode is enabled for CT16Bn_PWM11.
R/W
0