English
Language : 

PXD10RM Datasheet, PDF (1139/1332 Pages) Freescale Semiconductor, Inc – PXD10 Microcontroller
Field
MCOM
MCAM
CD
Table 35-7. MCCCx Field Descriptions
Description
Output Mode — MCOM controls the PWM channel’s output mode.
00 Half H-bridge mode, PWM on pin MnCxM, pin MnCxP is released
01 Half H-bridge mode, PWM on pin MnCxP, pin MnCxM is released
10 Full H-bridge mode
11 Dual full H-bridge mode
PWM Channel Alignment Mode — MCAM controls the PWM channel’s PWM alignment mode and
operation.
MCAM and MCOM are double buffered. The values used for the generation of the output waveform
will be copied to the working registers either at once (if all PWM channels are disabled or
MCPER[PER] is set to 0) or if a timer counter overflow occurs. Reads of the register return the most
recent written value, which are not necessarily the currently active values.
00 Channel disabled
01 Left aligned
10 Right aligned
11 Center aligned
PWM Channel Delay — Each PWM channel can be individually delayed by a programmable number
of PWM timer counter clocks. The delay will be n/fTC.
00 Zero PWM clocks channel delay
01 One PWM clock channel delay
10 Two PWM clocks channel delay
11 Three PWM clocks channel delay
NOTE
The SMC will release the pins after the next PWM timer counter overflow
without accommodating any channel delay if a single channel has been
disabled or if the period register has been cleared or all channels have been
disabled. Program one or more inactive PWM frames (duty cycle = 0)
before writing a configuration that disables a single channel or the entire
SMC.
35.3.2.5 Motor Controller Duty Cycle Register (MCDC0..11)
Each duty cycle register sets the sign and duty functionality for the respective PWM channel. The number
of each register refires directly the PWM channel it controls. The relation between channels, pin names
and register names is shown in Table 35-19.
Offset Module Base + 0x0020 . . . 0x0037
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
R SIGN
W [4]
SIGN[3:0]
DUTY
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Figure 35-6. Motor Controller Duty Cycle Register (MCDC0..11)
Freescale Semiconductor
PXD10 Microcontroller Reference Manual, Rev. 1
Preliminary—Subject to Change Without Notice
35-11