SN32F100 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 91
Version 1.9
0: CT32Bn_PWM1 pin act as GPIO
1: CT32Bn_PWM1 pin act as match output, and output signal depends on
PWM1EN bit.
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:2
Reserved
R
0
1
PWM1EN
PWM1 enable
0: CT32Bn_PWM1 is controlled by EM1.
1: PWM mode is enabled for CT32Bn_PWM1.
R/W
0
0
PWM0EN
PWM0 enable
0: CT32Bn_PWM0 is controlled by EM0.
1: PWM mode is enabled for CT32Bn_PWM0.
R/W
0
7.7.12 CT32Bn Timer Raw Interrupt Status register (CT32Bn_RIS) (n=0,1)
Address Offset: 0x38
This register indicates the raw status for Timer/PWM interrupts. A Timer/PWM interrupt is sent to the interrupt controller
if the corresponding bit in the CT16Bn_IE register is set.
Bit
Name
Description
Attribute
Reset
31:5
Reserved
R
0
4
CAP0IF
Interrupt flag for capture channel 0.
0: No interrupt on CAP0
1: Interrupt requirements met on CAP0.
R
0
3
MR3IF
Interrupt flag for match channel 3.
0: No interrupt on match channel 3
1: Interrupt requirements met on match channel 3.
R
0
2
MR2IF
Interrupt flag for match channel 2.
0: No interrupt on match channel 2
1: Interrupt requirements met on match channel 2.
R
0
1
MR1IF
Interrupt flag for match channel 1.
0: No interrupt on match channel 1
1: Interrupt requirements met on match channel 1.
R
0
0
MR0IF
Interrupt flag for match channel 0.
0: No interrupt on match channel 0
1: Interrupt requirements met on match channel 0.
R
0
7.7.13 CT32Bn Timer Interrupt Clear register (CT32Bn_IC) (n=0,1)
Address Offset: 0x3C
Bit
Name
Description
Attribute
Reset
31:5
Reserved
R
0
4
CAP0IC
0: No effect
1: Clear CAP0IF bit
W
0
3
MR3IC
0: No effect
1: Clear MR3IF bit
W
0
2
MR2IC
0: No effect
1: Clear MR2IF bit
W
0
1
MR1IC
0: No effect
1: Clear MR1IF bit
W
0
0
MR0IC
0: No effect
1: Clear MR0IF bit
W
0