s908gz60cfa Freescale Semiconductor, Inc, s908gz60cfa Datasheet - Page 186

no-image

s908gz60cfa

Manufacturer Part Number
s908gz60cfa
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
s908gz60cfaE
Manufacturer:
FREESCALE
Quantity:
1 780
Part Number:
s908gz60cfaE
Manufacturer:
FREESCALE
Quantity:
1 780
Part Number:
s908gz60cfaE
Manufacturer:
FREESCALE
Quantity:
8 000
Part Number:
s908gz60cfaE
Manufacturer:
FREESCALE
Quantity:
20 000
Input/Output (I/O) Ports
When bit DDRFx is a 1, reading address $0440 reads the PTFx data latch. When bit DDRFx is a 0,
reading address $0440 reads the voltage level on the pin. The data latch can always be written,
regardless of the state of its data direction bit.
13.9 Port G
Port G is an 8-bit special-function port that shares all eight of its pins with the analog-to-digital converter
(ADC) module.
13.9.1 Port G Data Register
The port G data register (PTG) contains a data latch for each of the eight port pins.
186
Alternate Function:
1. X = Don’t care
2. Hi-Z = High impedance
3. Writing affects data register, but does not affect input.
DDRF
Bit
0
1
Address:
Reset:
Read:
Write:
MC68HC908GZ60 • MC68HC908GZ48 • MC68HC908GZ32 Data Sheet, Rev. 6
READ DDRF ($0444)
WRITE DDRF ($0444)
WRITE PTF ($0440)
READ PTD ($0440)
PTF
X
Bit
X
(1)
$0441
PTG7
AD23
Bit 7
Input, Hi-Z
Figure 13-23. Port G Data Register (PTG)
I/O Pin
Output
Mode
PTG6
AD22
Table 13-7. Port F Pin Functions
RESET
Figure 13-22. Port F I/O Circuit
6
(2)
PTG5
AD21
DDRF7–DDRF0
DDRF7–DDRF0
5
Table 13-7
Read/Write
Accesses
to DDRF
DDRFx
PTFx
Unaffected by reset
PTG4
AD20
4
summarizes the operation of the port F pins.
PTG3
AD19
3
PTF7–PTF0
Read
Pin
PTG2
AD18
2
Accesses
to PTF
PTF7–PTF0
PTF7–PTF0
PTG1
AD17
1
WritE
Freescale Semiconductor
PTFx
PTG0
AD16
(3)
Bit 0

Related parts for s908gz60cfa