mc9s12xd256 Freescale Semiconductor, Inc, mc9s12xd256 Datasheet - Page 993

no-image

mc9s12xd256

Manufacturer Part Number
mc9s12xd256
Description
Hcs12x Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s12xd256CAA
Manufacturer:
FREESCALE
Quantity:
3 564
Part Number:
mc9s12xd256CAA
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s12xd256CAA
Manufacturer:
FREESCALE
Quantity:
3 564
Part Number:
mc9s12xd256CAG
Manufacturer:
FREESCALE
Quantity:
1 540
Part Number:
mc9s12xd256CAG
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
DDRA[7:0]
PB[7:0]
PA[7:0]
Reset
Reset
Field
24.0.5.2
Read: Anytime.
Write: Anytime.
Field
24.0.5.3
Read: Anytime.
Write: Anytime.
Field
7–0
7–0
7–0
W
W
R
R
DDRA7
Port A — Port A pins 7–0 can be used as general purpose I/O. If the data direction bits of the associated I/O pins
are set to logic level “1”, a read returns the value of the port register, otherwise the buffered pin input state is read.
PB7
Port B — Port B pins 7–0 can be used as general purpose I/O. If the data direction bits of the associated I/O
pins are set to logic level “1”, a read returns the value of the port register, otherwise the buffered pin input state
is read.
Data Direction Port A — This register controls the data direction for port A. DDRA determines whether each pin
is an input or output. A logic level “1” causes the associated port pin to be an output and a logic level “0” causes
the associated pin to be a high-impedance input.
0 Associated pin is configured as input.
1 Associated pin is configured as output.
Note: Due to internal synchronization circuits, it can take up to 2 bus clock cycles until the correct value is read
7
0
7
0
Port B Data Register (PORTB)
Port A Data Direction Register (DDRA)
on PORTA after changing the DDRA register.
DDRA6
PB6
0
0
6
6
Figure 24-5. Port A Data Direction Register (DDRA)
Figure 24-4. Port B Data Register (PORTB)
Table 24-5. PORTB Field Descriptions
Table 24-4. PORTA Field Descriptions
Table 24-6. DDRA Field Descriptions
DDRA5
PB5
5
0
5
0
DDRA4
PB4
0
0
4
4
Description
Description
Description
DDRA3
PB3
3
0
3
0
DDRA2
PB2
0
0
2
2
DDRA1
PB1
1
0
1
0
DDRA0
PB0
0
0
0
0

Related parts for mc9s12xd256