![](http://datasheet.mmic.net.cn/370000/P912XDP512F0CAA_datasheet_16728257/P912XDP512F0CAA_1003.png)
This register configures 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.
24.0.5.18 Port T Polarity Select Register (PPST)
Read: Anytime.
Write: Anytime.
This register selects whether a pull-down or a pull-up device is connected to the pin.
24.0.5.19 Port S Data Register (PTS)
Read: Anytime.
Write: Anytime.
Table 24-21. PERT Field Descriptions
Field
Description
7–0
PERT[7:0]
Pull Device Enable Port T
0 Pull-up or pull-down device is disabled.
1 Either a pull-up or pull-down device is enabled.
7
6
5
4
3
2
1
0
R
PPST7
PPST6
PPST5
PPST4
PPST3
PPST2
PPST1
PPST0
W
Reset
0
0
0
0
0
0
0
0
Figure 24-20. Port T Polarity Select Register (PPST)
Table 24-22. PPST Field Descriptions
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.
7
6
5
4
3
2
1
0
R
PTS7
PTS6
PTS5
PTS4
PTS3
PTS2
PTS1
PTS0
W
SCI/SPI
SS0
SCK0
MOSI0
MISO0
TXD1
RXD1
TXD0
RXD0
Reset
0
0
0
0
0
0
0
0
Figure 24-21. Port S Data Register (PTS)