Freescale Semiconductor Demonstration Board for Freescale MC9S12XHY256 Microcontroller DEMO9S12XHY256 DEMO9S12XHY256 Manual De Usuario

Los códigos de productos
DEMO9S12XHY256
Descargar
Página de 924
Pulse-Width Modulator (S12PWM8B8CV1)
MC9S12XHY-Family Reference Manual, Rev. 1.04
426
Freescale Semiconductor
13.3.2.1
PWM Enable Register (PWME)
Each PWM channel has an enable bit (PWMEx) to start its waveform output. When any of the PWMEx
bits are set (PWMEx = 1), the associated PWM output is enabled immediately. However, the actual PWM
waveform is not available on the associated PWM output until its clock source begins its next cycle due to
the synchronization of PWMEx and the clock source.
NOTE
The first PWM cycle after enabling the channel can be irregular.
0x001A
PWMPER6
R
Bit 7
 6
 5
 4
 3
 2
 1
 Bit 0
W
0x001B
PWMPER7
R
Bit 7
 6
 5
 4
 3
 2
 1
 Bit 0
W
0x001C
PWMDTY0
R
Bit 7
 6
 5
 4
 3
 2
 1
 Bit 0
W
0x001D
PWMDTY1
R
Bit 7
 6
 5
 4
 3
 2
 1
 Bit 0
W
0x001E
PWMDTY2
R
Bit 7
 6
 5
 4
 3
 2
 1
 Bit 0
W
0x001F
PWMDTY3
R
Bit 7
 6
 5
 4
 3
 2
 1
 Bit 0
W
0x0020
PWMDTY4
R
Bit 7
 6
 5
 4
 3
 2
 1
 Bit 0
W
0x0021
PWMDTY5
R
Bit 7
 6
 5
 4
 3
 2
 1
 Bit 0
W
0x0022
PWMDTY6
R
Bit 7
 6
 5
 4
 3
 2
 1
 Bit 0
W
0x0023
PWMDTY7
R
Bit 7
 6
 5
 4
 3
 2
 1
 Bit 0
W
0x0024
PWMSDN
R
PWMIF
PWMIE
0
PWMLVL
0
PWM7IN
PWM7INL
PWM7ENA
W
PWMRSTRT
1
Intended for factory test purposes only.
Register
Name
Bit 7
6
5
4
3
2
1
Bit 0
= Unimplemented or Reserved
Figure 13-2. PWM Register Summary (Sheet 3 of 3)