
M451
May. 4, 2018
Page
507
of
1006
Rev.2.08
M4
51
S
E
RI
E
S
T
E
CH
NICA
L RE
F
E
R
E
NC
E
M
A
NU
A
L
PWM Interrupt Flag Register 0 (PWM_INTSTS0)
Register
Offset
R/W
Description
Reset Value
PWM_INTSTS
0
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
IFAIF4_5
Reserved
CMPUIF5
CMPUIF4
CMPUIF3
CMPUIF2
CMPUIF1
CMPUIF0
15
14
13
12
11
10
9
8
IFAIF2_3
Reserved
PIF5
PIF4
PIF3
PIF2
PIF1
PIF0
7
6
5
4
3
2
1
0
IFAIF0_1
Reserved
ZIF5
ZIF4
ZIF3
ZIF2
ZIF1
ZIF0
Bits
Description
[31:30]
Reserved
Reserved.
[29:24]
CMPDIFn
PWM Compare Down Count Interrupt Flag
Each bit n controls the corresponding PWM channel n.
Flag is set by hardware when PWM counter down count and reaches PWM_CMPDATn,
software can clear this bit by writing 1 to it.
Note1:
If CMPDAT equal to PERIOD, this flag is not working in down counter type
selection.
Note2:
In complementary mode, CMPDIF1, 3, 5 use as another CMPDIF for channel 0, 2,
4.
[23]
IFAIF4_5
PWM_CH4/5 Interrupt Flag Accumulator Interrupt Flag
Flag is set by hardware when condition match IFSEL4_5 in PWM_IFA register, software
can clear this bit by writing 1 to it.
[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. Each bit n controls the corresponding PWM
channel n.
Note1:
If CMPDAT equal to PERIOD, this flag is not working in up counter type selection.
Note2:
In complementary mode, CMPUIF1, 3, 5 use as another CMPUIF for channel 0, 2,
4.
[15]
IFAIF2_3
PWM_CH2/3 Interrupt Flag Accumulator Interrupt Flag
Flag is set by hardware when condition match IFSEL2_3 in PWM_IFA register, software
can clear this bit by writing 1 to it.
[14]
Reserved
Reserved.
[13:8]
PIFn
PWM Period Point Interrupt Flag
This bit is set by hardware when PWM counter reaches PWM_PERIODn, software can
write 1 to clear this bit to zero. Each bit n controls the corresponding PWM channel n.
[7]
IFAIF0_1
PWM_CH0/1 Interrupt Flag Accumulator Interrupt Flag