S3S12HZ256J3CAA FREESCALE [Freescale Semiconductor, Inc], S3S12HZ256J3CAA Datasheet - Page 269

no-image

S3S12HZ256J3CAA

Manufacturer Part Number
S3S12HZ256J3CAA
Description
HCS12 Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
9.3.2.5
Each duty cycle register sets the sign and duty functionality for the respective PWM channel.
The contents of the duty cycle registers define DUTY, the number of motor controller timer counter clocks
the corresponding output is driven low (RECIRC = 0) or is driven high (RECIRC = 1). Setting all bits to 0
will give a static high output in case of RECIRC = 0; otherwise, a static low output. Values greater than
or equal to the contents of the period register will generate a static low output in case of RECIRC = 0, or
a static high output if RECIRC = 1. The layout of the duty cycle registers differ dependent upon the state
of the FAST bit in the control register 0.
Freescale Semiconductor
Reset
Reset
W
W
R
R
15
15
S
S
0
0
Motor Controller Duty Cycle Registers
The PWM motor controller 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 PWM motor controller.
= Unimplemented or Reserved
= Unimplemented or Reserved
Figure 9-8. Motor Controller Duty Cycle Register x (MCDCx) with FAST = 0
D8
Figure 9-9. Motor Controller Duty Cycle Register x (MCDCx) with FAST = 1
14
14
S
0
0
CD[1:0]
D7
13
13
S
0
0
00
01
10
11
D6
12
12
S
0
0
D5
11
11
S
0
0
MC9S12HZ256 Data Sheet, Rev. 2.04
D10
Table 9-8. Channel Delay
D4
10
10
0
0
D9
D3
9
0
9
0
NOTE
n [# of PWM Clocks]
D8
D2
8
0
8
0
0
1
2
3
D7
7
0
7
0
0
D6
6
0
6
0
0
D5
5
0
5
0
0
Chapter 9 Motor Controller (MC10B8CV1)
D4
4
0
4
0
0
D3
3
0
3
0
0
D2
2
0
2
0
0
D1
1
0
1
0
0
D0
0
0
0
0
0
269

Related parts for S3S12HZ256J3CAA