|
MC9S12KG128 Datasheet, PDF (147/600 Pages) Freescale Semiconductor, Inc – Microcontrollers | |||
|
◁ |
4.3.1.5
Chapter 4 Port Integration Module (PIM9KG128V1)
Port T Pull Device Enable Register (PERT)
Module Base + 0x0004
7
R
PERT7
W
6
PERT6
5
PERT5
4
PERT4
3
PERT3
2
PERT2
1
PERT1
0
PERT0
Reset
0
0
0
0
0
0
0
0
Figure 4-6. Port T Pull Device Enable Register (PERT)
Read: Anytime. Write: Anytime.
This register conï¬gures whether a pull-up or a pull-down device is activated, if the port is used as input.
This bit has no effect if the port is used as output. Out of reset no pull device is enabled.
Table 4-5. PERT Field Descriptions
Field
Description
7â0
Pull Device Enable Port T
PERT[7:0] 0 Pull-up or pull-down device is disabled.
1 Either a pull-up or pull-down device is enabled.
4.3.1.6 Port T Polarity Select Register (PPST)
Module Base + 0x0005
7
R
PPST7
W
6
PPST6
5
PPST5
4
PPST4
3
PPST3
2
PPST2
Reset
0
0
0
0
0
0
Figure 4-7. Port T Polarity Select Register (PPST)
Read: Anytime. Write: Anytime.
1
PPST1
0
This register selects whether a pull-down or a pull-up device is connected to the pin.
Table 4-6. PPST Field Descriptions
0
PPST0
0
Field
Description
7â0
PPST[7:0]
Pull Select Port T
0 A pull-up device is connected to the associated port T pin, if enabled by the associated bit in register PERT
and if the port is used as input.
1 A pull-down device is connected to the associated port T pin, if enabled by the associated bit in register PERT
and if the port is used as input.
MC9S12KG128 Data Sheet, Rev. 1.15
Freescale Semiconductor
147
|
▷ |