mc68hc908lv8 Freescale Semiconductor, Inc, mc68hc908lv8 Datasheet - Page 142

no-image

mc68hc908lv8

Manufacturer Part Number
mc68hc908lv8
Description
M68hc08 Microcontrollers 8-bit Microcontroller With Integrated Lcd Driver
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc908lv8CPBE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Input/Output (I/O) Ports
When DDRCx is a logic 1, reading address $0002 reads the PTCx data latch. When DDRCx is a logic 0,
reading address $0002 reads the voltage level on the pin. The data latch can always be written,
regardless of the state of its data direction bit.
Table 10-4
10.5 Port D
Port D is an 8-bit special function port that shares all of its port pins with the liquid crystal display (LCD)
driver module.
10.5.1 Port D Data Register (PTD)
The port D data register contains a data latch for each of the eight port D pins.
142
Alternative Function:
summarizes the operation of the port C pins.
1. X = don’t care.
2. Hi-Z = high impedance.
3. Writing affects data register, but does not affect input.
DDRC
Bit
0
1
Address:
Reset:
Read:
Write:
READ DDRC ($0006)
WRITE DDRC ($0006)
WRITE PTC ($0002)
READ PTC ($0002)
PTC Bit
X
X
(1)
$0003
PTD7
FP18
Bit 7
Figure 10-12. Port D Data Register (PTD)
Table 10-4. Port C Pin Functions
I/O Pin Mode
Input, Hi-Z
RESET
Figure 10-11. Port C I/O Circuit
Output
PTD6
MC68HC908LV8 Data Sheet, Rev. 2
FP17
6
(2)
PTD5
FP16
5
Accesses to DDRC
DDRCx
PTCx
Read/Write
DDRC[7:0]
DDRC[7:0]
Unaffected by reset
PTD4
FP15
4
PTD3
FP14
3
PTC[7:0]
Read
Pin
Accesses to PTC
PTD2
FP13
2
PTC[7:0]
PTC[7:0]
PTD1
FP12
Write
1
Freescale Semiconductor
PTCx
(3)
PTD0
FP11
Bit 0

Related parts for mc68hc908lv8