CSM9S12XDT512SLK Freescale Semiconductor, CSM9S12XDT512SLK Datasheet - Page 849

no-image

CSM9S12XDT512SLK

Manufacturer Part Number
CSM9S12XDT512SLK
Description
KIT STUDENT LEARNING 16BIT
Manufacturer
Freescale Semiconductor
Datasheet

Specifications of CSM9S12XDT512SLK

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
22.3.2.32 Port M Data Direction Register (DDRM)
Read: Anytime.
Write: Anytime.
This register configures each port M pin as either input or output.
The CAN/SCI3 forces the I/O state to be an output for each port line associated with an enabled output
(TXCAN[3:0], TXD3). TheyAlso forces the I/O state to be an input for each port line associated with an
enabled input (RXCAN[3:0], RXD3). In those cases the data direction bits will not change.
The DDRM bits revert to controlling the I/O direction of a pin when the associated peripheral module is
disabled.
Freescale Semiconductor
DDRM[7:0]
Reset
Field
7–0
W
R
DDRM7
Data Direction Port M
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
0
7
on PTM or PTIM registers, when changing the DDRM register.
DDRM6
0
6
Figure 22-34. Port M Data Direction Register (DDRM)
Table 22-33. DDRM Field Descriptions
DDRM5
MC9S12XDP512 Data Sheet, Rev. 2.21
0
5
DDRM4
0
4
Description
Chapter 22 DP512 Port Integration Module (S12XDP512PIMV2)
DDRM3
0
3
DDRM2
0
2
DDRM1
0
1
DDRM0
0
0
851

Related parts for CSM9S12XDT512SLK