SN32F760 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 122
Version 2.0
00: Do Nothing.
01: CT32Bn_PWM3 pin is LOW
10: CT32Bn_PWM3 pin is HIGH
11: Toggle CT32Bn_PWM3 pin.
9:8
EMC2[1:0]
Determines the functionality of CT32Bn_PWM2.
00: Do Nothing.
01: CT32Bn_PWM2 pin is LOW
10: CT32Bn_PWM2 pin is HIGH
11: Toggle CT32Bn_PWM2 pin.
R/W
0
7:6
EMC1[1:0]
Determines the functionality of CT32Bn_PWM1.
00: Do Nothing.
01: CT32Bn_PWM1 pin is LOW
10: CT32Bn_PWM1 pin is HIGH.
11: Toggle CT32Bn_PWM1.
R/W
0
5:4
EMC0[1:0]
Determines the functionality of CT32Bn_PWM0.
00: Do Nothing.
01: CT32Bn_PWM0 pin is LOW
10: CT32Bn_PWM0 pin is HIGH
11: Toggle CT32Bn_PWM0.
R/W
0
3
EM3
When the TC and MR3 are equal, this bit will act according to EMC3 bits,
and also drive the state of CT32Bn_PWM3 output.
R/W
0
2
EM2
When the TC and MR2 are equal, this bit will act according to EMC2 bits,
and also drive the state of CT32Bn_PWM2 output.
R/W
0
1
EM1
When the TC and MR1 are equal, this bit will act according to EMC1 bits,
and also drive the state of CT32Bn_PWM1 output.
R/W
0
0
EM0
When the TC and MR0 are equal, this bit will act according to EMC0 bits,
and also drive the state of CT32Bn_PWM0 output.
R/W
0
9.7.11 CT32Bn PWM Control register (CT32Bn_PWMCTRL) (n=0,1,2)
Address Offset: 0x34
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 three single edge controlled PWM outputs can be selected on the
CT32Bn_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:24
Reserved
R
0
23
PWM3IOEN
CT32Bn_PWM3/GPIO selection bit
0: CT32Bn_PWM3 pin act as GPIO
1: CT32Bn_PWM3 pin act as match output, and output signal depends
on PWM3EN bit.
R/W
0
22
PWM2IOEN
CT32Bn_PWM2/GPIO selection bit
0: CT32Bn_PWM2 pin act as GPIO
1: CT32Bn_PWM2 pin act as match output, and output signal depends
on PWM2EN bit.
R/W
0
21
PWM1IOEN
CT32Bn_PWM1/GPIO selection bit
0: CT32Bn_PWM1 pin act as GPIO
1: CT32Bn_PWM1 pin act as match output, and output signal depends
on PWM1EN bit.
R/W
0
20
PWM0IOEN
CT32Bn_PWM0/GPIO selection bit
0: CT32Bn_PWM0 pin act as GPIO
1: CT32Bn_PWM0 pin act as match output, and output signal depends
on PWM0EN bit.
R/W
0
19:12
Reserved
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...