English
Language : 

MC9S12C Datasheet, PDF (365/680 Pages) Motorola, Inc – 16-Bit Microcontroller
Chapter 12 Pulse-Width Modulator (PWM8B6CV1) Block Description
Module Base + 0x000E
7
6
5
4
3
2
1
0
R Bit 7
6
5
4
3
2
1
Bit 0
W
0
0
0
0
0
0
0
0
Reset
0
0
0
0
0
0
0
0
Figure 12-17. PWM Channel Counter Registers (PWMCNT2)
Module Base + 0x000F
7
6
5
4
3
2
1
0
R Bit 7
6
5
4
3
2
1
Bit 0
W
0
0
0
0
0
0
0
0
Reset
0
0
0
0
0
0
0
0
Figure 12-18. PWM Channel Counter Registers (PWMCNT3)
Module Base + 0x00010
7
6
5
4
3
2
1
0
R Bit 7
6
5
4
3
2
1
Bit 0
W
0
0
0
0
0
0
0
0
Reset
0
0
0
0
0
0
0
0
Figure 12-19. PWM Channel Counter Registers (PWMCNT4)
Module Base + 0x00011
7
6
5
4
3
2
1
0
R Bit 7
6
5
4
3
2
1
Bit 0
W
0
0
0
0
0
0
0
0
Reset
0
0
0
0
0
0
0
0
Figure 12-20. PWM Channel Counter Registers (PWMCNT5)
Read: anytime
Write: anytime (any value written causes PWM counter to be reset to 0x0000).
12.3.2.13 PWM Channel Period Registers (PWMPERx)
There is a dedicated period register for each channel. The value in this register determines the period of
the associated PWM channel.
The period registers for each channel are double buffered so that if they change while the channel is
enabled, the change will NOT take effect until one of the following occurs:
• The effective period ends
• The counter is written (counter resets to 0x0000)
Freescale Semiconductor
MC9S12C-Family / MC9S12GC-Family
365
Rev 01.23