|
MC68HC05PV8 Datasheet, PDF (101/196 Pages) Freescale Semiconductor, Inc – Techinal Data - rev 1.9 | |||
|
◁ |
Freescale Semiconductor, Inc.
Input/Output Ports
Port B
7.5.2 Port B PWM Channel
The port pin PB4 is shared with the PWM channel. In order to connect
this pin to the PWM channel, the corresponding bit PWM4 of the I/O
configuration register must be set.
7.5.3 I/O Configuration Register
$0021
Read:
Write:
Reset:
Bit 7
6
5
4
3
2
1
TXOR OPAMP
PB4PW PB3OC PB2IC PB1OC
0
0
0
0
0
0
0
Figure 7-7 I/O Configuration Register (IOCFG)
Bit 0
PB0IC
0
TXOR â Timer EXOR Enable
This bit enables the EXOR of the TCAP1 channel
1 = EXOR enabled
0 = EXOR disabled
OPAMP â Enable Operational Amplifier
This bit enables the operational amplifier on PA6
1 = Opamp enabled
0 = Opamp disabled
PB4PW â PB4 PWM Enable
This bit enables the PB4 pin as PWM output.
1 = PB4 PWM enabled. PBDD4 bit must be set in order to drive the
output
0 = PB4 PWM disabled
PB3OC â PB3 Output Compare Enable
This bit enables the PB3 pin for output compare channel 2.
1 = PB3 output compare channel 2 enabled. PBDD3 bit must be set
in order to drive the output
0 = PB3 output compare channel 2 disabled
MC68HC(8)05PV8/A â Rev. 1.9
Input/Output Ports
For More Information On This Product,
Go to: www.freescale.com
Technical Data
|
▷ |