English
Language : 

MC68HC08AS32 Datasheet, PDF (144/280 Pages) Motorola, Inc – M68HC08 Family of 8-bit microcontroller units (MCUs)
Table 11-2. Port B Pin Functions
DDRB PTB Bit in Use
Bit
Bit
by ADC
I/O Pin
Mode
Accesses to
DDRB
Read/Write
0
X
No
Input, Hi-Z DDRB[7:0]
1
X
No
Output
DDRB[7:0]
0
X
Yes
Input, Hi-Z DDRB[7:0]
1
X
Yes
Input, Hi-Z DDRB[7:0]
X = Don’t Care
Hi-Z = High Impedance
1. Writing affects data register, but does not affect input.
Accesses to PTB
Read
Pin
PTB[7:0]
0
PTB[7:0]
Write
PTB[7:0](1)
PTB[7:0]
PTB[7:0](1)
PTB[7:0]
11.4 Port C
Port C is a 5-bit general-purpose bidirectional I/O port that shares one of its pins
with the bus clock (MCLK).
11.4.1 Port C Data Register
The port C data register contains a data latch for each of the five port C pins.
Address:
Read:
Write:
Reset:
Alternate
Functions:
$0002
Bit 7
0
R
R
6
5
0
0
R
R
= Reserved
4
3
PTC4
PTC3
Unaffected by reset
2
PTC2
MCLK
Figure 11-8. Port C Data Register (PTC)
1
PTC1
Bit 0
PTC0
PTC[4:0] — Port C Data Bits
These read/write bits are software-programmable. Data direction of each port C
pin is under the control of the corresponding bit in data direction register C.
Reset has no effect on port C data.
MCLK — T12 System Bus Clock Bit
The bus clock (MCLK) is driven out of PTC2 when enabled by the MCLKEN bit
in PTCDDR7.
Data Sheet
144
MC68HC08AS32 — Rev. 4.1
Freescale Semiconductor