mc68hc08qa24 Freescale Semiconductor, Inc, mc68hc08qa24 Datasheet - Page 194

no-image

mc68hc08qa24

Manufacturer Part Number
mc68hc08qa24
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Input/Output (I/O) Ports
Technical Data
192
When bit DDRBx is a logic 1, reading address $0001 reads the PTBx
data latch. When bit DDRBx is a logic 0, reading address $0001 reads
the voltage level on the pin, or logic 0 if that particular bit is in use by the
ADC. The data latch can always be written, regardless of the state of its
data direction bit.
pins.
X = don’t care
Hi-Z = high impedance
1. Writing affects data register, but does not affect input.
DDRB
Bit
0
1
0
1
PTB
Bit
X
X
X
X
Input/Output (I/O) Ports
Bit in Use
by ADC
Table 16-2
Table 16-2. Port B Pin Functions
Yes
Yes
No
No
Input, Hi-Z
Input, Hi-Z
Input, Hi-Z
I/O Pin
Output
Mode
summarizes the operation of the port B
Read/Write
DDRB[7:0]
DDRB[7:0]
DDRB[7:0]
DDRB[7:0]
Accesses
to DDRB
Freescale Semiconductor
PTB[7:0]
PTB[7:0]
Read
Accesses to PTB
Pin
0
MC68HC08QA24
PTB[7:0]
PTB[7:0]
PTB[7:0]
PTB[7:0]
Write
(1)
(1)

Related parts for mc68hc08qa24