mc9s12xd256 Freescale Semiconductor, Inc, mc9s12xd256 Datasheet - Page 1008

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
Chapter 24 DG128 Port Integration Module (S12XDG128PIMV2)
24.0.5.27 Port M Input Register (PTIM)
Read: Anytime.
Write: Never, writes to this register have no effect.
This register always reads back the buffered state of the associated pins. This can also be used to detect
overload or short circuit conditions on output pins.
24.0.5.28 Port M Data Direction Register (DDRM)
Read: Anytime.
Write: Anytime.
This register configures each port M pin as either input or output.
The CAN forces the I/O state to be an output for each port line associated with an enabled output
(TXCAN). It also forces the I/O state to be an input for each port line associated with an enabled input
(RXCAN). In those cases the data direction bits will not change.
1008
PTM[3:2]
PTM[1:0]
Reset
Reset
Field
1. These registers are reset to zero. Two bus clock cycles after reset release the register values are updated with the
3–2
1–0
W
associated pin values.
W
R
R
1
DDRM7
PTIM7
The routed CAN0 function (TXCAN0 and RXCAN0) takes precedence over the routed SPI0 and the general
purpose I/O function if the routed CAN0 module is enabled. Refer to MSCAN section for details.
The routed SPI0 function (SS0 and MISO0) takes precedence of the general purpose I/O function if the routed
SPI0 is enabled and not in bidirectional mode. Refer to SPI section for details.
The CAN0 function (TXCAN0 and RXCAN0) takes precedence over the general purpose I/O function if the CAN0
module is enabled. Refer to MSCAN section for details.
0
7
7
= Unimplemented or Reserved
DDRM6
PTIM6
0
6
6
Figure 24-30. Port M Data Direction Register (DDRM)
Table 24-28. PTM Field Descriptions (continued)
Figure 24-29. Port M Input Register (PTIM)
DDRM5
MC9S12XDP512 Data Sheet, Rev. 2.17
PTIM5
0
5
5
DDRM4
PTIM4
0
4
4
Description
DDRM3
PTIM3
0
3
3
DDRM2
PTIM2
0
2
2
DDRM1
Freescale Semiconductor
PTIM1
0
1
1
DDRM0
PTIM0
0
0
0

Related parts for mc9s12xd256