mc9s12hz256v2 Freescale Semiconductor, Inc, mc9s12hz256v2 Datasheet - Page 268

no-image

mc9s12hz256v2

Manufacturer Part Number
mc9s12hz256v2
Description
Hcs12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Chapter 9 Motor Controller (MC10B8CV1)
9.3.2.4
Each PWM channel has one associated control register to control output delay, PWM alignment, and
output mode. The registers are named MCCC0... MCCC7. In the following, MCCC0 is described as a
reference for all eight registers.
268
MCOM[1:0]
MCAM[1:0]
Reset
CD[1:0]
Field
7:6
5:4
1:0
W
R
MCOM1
Output Mode — MCOM1, MCOM0 control the PWM channel’s output mode. See
PWM Channel Delay — Each PWM channel can be individually delayed by a programmable number of PWM
PWM Channel Alignment Mode — MCAM1, MCAM0 control the PWM channel’s PWM alignment mode and
Motor Controller Channel Control Registers
7
0
Figure 9-7. Motor Controller Control Register Channel 0–7 (MCCC0–MCCC7)
operation. See
MCAM[1:0] and MCOM[1:0] 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 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.
timer counter clocks. The delay will be n/f
MCOM[1:0]
MCAM[1:0]
= Unimplemented or Reserved
MCOM0
00
01
10
11
00
01
10
11
6
0
Table
Table 9-5. MCCC0–MCCC7 Field Descriptions
9-7.
Half H-bridge mode, PWM on MnCxM, MnCxP is released
Half H-bridge mode, PWM on MnCxP, MnCxM is released
MCAM1
MC9S12HZ256 Data Sheet, Rev. 2.05
Table 9-7. PWM Alignment Mode
5
0
Table 9-6. Output Mode
MCAM0
Dual full H-bridge mode
PWM Alignment Mode
TC
4
0
Full H-bridge mode
. See
Channel disabled
Center aligned
Output Mode
Right aligned
Description
Left aligned
Table
9-8.
3
0
0
2
0
0
Table
Freescale Semiconductor
CD1
9-6.
1
0
CD0
0
0

Related parts for mc9s12hz256v2