MC68HC908GR8CD Freescale Semiconductor, MC68HC908GR8CD Datasheet - Page 151

no-image

MC68HC908GR8CD

Manufacturer Part Number
MC68HC908GR8CD
Description
8-bit Microcontrollers - MCU 8 Bit 8MHz
Manufacturer
Freescale Semiconductor
Datasheet

Specifications of MC68HC908GR8CD

Product Category
8-bit Microcontrollers - MCU
Rohs
yes
Core
HC08
Data Bus Width
8 bit
Maximum Clock Frequency
8 MHz
Program Memory Size
64 KB
Data Ram Size
384 B
Operating Supply Voltage
3 V to 5 V
Package / Case
SOIC-28
Mounting Style
SMD/SMT
Data Rom Size
64 KB
Maximum Operating Temperature
+ 125 C
Minimum Operating Temperature
- 40 C
Number Of Programmable I/os
21
Program Memory Type
Flash
DDRC1–DDRC0 — Data Direction Register C Bits
Figure 16-11
When bit DDRCx is a 1, reading address $0002 reads the PTCx data latch. When bit DDRCx is a 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.
Freescale Semiconductor
PTCPUE Bit
These read/write bits control port C data direction. Reset clears DDRC1–DDRC0, configuring all port
C pins as inputs.
Notes:
1 = Corresponding port C pin configured as output
0 = Corresponding port C pin configured as input
1. X = Don’t care
2. Hi-Z = High impedance
3. Writing affects data register, but does not affect input.
4. I/O pin pulled up to V
X
1
0
shows the port C I/O logic.
Avoid glitches on port C pins by writing to the port C data register before
changing data direction register C bits from 0 to 1.
For those devices packaged in a 28-pin DIP and SOIC package, PTC1,0
are not connected. Set DDRC1,0 to a 1 to configure PTC1,0 as outputs.
DDRC Bit
0
0
1
READ DDRC ($0006)
WRITE DDRC ($0006)
WRITE PTC ($0002)
READ PTC ($0002)
DD
MC68HC908GR8 • MC68HC908GR4 Data Sheet, Rev. 7
by internal pullup device.
PTC Bit
X
X
X
(1)
Table 16-4. Port C Pin Functions
RESET
Figure 16-11. Port C I/O Circuit
I/O Pin Mode
Input, Hi-Z
Input, V
Output
DD
Table 16-4
(4)
(2)
NOTE
NOTE
DDRCx
PTCx
Accesses to DDRC
DDRC1–DDRC0
DDRC1–DDRC0
DDRC1–DDRC0
summarizes the operation of the port C pins.
Read/Write
PTCPUEx
PTC1–PTC0
Read
Pin
Pin
V
Accesses to PTC
DD
INTERNAL
PULLUP
DEVICE
PTCx
PTC1–PTC0
PTC1–PTC0
PTC1–PTC0
Write
Port C
(3)
(3)
151

Related parts for MC68HC908GR8CD