mc68hc908mr32 Freescale Semiconductor, Inc, mc68hc908mr32 Datasheet - Page 101

no-image

mc68hc908mr32

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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc908mr32CB
Manufacturer:
FREESCALE
Quantity:
1 831
Part Number:
mc68hc908mr32CB
Manufacturer:
MOT
Quantity:
59
Part Number:
mc68hc908mr32CFU
Manufacturer:
FREESCALE
Quantity:
3
Part Number:
mc68hc908mr32CFU
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Chapter 10
Input/Output (I/O) Ports (PORTS)
10.1 Introduction
Thirty-seven bidirectional input-output (I/O) pins and seven input pins form six parallel ports. All I/O pins
are programmable as inputs or outputs.
When using the 56-pin package version:
Freescale Semiconductor
$0000
$0001
$0002
$0003
$0004
Addr.
Set the data direction register bits in DDRC such that bit 1 is written to a logic 1 (along with any
other output bits on port C).
Set the data direction register bits in DDRE such that bits 0, 1, and 2 are written to a logic 1 (along
with any other output bits on port E).
Set the data direction register bits in DDRF such that bits 0, 1, 2, and 3 are written to a logic 1 (along
with any other output bits on port F).
Data Direction Register A
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
operation, termination reduces excess current consumption and the
possibility of electrostatic damage.
SS
Register Name
See page 103.
See page 104.
See page 106.
See page 107.
See page 103.
. Although PWM6–PWM1 do not require termination for proper
(DDRA)
(PTA)
(PTB)
(PTC)
(PTD)
MC68HC908MR32 • MC68HC908MR16 Data Sheet, Rev. 6.1
Figure 10-1. I/O Port Register Summary
Reset:
Reset:
Reset:
Reset:
Reset:
Read:
Read:
Read:
Read:
Read:
Write:
Write:
Write:
Write:
Write:
DDRA7
PTA7
PTB7
Bit 7
R
R
R
0
0
0
= Reserved
DDRA6
PTA6
PTB6
PTC6
PTD6
R
6
0
NOTE
DDRA5
PTA5
PTB5
PTC5
PTD5
R
5
0
DDRA4
Unaffected by reset
Unaffected by reset
Unaffected by reset
Unaffected by reset
PTC4
PTD4
PTA4
PTB4
R
4
0
= Unimplemented
DDRA3
PTA3
PTB3
PTC3
PTD3
R
3
0
DDRA2
PTA2
PTB2
PTC2
PTD2
DD
R
2
0
or
DDRA1
PTC1
PTD1
PTA1
PTB1
R
1
0
DDRA0
PTA0
PTB0
PTC0
PTD0
Bit 0
R
0
101

Related parts for mc68hc908mr32