|
MC68HC05V12 Datasheet, PDF (118/246 Pages) Freescale Semiconductor, Inc – HCMOS Microcontreller Unit | |||
|
◁ |
Freescale Semiconductor, Inc.
Pulse Width Modulators (PWMs)
11.4.2 PWMB Control Register
Address: $0039
Bit 7
6
5
4
3
2
1
Read:
0
PSA1B PSA0B
Write:
0
PSB3B PSB2B PSB1B
Reset: 0
0
0
0
0
0
0
= Unimplemented
Figure 11-6. PWMB Control Register (PWMBC)
Bit 0
PSB0B
0
PSA1B, PSA0B, and PSB3BâPSB0B â PWM Clock Rate Bits
These bits select the input clock rate for PWMB and determine the
period as shown in Table 11-2. These bits function exactly the same
as the corresponding bits in the PWMA control register except they
affect the PWMB output pin.
PSA1Bâ
PSA0B
00
01
10
11
Table 11-2. PWMB Clock Rates
PSB3Bâ
PSB0B
xxxx
0000â1111
0000â1111
0000â1111
RCLKB
SCLKB
PWMB OUT
Off
fOP/1
fOP/8
fOP/16
Off
fOP/1 â fOP/16
fOP/8 â fOP/128
fOP/16 â fOP/256
Off
fOP/64 â fOP/1024
fOP/512 â fOP/8192
fOP/1024 â fOP/16384
NOTE:
Any non-zero value of PSA1BâPSA0B forces PB5 to the PWMB output
state. If PSA1BâPSA0B = 00, PB5 is determined by the port B data and
data direction registers as described in Section 7. Parallel
Input/Output (I/O).
Technical Data
Pulse Width Modulators (PWMs)
For More Information On This Product,
Go to: www.freescale.com
MC68HC05V12 â Rev. 2.0
|
▷ |