MC68HC908AP16CFA MOTOROLA [Motorola, Inc], MC68HC908AP16CFA Datasheet - Page 367

no-image

MC68HC908AP16CFA

Manufacturer Part Number
MC68HC908AP16CFA
Description
Microcontrollers
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
18.2.2 Data Direction Register (DDRA)
MC68HC908AP Family — Rev. 2.5
MOTOROLA
NOTE:
Address:
LED drive — Direct LED drive pins
Data direction register A determines whether each port A pin is an input
or an output. Writing a logic 1 to a DDRA bit enables the output buffer for
the corresponding port A pin; a logic 0 disables the output buffer.
DDRA[7:0] — Data Direction Register A Bits
Avoid glitches on port A pins by writing to the port A data register before
changing data direction register A bits from 0 to 1.
Reset:
Read:
Write:
PTA7–PTA0 pins can be configured for direct LED drive. See
Port-A LED Control Register
These read/write bits control port A data direction. Reset clears
DDRA[7:0], configuring all port A pins as inputs.
Freescale Semiconductor, Inc.
For More Information On This Product,
1 = Corresponding port A pin configured as output
0 = Corresponding port A pin configured as input
DDRA7
$0004
Bit 7
0
Figure 18-3. Data Direction Register A (DDRA)
Go to: www.freescale.com
DDRA6
6
0
DDRA5
5
0
DDRA4
(LEDA).
4
0
DDRA3
3
0
DDRA2
2
0
Input/Output (I/O) Ports
DDRA1
1
0
Data Sheet
18.2.3
DDRA0
Bit 0
Port A
0
367

Related parts for MC68HC908AP16CFA