Freescale Semiconductor Demonstration Board for Freescale MC9S12XHY256 Microcontroller DEMO9S12XHY256 DEMO9S12XHY256 Manual De Usuario

Los códigos de productos
DEMO9S12XHY256
Descargar
Página de 924
Port Integration Module (S12XHYPIMV1)
MC9S12XHY-Family Reference Manual, Rev. 1.04
96
Freescale Semiconductor
2.3.18
Port T Pull Device Enable Register (PERT)
2.3.19
Port T Polarity Select Register (PPST)
1
Read: Anytime
Write: Anytime
 Address 0x0244
Access: User read/write
1
1
Read: Anytime
Write: Anytime
7
6
5
4
3
2
1
0
R
PERT7
PERT6
PERT5
PERT4
PERT3
PERT2
PERT1
PERT0
W
Reset
1
1
1
1
1
1
1
1
Figure 2-16. Port T Pull Device Enable Register (PERT)
Table 2-14. PERT Register Field Descriptions
Field
Description
7-0
PERT
Port T pull device enable—Enable pull device on input pin
This bit controls whether a pull device on the associated port input pin is active. If a pin is used as output this bit has
no effect. The polarity is selected by the related polarity select register bit.
1 Pull device enabled
0 Pull device disabled
 Address 0x0245
Access: User read/write
1
1
Read: Anytime
Write: Anytime
7
6
5
4
3
2
1
0
R
PPST7
PPST6
PPST5
PPST4
PPST3
PPST2
PPST1
PPST0
W
Reset
1
1
1
1
1
1
1
1
Figure 2-17. Port T Polarity Select Register (PPST)
Table 2-15. PPST Register Field Descriptions
Field
Description
7-0
PPST
Port T pull device select—Configure pull device polarity on input pin
This bit selects a pull-up or a pull-down device if enabled on the associated port input pin.
1 A pull-down device is selected
0 A pull-up device is selected