
M0A21/M0A23 Series
May 06, 2022
Page
394
of 746
Rev 1.02
M0
A21
/M
0
A
2
3
SE
RIES
TEC
H
NICAL
RE
FEREN
C
E
M
ANUAL
PWM Interrupt Flag Register 0 (PWM_INTSTS0)
Register
Offset
R/W
Description
Reset Value
PWM_INTSTS0
0xE8
R/W
PWM Interrupt Flag Register 0
0x0000_0000
31
30
29
28
27
26
25
24
Reserved
CMPDIF5
CMPDIF4
CMPDIF3
CMPDIF2
CMPDIF1
CMPDIF0
23
22
21
20
19
18
17
16
Reserved
CMPUIF5
CMPUIF4
CMPUIF3
CMPUIF2
CMPUIF1
CMPUIF0
15
14
13
12
11
10
9
8
Reserved
PIF4
Reserved
PIF2
Reserved
PIF0
7
6
5
4
3
2
1
0
Reserved
ZIF4
Reserved
ZIF2
Reserved
ZIF0
Bits
Description
[31:30]
Reserved
Reserved.
[24+n]
n=0,1..5
CMPDIFn
PWM Compare Down Count Interrupt Flag
Flag is set by hardware when PWM counter down count and reaches PWM_CMPDATn, software can clear
this bit by writing 1 to it.
Note:
In complementary mode, CMPDIF1, 3, 5 is used as another CMPDIF for channel 0, 2, 4.
[23:22]
Reserved
Reserved.
[21:16]
CMPUIFn
PWM Compare Up Count Interrupt Flag
Flag is set by hardware when PWM counter up count and reaches PWM_CMPDATn, software can clear this
bit by writing 1 to it.
Note:
In complementary mode, CMPUIF1, 3, 5 is used as another CMPUIF for channel 0, 2, 4.
[15:13]
Reserved
Reserved.
[12]
PIF4
PWM Period Point Interrupt Flag 4
This bit is set by hardware when PWM_CH4 counter reaches PWM_PERIOD4.
Note:
This bit can be cleared to 0 by software writing 1.
[11]
Reserved
Reserved.
[10]
PIF2
PWM Period Point Interrupt Flag 2
This bit is set by hardware when PWM_CH2 counter reaches PWM_PERIOD2.
Note:
This bit can be cleared to 0 by software writing 1.
[9]
Reserved
Reserved.
[8]
PIF0
PWM Period Point Interrupt Flag 0
This bit is set by hardware when PWM_CH0 counter reaches PWM_PERIOD0.
Note:
This bit can be cleared to 0 by software writing 1.
[7:5]
Reserved
Reserved.
[4]
ZIF4
PWM Zero Point Interrupt Flag 4
This bit is set by hardware when PWM_CH4 counter reaches 0.