Freescale Semiconductor Starter Kit for MC9S12G TRK-USB-S12G128 TRK-USB-S12G128 Ficha De Dados

Códigos do produto
TRK-USB-S12G128
Página de 1292
Port Integration Module (S12GPIMV1)
MC9S12G Family Reference Manual,
Rev.1.23
224
Freescale Semiconductor
2.4.3.28
Port M Input Register (PTIM)
2.4.3.29
Port M Data Direction Register (DDRM)
 Address 0x0251 (
,
)
Access: User read only
1
1
Read: Anytime
Write:Never
7
6
5
4
3
2
1
0
 
R
0
0
0
0
PTIM3
PTIM2
PTIM1
PTIM0
 W
Reset
0
0
0
0
0
0
0
0
 Address 0x0251 (
)
Access: User read only
7
6
5
4
3
2
1
0
 
R
0
0
0
0
0
0
PTIM1
PTIM0
 W
Reset
0
0
0
0
0
0
0
0
Figure 2-29. Port M Input Register (PTIM)
Table 2-53. PTIM Register Field Descriptions
Field
Description
3-0
PTIM
Port M input data
A read always returns the buffered input state of the associated pin. It can be used to detect overload or short circuit
conditions on output pins.
 Address 0x0252 (
,
)
Access: User read/write
1
1
Read: Anytime
Write: Anytime
7
6
5
4
3
2
1
0
 
R
0
0
0
0
DDRM3
DDRM2
DDRM1
DDRM0
 W
Reset
0
0
0
0
0
0
0
0
 Address 0x0252 (
)
Access: User read/write
7
6
5
4
3
2
1
0
 
R
0
0
0
0
0
0
DDRM1
DDRM0
 W
Reset
0
0
0
0
0
0
0
0
Figure 2-30. Port M Data Direction Register (DDRM)