mc68hc908gr8vp Freescale Semiconductor, Inc, mc68hc908gr8vp Datasheet - Page 143

no-image

mc68hc908gr8vp

Manufacturer Part Number
mc68hc908gr8vp
Description
M68hc08 Microcontrollers Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Chapter 16
Input/Output Ports (I/O)
16.1 Introduction
Twenty one (21) bidirectional input-output (I/O) pins form five parallel ports. All I/O pins are programmable
as inputs or outputs. All individual bits within port A, port C, and port D are software configurable with
pullup devices if configured as input port bits. The pullup devices are automatically and dynamically
disabled when a port bit is switched to output mode.
Freescale Semiconductor
Addr.
$0000
$0001
$0002
$0003
$0004
Data Direction Register A
Register Name
Port C Data Register
Port D Data Register
Port A Data Register
Port B Data Register
Connect any unused I/O pins to an appropriate logic level, either V
V
termination reduces excess current consumption and the possibility of
electrostatic damage. Not all port pins are bonded out in all packages. Care
should be taken to make any unbonded port pins an output to prevent them
from being floating inputs.
SS
. Although the I/O ports do not require termination for proper operation,
(DDRA)
(PTC)
(PTD)
(PTA)
(PTB)
Reset:
Reset:
Reset:
Reset:
Reset:
Read:
Read:
Read:
Read:
Read:
Write:
Write:
Write:
Write:
Write:
MC68HC908GR8 • MC68HC908GR4 Data Sheet, Rev. 7
Figure 16-1. I/O Port Register Summary
Bit 7
0
0
0
0
0
0
= Unimplemented
PTD6
6
0
0
0
0
0
NOTE
PTB5
PTD5
5
0
0
0
0
Unaffected by reset
Unaffected by reset
Unaffected by reset
Unaffected by reset
PTB4
PTD4
4
0
0
0
0
DDRA3
PTD3
PTA3
PTB3
3
0
0
DDRA2
PTA2
PTB2
PTD2
2
0
0
DD
or
DDRA1
PTA1
PTB1
PTC1
PTD1
1
0
DDRA0
Bit 0
PTA0
PTB0
PTC0
PTD0
0
143

Related parts for mc68hc908gr8vp