
M451
May. 4, 2018
Page
513
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 Accumulator Register (PWM_IFA)
Register
Offset
R/W
Description
Reset Value
PWM_IFA
0xF0
R/W
PWM Interrupt Flag Accumulator Register
0x0000_0000
31
30
29
28
27
26
25
24
Reserved
23
22
21
20
19
18
17
16
IFAEN4_5
IFSEL4_5
IFCNT4_5
15
14
13
12
11
10
9
8
IFAEN2_3
IFSEL2_3
IFCNT2_3
7
6
5
4
3
2
1
0
IFAEN0_1
IFSEL0_1
IFCNT0_1
Bits
Description
[31:24]
Reserved
Reserved.
[23]
IFAEN4_5
PWM_CH4 and PWM_CH5 Interrupt Flag Accumulator Enable Bit
0 = PWM_CH4 and PWM_CH5 interrupt flag accumulator Disabled.
1 = PWM_CH4 and PWM_CH5 interrupt flag accumulator Enabled.
[22:20]
IFSEL4_5
PWM_CH4 and PWM_CH5 Interrupt Flag Accumulator Source Select
000 = CNT equal to Zero in channel 4.
001 = CNT equal to PERIOD in channel 4.
010 = CNT equal to CMPU in channel 4.
011 = CNT equal to CMPD in channel 4.
100 = CNT equal to Zero in channel 5.
101 = CNT equal to PERIOD in channel 5.
110 = CNT equal to CMPU in channel 5.
111 = CNT equal to CMPD in channel 5.
[19:16]
IFCNT4_5
PWM_CH4 and PWM_CH5 Interrupt Flag Counter
The register sets the count number which defines how many times of PWM_CH4 and
PWM_CH5 period occurs to set bit IFAIF4_5 to request the PWM period interrupt.
IFAIF4_5 (PWM_INTSTS0[23]) will be set in every I1 times of PWM period.
[15]
IFAEN2_3
PWM_CH2 and PWM_CH3 Interrupt Flag Accumulator Enable Bit
0 = PWM_CH2 and PWM_CH3 interrupt flag accumulator Disabled.
1 = PWM_CH2 and PWM_CH3 interrupt flag accumulator Enabled.
[14:12]
IFSEL2_3
PWM_CH2 and PWM_CH3 Interrupt Flag Accumulator Source Select
000 = CNT equal to Zero in channel 2.
001 = CNT equal to PERIOD in channel 2.
010 = CNT equal to CMPU in channel 2.
011 = CNT equal to CMPD in channel 2.
100 = CNT equal to Zero in channel 3.
101 = CNT equal to PERIOD in channel 3.