
NUC126
Aug. 08, 2018
Page
487
of 943
Rev 1.03
NUC12
6 S
E
RI
E
S
T
E
CH
NI
CA
L R
E
F
E
RE
NCE
MA
NUA
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.
[n+24]
n=0,1..5
CMPDIFn
PWM Compare Down Count Interrupt Flag
Flag is set by hardware when PWM counter down count and reaches
CMP(PWM_CMPDATn[15:0]), software can clear this bit by writing 1 to it. Each bit n
controls the corresponding PWM channel n.
Note1:
If CMP equal to PERIOD, this flag is not working in down counter type selection.
Note2:
In complementary mode, CMPDIF1, 3, 5 is used as another CMPDIF for channel
0, 2, 4.
[23]
IFAIF4_5
PWM Channel 4/5 Interrupt Flag Accumulator Interrupt Flag
Flag is set by hardware when condition match IFSEL4_5 bits in PWM_IFA register,
software can clear this bit by writing 1 to it.
[22]
Reserved
Reserved.
[n+16]
n=0,1..5
CMPUIFn
PWM Compare Up Count Interrupt Flag
Flag
is
set
by
hardware
when
PWM
counter
up
count
and
reaches
CMP(PWM_CMPDATn[15:0]), software can clear this bit by writing 1 to it. Each bit n
controls the corresponding PWM channel n.
Note1:
If CMP equal to PERIOD, this flag is not working in up counter type selection.
Note2:
In complementary mode, CMPUIF1, 3, 5 is used as another CMPUIF for channel
0, 2, 4.
[15]
IFAIF2_3
PWM Channel 2/3 Interrupt Flag Accumulator Interrupt Flag
Flag is set by hardware when condition match IFSEL2_3 bits in PWM_IFA register,
software can clear this bit by writing 1 to it.
[14]
Reserved
Reserved.
[n+8]
n=0,1..5
PIFn
PWM Period Point Interrupt Flag
This bit is set by hardware when PWM counter reaches PERIOD(PWM_PERIODn[15:0]),
software can write 1 to clear this bit to zero. Each bit n controls the corresponding PWM
channel n.
[7]
IFAIF0_1
PWM Channel 0/1 Interrupt Flag Accumulator Interrupt Flag