Chapter 25 FlexPWM
MPC5602P Microcontroller Reference Manual, Rev. 4
Freescale Semiconductor
677
25.6.5
Fault channel registers
25.6.5.1
Fault Control Register (FCTRL)
Table 25-17. MCTRL field descriptions
Field
Description
0:3
IPOL[3:0]
Current Polarity
This buffered read/write bit selects between PWMA and PWMB as the source for the generation
of the complementary PWM pair output. IPOL is ignored in independent mode.
PWMB (
) generates complementary PWM pairs.
PWMA (
) generates complementary PWM pairs.
Note:
The IPOL bit does not take effect until a FORCE_OUT event takes place in the appropriate
submodule. Reading the IPOL bit reads the buffered value and not necessarily the value
currently in effect.
4:7
RUN[3:0]
Run
This read/write bit enables the clocks to the PWM generator. When RUN equals zero, the
submodule counter is reset. A reset clears RUN.
0 Do not load new values.
1 PWM generator enabled.
Note:
For proper initialization of the LDOK and RUN bits, see
Section 25.9.5, “Initialization.”
8:11
CLDOK[3:0]
Clear Load Okay
This write only bit clears the LDOK bit. Write a 1 to this location to clear the corresponding LDOK.
If a reload occurs with LDOK set at the same time that CLDOK is written, then the reload will not
be performed and LDOK will be cleared. This bit is self clearing and always reads as a 0.
12:15
LDOK[3:0]
Load Okay
This read/set bit loads the PRSC bits of CTRL1 and the INIT, and VALx registers into a set of
buffers. The buffered prescaler divisor, submodule counter modulus value, and PWM pulse width
take effect at the next PWM reload. Set LDOK by reading it when it is logic zero and then writing
a logic one to it. The VALx, INIT, and PRSC fields cannot be written while LDOK is set. LDOK is
automatically cleared after the new values are loaded, or can be manually cleared before a reload
by writing a logic 1 to CLDOK. This bit cannot be written with a zero. LDOK can be set in DMA
mode when the DMA indicates that it has completed the update of all PRSC, INIT, VALx, fields.
Reset clears LDOK.
0 Do not load new values.
1 Load prescaler, modulus, and PWM values.
Note:
For proper initialization of the LDOK and RUN bits, see
Section 25.9.5, “Initialization.”
Address: Base + 0x014C
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
FLVL
FAUTO
FSAFE
FIE
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 25-26. Fault Control Register (FCTRL)
Содержание SAFE ASSURE Qorivva MPC5601P
Страница 2: ...MPC5602P Microcontroller Reference Manual Rev 4 2 Freescale Semiconductor ...
Страница 4: ...MPC5602P Microcontroller Reference Manual Rev 4 4 Freescale Semiconductor ...
Страница 62: ...Chapter 2 MPC5602P Memory Map MPC5602P Microcontroller Reference Manual Rev 4 62 Freescale Semiconductor ...
Страница 104: ...Chapter 4 Clock Description MPC5602P Microcontroller Reference Manual Rev 4 104 Freescale Semiconductor ...
Страница 128: ...Chapter 6 Power Control Unit MC_PCU MPC5602P Microcontroller Reference Manual Rev 4 128 Freescale Semiconductor ...
Страница 272: ...Chapter 12 e200z0 and e200z0h Core MPC5602P Microcontroller Reference Manual Rev 4 272 Freescale Semiconductor ...
Страница 280: ...Chapter 14 Crossbar Switch XBAR MPC5602P Microcontroller Reference Manual Rev 4 280 Freescale Semiconductor ...
Страница 306: ...Chapter 16 Internal Static RAM SRAM MPC5602P Microcontroller Reference Manual Rev 4 306 Freescale Semiconductor ...
Страница 380: ...Chapter 17 Flash Memory MPC5602P Microcontroller Reference Manual Rev 4 380 Freescale Semiconductor ...
Страница 532: ...Chapter 21 LIN Controller LINFlex MPC5602P Microcontroller Reference Manual Rev 4 532 Freescale Semiconductor ...
Страница 578: ...Chapter 22 FlexCAN MPC5602P Microcontroller Reference Manual Rev 4 578 Freescale Semiconductor ...
Страница 708: ...Chapter 25 FlexPWM MPC5602P Microcontroller Reference Manual Rev 4 708 Freescale Semiconductor ...
Страница 742: ...Chapter 26 eTimer MPC5602P Microcontroller Reference Manual Rev 4 742 Freescale Semiconductor ...
Страница 760: ...Chapter 27 Functional Safety MPC5602P Microcontroller Reference Manual Rev 4 760 Freescale Semiconductor ...
Страница 782: ...Chapter 28 Fault Collection Unit FCU MPC5602P Microcontroller Reference Manual Rev 4 782 Freescale Semiconductor ...
Страница 788: ...Chapter 29 Wakeup Unit WKPU MPC5602P Microcontroller Reference Manual Rev 4 788 Freescale Semiconductor ...
Страница 798: ...Chapter 30 Periodic Interrupt Timer PIT MPC5602P Microcontroller Reference Manual Rev 4 798 Freescale Semiconductor ...
Страница 816: ...Chapter 32 Cyclic Redundancy Check CRC MPC5602P Microcontroller Reference Manual Rev 4 816 Freescale Semiconductor ...
Страница 848: ...Chapter 33 Boot Assist Module BAM MPC5602P Microcontroller Reference Manual Rev 4 848 Freescale Semiconductor ...
Страница 930: ...Chapter 36 Nexus Development Interface NDI MPC5602P Microcontroller Reference Manual Rev 4 930 Freescale Semiconductor ...