mc9s12hz256v2 Freescale Semiconductor, Inc, mc9s12hz256v2 Datasheet - Page 265

no-image

mc9s12hz256v2

Manufacturer Part Number
mc9s12hz256v2
Description
Hcs12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
9.3.2
9.3.2.1
This register controls the operating mode of the motor controller module.
Freescale Semiconductor
MCPRE[1:0]
MCSWAI
Reset
MCTOIF
FAST
Field
DITH
6:5
4
3
2
0
W
R
1
Write accesses to “Reserved” addresses have no effect. Read accesses to “Reserved” addresses provide
invalid data (0x0000).
0x003E
0x003F
Offset
Register Descriptions
Motor Controller Module Stop in Wait Mode
0 Entering wait mode has no effect on the motor controller module and the associated port pins maintain the
1 Entering wait mode will stop the clock of the module and debias the analog circuitry. The
0 PWM operates in 11-bit resolution mode, duty cycle registers of all channels are switched to word mode.
1 PWM operates in 7-bit resolution (fast) mode, duty cycle registers of all channels are switched to byte mode.
0 Dither feature is disabled.
1 Dither feature is enabled.
0 A motor controller timer counter overflow has not occurred since the last reset or since the bit was cleared.
1 A motor controller timer counter overflow has occurred.
Motor Controller Prescaler Select — MCPRE1 and MCPRE0 determine the prescaler value that sets the
Motor Controller PWM Resolution Mode
Motor Control/Driver Dither Feature Enable (refer to
Motor Controller Timer Counter Overflow Interrupt Flag — This bit is set when a motor controller timer
Motor Controller Control Register 0
7
0
0
functionality they had prior to entering wait mode both during wait mode and after exiting wait mode.
motor controller timer counter clock frequency (f
clock (f
frequency f
possible combinations of MCPRE1 and MCPRE0
module will release the pins.
counter overflow occurs. The bit is cleared by writing a 1 to the bit.
Reserved
Reserved
= Unimplemented or Reserved
BUS
) as shown in
Figure 9-3. Motor Controller Control Register 0 (MCCTL0)
TC
6
0
until the start of the next PWM period.
MCPRE[1:0]
Figure 9-2. MC10B8C Memory Map (continued)
Table 9-2. MCCTL0 Field Descriptions
Figure
MC9S12HZ256 Data Sheet, Rev. 2.05
5
0
9-22. Writes to MCPRE1 or MCPRE0 will not affect the timer counter clock
MCSWAI
Register
4
0
Description
TC
). The clock source for the prescaler is the peripheral bus
Table 9-3
Section 9.4.1.3.5, “Dither Bit
FAST
3
0
shows the prescaler values that result from the
Chapter 9 Motor Controller (MC10B8CV1)
DITH
2
0
(DITH)”)
1
0
0
Access
MCTOIF
0
0
265

Related parts for mc9s12hz256v2