MS51
Nov. 28, 2019
Page
100
of 491
Rev 1.00
MS51
32K
SE
RIES
TE
CHNICAL RE
F
EREN
CE MA
N
UAL
PnM2
– Port Mode Select 2
Register
SFR Address
Reset Value
P0M2
B2H, Page 0
0000_0000 b
P1M2
B4H, Page 0
0000_0000 b
P2M2
8AH, Page 2
0000_0000 b
P3M2
ADH, Page 0
0000_0000 b
7
6
5
4
3
2
1
0
PnM2.7
PnM2.6
PnM2.5
PnM2.4
PnM2.3
PnM2.2
PnM2.1
PnM2.0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Bit
Name
Description
7:0
PnM2[7:0]
Port 0 mode select 2
NOTE:
PxM1 and PxM2 are used in combination to determine the I/O mode of each pin of Port.
See Table 6.4-1 Configuration for Different I/O Modes.
Each I/O pin can be configured individually as TTL input or Schmitt triggered input. Note that all of PxS
registers are accessible by switching SFR page to Page 1.