PWMA_SMnCTRL2 field descriptions (continued)
Field
Description
14
WAITEN
WAIT Enable
When set to one, the PWM will continue to run while the chip is in WAIT mode. In this mode, the
peripheral clock continues to run but the CPU clock does not. If the device enters WAIT mode and this bit
is zero, then the PWM outputs will be disabled until WAIT mode is exited. At that point the PWM pins will
resume operation as programmed in the PWM registers.
For certain types of motors (such as 3-phase AC), it is imperative that this bit be left in its default state (in
which the PWM is disabled in WAIT mode). Failure to do so could result in damage to the motor or
inverter. For other types of motors (example: DC motors), this bit might safely be set to one, enabling the
PWM in WAIT mode. The key point is PWM parameter updates will not occur in this mode. Any motors
requiring such updates should be disabled during WAIT mode. If in doubt, leave this bit set to zero.
13
INDEP
Independent or Complementary Pair Operation
This bit determines if the PWM_A and PWM_B channels will be independent PWMs or a complementary
PWM pair.
0
PWM_A and PWM_B form a complementary PWM pair.
1
PWM_A and PWM_B outputs are independent PWMs.
12
PWM23_INIT
PWM23 Initial Value
This read/write bit determines the initial value for PWM23 and the value to which it is forced when
FORCE_INIT is asserted.
11
PWM45_INIT
PWM45 Initial Value
This read/write bit determines the initial value for PWM45 and the value to which it is forced when
FORCE_INIT is asserted.
10
PWMX_INIT
PWM_X Initial Value
This read/write bit determines the initial value for PWM_X and the value to which it is forced when
FORCE_INIT is asserted.
9–8
INIT_SEL
Initialization Control Select
These read/write bits control the source of the INIT signal which goes to the counter.
00
Local sync (PWM_X) causes initialization.
01
Master reload from submodule 0 causes initialization. This setting should not be used in submodule 0
as it will force the INIT signal to logic 0. The submodule counter will only reinitialize when a master
reload occurs.
10
Master sync from submodule 0 causes initialization. This setting should not be used in submodule 0
as it will force the INIT signal to logic 0.
11
EXT_SYNC causes initialization.
7
FRCEN
Force Initialization Enable
This bit allows the CTRL2[FORCE] signal to initialize the counter without regard to the signal selected by
CTRL2[INIT_SEL]. This is a software controlled initialization.
0
Initialization from a FORCE_OUT event is disabled.
1
Initialization from a FORCE_OUT event is enabled.
6
FORCE
Force Initialization
If CTRL2[FORCE_SEL] is set to 000, writing a 1 to this bit results in a FORCE_OUT event. This causes
the following actions to be taken:
Table continues on the next page...
Memory Map and Registers
KV4x Reference Manual, Rev. 2, 02/2015
782
Preliminary
Freescale Semiconductor, Inc.
Содержание freescale KV4 Series
Страница 2: ...KV4x Reference Manual Rev 2 02 2015 2 Preliminary Freescale Semiconductor Inc...
Страница 60: ...KV4x Reference Manual Rev 2 02 2015 60 Preliminary Freescale Semiconductor Inc...
Страница 82: ...JTAG Controller Configuration KV4x Reference Manual Rev 2 02 2015 82 Preliminary Freescale Semiconductor Inc...
Страница 88: ...System Register file KV4x Reference Manual Rev 2 02 2015 88 Preliminary Freescale Semiconductor Inc...
Страница 128: ...Debug Security KV4x Reference Manual Rev 2 02 2015 128 Preliminary Freescale Semiconductor Inc...
Страница 138: ...Boot KV4x Reference Manual Rev 2 02 2015 138 Preliminary Freescale Semiconductor Inc...
Страница 150: ...Pinout diagrams KV4x Reference Manual Rev 2 02 2015 150 Preliminary Freescale Semiconductor Inc...
Страница 170: ...Functional description KV4x Reference Manual Rev 2 02 2015 170 Preliminary Freescale Semiconductor Inc...
Страница 212: ...Functional description KV4x Reference Manual Rev 2 02 2015 212 Preliminary Freescale Semiconductor Inc...
Страница 284: ...Functional description KV4x Reference Manual Rev 2 02 2015 284 Preliminary Freescale Semiconductor Inc...
Страница 294: ...Functional description KV4x Reference Manual Rev 2 02 2015 294 Preliminary Freescale Semiconductor Inc...
Страница 330: ...Functional description KV4x Reference Manual Rev 2 02 2015 330 Preliminary Freescale Semiconductor Inc...
Страница 450: ...Initialization application information KV4x Reference Manual Rev 2 02 2015 450 Preliminary Freescale Semiconductor Inc...
Страница 512: ...Interrupts and DMA Requests KV4x Reference Manual Rev 2 02 2015 512 Preliminary Freescale Semiconductor Inc...
Страница 520: ...Memory Map and Register Descriptions KV4x Reference Manual Rev 2 02 2015 520 Preliminary Freescale Semiconductor Inc...
Страница 580: ...Initialization Application information KV4x Reference Manual Rev 2 02 2015 580 Preliminary Freescale Semiconductor Inc...
Страница 660: ...Functional description KV4x Reference Manual Rev 2 02 2015 660 Preliminary Freescale Semiconductor Inc...
Страница 1038: ...Example configuration for chained timers KV4x Reference Manual Rev 2 02 2015 1038 Preliminary Freescale Semiconductor Inc...
Страница 1074: ...Functional description KV4x Reference Manual Rev 2 02 2015 1074 Preliminary Freescale Semiconductor Inc...
Страница 1168: ...Initialization application information KV4x Reference Manual Rev 2 02 2015 1168 Preliminary Freescale Semiconductor Inc...
Страница 1264: ...Initialization application information KV4x Reference Manual Rev 2 02 2015 1264 Preliminary Freescale Semiconductor Inc...
Страница 1336: ...Functional description KV4x Reference Manual Rev 2 02 2015 1336 Preliminary Freescale Semiconductor Inc...
Страница 1358: ...KV4x Reference Manual Rev 2 02 2015 1358 Preliminary Freescale Semiconductor Inc...