mc68hc705j2 Freescale Semiconductor, Inc, mc68hc705j2 Datasheet - Page 18

no-image

mc68hc705j2

Manufacturer Part Number
mc68hc705j2
Description
8-bit Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
3.2 Port A
PORTA — Port A Data Register
RESET:
PA7–PA0 — Port A Data Bits
DDRA — Port A Data Direction Register
RESET:
DDRA7–DDRA0 — Port A Data Direction Bits
MC68HC705J2
These read/write bits are software-programmable. Data direction of each bit is
under the control of the corresponding DDRA bit.
These read/write bits control port A data direction.
Port A is an 8-bit general-purpose bidirectional I/O port. The contents of DDRA
determine whether each pin is an input or an output. Figures 3-2 and 3-3 show
the port A data register and DDRA.
1 = Corresponding port A pin configured as output
0 = Corresponding port A pin configured as input
Bit 7
Bit 7
PA7
0
0
Figure 3-3. Port A Data Direction Register
PA6
6
6
0
0
Figure 3-2. Port A Data Register
DDRA5
PA5
5
5
0
NOT CHANGED BY RESET
PARALLEL I/O
DDRA4
PA4
4
4
0
DDRA3
PA3
3
3
0
DDRA2
PA2
2
2
0
DDRA1
PA1
1
1
0
DDRA0
Bit 0
Bit 0
PA0
0
MOTOROLA
$ 0 0 0 0
$ 0 0 0 4
3-3

Related parts for mc68hc705j2