mc9s12xd256 Freescale Semiconductor, Inc, mc9s12xd256 Datasheet - Page 935

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
DDRS[7:0]
Reset
Reset
Read: Anytime.
Write: Never, writes to this register have no effect.
This register always reads back the buffered state of the associated pins. This also can be used to
detect overload or short circuit conditions on output pins.
23.0.5.25 Port S Data Direction Register (DDRS)
Read: Anytime.
Write: Anytime.
This register configures each port S pin as either input or output.
If SPI0 is enabled, the SPI0 determines the pin direction. Refer to SPI section for details.
If the associated SCI transmit or receive channel is enabled this register has no effect on the pins.
The pin is forced to be an output if a SCI transmit channel is enabled, it is forced to be an input if
the SCI receive channel is enabled.
The DDRS bits revert to controlling the I/O direction of a pin when the associated channel is
disabled.
Field
23.0.5.26 Port S Reduced Drive Register (RDRS)
Read: Anytime.
Write: Anytime.
7–0
W
W
R
R
DDRS7
RDRS7
Data Direction Port S
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
on PTS or PTIS registers, when changing the DDRS register.
DDRS6
RDRS6
0
0
6
6
Figure 23-28. Port S Reduced Drive Register (RDRS)
Figure 23-27. Port S Data Direction Register (DDRS)
Table 23-27. DDRS Field Descriptions
DDRS5
RDRS5
5
0
5
0
DDRS4
RDRS4
0
0
4
4
Description
DDRS3
RDRS3
3
0
3
0
DDRS2
RDRS2
0
0
2
2
DDRS1
RDRS1
1
0
1
0
DDRS0
RDRS0
0
0
0
0

Related parts for mc9s12xd256