Reload Flag - NXP Semiconductors freescale KV4 Series Reference Manual

Table of Contents

Advertisement

Counter
Reload
Change
Reload
Frequency
Figure 37-252. Half Cycle Reload Frequency Change
Counter
Reload
Change
Reload
Frequency
Figure 37-253. Full and Half Cycle Reload Frequency Change

37.5.3.3 Reload Flag

At every reload opportunity the PWM Reload Flag (STS[RF]) is set. Setting STS[RF]
happens even if an actual reload is prevented by MCTRL[LDOK]. If the PWM reload
interrupt enable bit, INTEN[RIE], is set, the STS[RF] flag generates CPU interrupt
requests allowing software to calculate new PWM parameters in real time. When
INTEN[RIE] is not set, reloads still occur at the selected reload rate without generating
CPU interrupt requests.
WRITE 1 TO RF
PWM RELOAD
Freescale Semiconductor, Inc.
to every four
Every two
opportunities
opportunities
Every two
to every four
opportunities
opportunities
RESET
V
DD
CLR
D
CLK
Figure 37-254. PWMF Reload Interrupt Request
KV4x Reference Manual, Rev. 2, 02/2015
Preliminary
Chapter 37 Pulse Width Modulator A (PWMA/eFlexPWM)
to every
opportunity
to every
opportunity
RF
Q
CPU INTERRUPT
REQUEST
RIE
to every two
opportunities
857

Advertisement

Table of Contents
loading

Table of Contents