MC68HC08AZ60ACFU MOTOROLA [Motorola, Inc], MC68HC08AZ60ACFU Datasheet - Page 332

no-image

MC68HC08AZ60ACFU

Manufacturer Part Number
MC68HC08AZ60ACFU
Description
Microcontrollers
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
I/O Ports
20.7.2 Data Direction Register E (DDRE)
Advance Information
332
NOTE:
$000C
DDRE
Reset:
Read:
Write:
Data direction register E determines whether each port E pin is an input
or an output. Writing a logic one to a DDRE bit enables the output buffer
for the corresponding port E pin; a logic zero disables the output buffer.
DDRE[7:0] — Data Direction Register E Bits
Avoid glitches on port E pins by writing to the port E data register before
changing data direction register E bits from 0 to 1.
Figure 20-15
These read/write bits control port E data direction. Reset clears
DDRE[7:0], configuring all port E pins as inputs.
DDRE7
Figure 20-14. Data Direction Register E (DDRE)
1 = Corresponding port E pin configured as output
0 = Corresponding port E pin configured as input
Bit 7
0
READ DDRE ($000C)
WRITE DDRE ($000C)
WRITE PTE ($0008)
READ PTE ($0008)
DDRE6
shows the port E I/O logic.
6
0
Figure 20-15. Port E I/O Circuit
I/O Ports
RESET
DDRE5
5
0
DDRE4
4
0
DDREx
PTEx
DDRE3
3
0
MC68HC08AZ60A — Rev 0.0
DDRE2
2
0
DDRE1
1
0
MOTOROLA
DDRE0
Bit 0
0
PTEx

Related parts for MC68HC08AZ60ACFU