English
Language : 

MC68HC05C8A Datasheet, PDF (58/158 Pages) Motorola, Inc – Microcontrollers
Input/Output (I/O) Ports
Table 7-1. I/O Pin Functions
R/W(1) DDR
I/O Pin Function
0
0
The I/O pin is in input mode. Data is written into the output
data latch.
0
1 Data is written into the output data latch and output to the I/O pin.
1
0 The state of the I/O pin is read.
1
1 The I/O pin is in an output mode. The output data latch is read.
1. R/W is an internal signal.
READ DDRx
WRITE DDRx
RESET
DATA DIRECTION
REGISTER x BIT
WRITE PORTx
PORT x DATA
REGISTER BIT
(LATCHED OUTPUT)
[1]
I/O
PIN
[3]
READ PORTx
[2]
[1] This output buffer enables the latched output to drive the pin when DDR bit is 1 (output mode).
[2] This input buffer is enabled when DDR bit is 0 (input mode).
[3] This input buffer is enabled when DDR bit is 1 (output mode).
Figure 7-2. I/O Circuitry
Technical Data
58
MC68HC05C8A • MC68HCL05C8A • MC68HSC05C8A — Rev. 5.0
Input/Output (I/O) Ports
MOTOROLA