SN32F280 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 137
Version 1.1
7:6
PWM1M0DE[1:0]
PWM1 output mode
00: PWM mode 1
PWM1 is 0 when TC<MR1 during Up-counting period
PWM1 is 0 when TC≤MR1 during Down-counting period
01: PWM mode 2
PWM1 is 1 when TC<MR1 during Up-counting period
PWM1 is 1 when TC≤MR1 during Down-counting period
10: PWM1 is forced to 0.
11: PWM1 is forced to 1.
R/W
0
5:4
PWM0M0DE[1:0]
PWM0 output mode
00: PWM mode 1
PWM0 is 0 when TC<MR0 during Up-counting period
PWM0 is 0
when TC≤MR0 during Down-counting period
01: PWM mode 2
PWM0 is 1 when TC<MR0 during Up-counting period
PWM0 is 1 when TC≤MR0 during Down-counting period
10: PWM0 is forced to 0.
11: PWM0 is forced to 1.
R/W
0
3:2
Reserved
R
0
1
PWM1EN
PWM1 enable
0: CT16Bn_PWM1 is controlled by EMC1.
1: PWM mode is enabled for CT16Bn_PWM1.
R/W
0
0
PWM0EN
PWM0 enable
0: CT16Bn_PWM0 is controlled by EMC0.
1: PWM mode is enabled for CT16Bn_PWM0.
R/W
0
10.8.25 CT16Bn PWM Control register (CT16Bn_PWMCTRL) (n=1)
Address Offset: 0x98
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 CT16B1, a maximum of 12 single edge controlled PWM outputs can be selected on the CT16Bn_PWMCTRL[11: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:24
Reserved
R
0
23:22
PWM11MODE[1:0]
PWM11 output
00: PWM mode 1
PWM11 is 0 when TC<MR11 during Up-counting period
01: PWM mode 2
PWM11 is 1 when TC<MR11 during Up-counting period
10: PWM11 is forced to 0.
11: PWM11 is forced to 1.
R/W
0
21:20
PWM10MODE[1:0]
PWM10 output
00: PWM mode 1
PWM10 is 0 when TC<MR10 during Up-counting period
01: PWM mode 2
PWM10 is 1 when TC<MR10 during Up-counting period
10: PWM10 is forced to 0.
11: PWM10 is forced to 1.
R/W
0
19:18
PWM9M0DE[1:0]
PWM9 output mode
00: PWM mode 1
PWM9 is 0 when TC<MR9 during Up-counting period
PWM9 is 1 when TC<MR9 during Up-counting period
10: PWM9 is forced to 0.
11: PWM9 is forced to 1.
R/W
0
17:16
PWM8M0DE[1:0]
PWM8 output mode
R/W
0