mc68hc05pv8a Freescale Semiconductor, Inc, mc68hc05pv8a Datasheet - Page 101

no-image

mc68hc05pv8a

Manufacturer Part Number
mc68hc05pv8a
Description
Mc68hc05pv8a Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
7.5.2 Port B PWM Channel
7.5.3 I/O Configuration Register
MC68HC(8)05PV8/A — Rev. 1.9
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.
TXOR – Timer EXOR Enable
OPAMP – Enable Operational Amplifier
PB4PW – PB4 PWM Enable
PB3OC – PB3 Output Compare Enable
Reset:
$0021
Read:
Write:
This bit enables the EXOR of the TCAP1 channel
This bit enables the operational amplifier on PA6
This bit enables the PB4 pin as PWM output.
This bit enables the PB3 pin for output compare channel 2.
Freescale Semiconductor, Inc.
For More Information On This Product,
1 = EXOR enabled
0 = EXOR disabled
1 = Opamp enabled
0 = Opamp disabled
1 = PB4 PWM enabled. PBDD4 bit must be set in order to drive the
0 = PB4 PWM disabled
1 = PB3 output compare channel 2 enabled. PBDD3 bit must be set
0 = PB3 output compare channel 2 disabled
TXOR
Bit 7
output
in order to drive the output
0
Figure 7-7 I/O Configuration Register (IOCFG)
Go to: www.freescale.com
OPAMP
Input/Output Ports
6
0
5
0
PB4PW
4
0
PB3OC
3
0
PB2IC
2
0
Input/Output Ports
PB1OC
1
0
Technical Data
PB0IC
Bit 0
Port B
0

Related parts for mc68hc05pv8a