MS51
Nov. 28, 2019 Page 278 of 491 Rev 1.00
MS51 32K SERIES TECHNICAL REFERENCE MANUAL
PnM2 – Port Mode Select 2
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.
Input Type Select 6.4.4.3
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.
PnS – Port n Schmitt Triggered Input
Pn Schmitt triggered input
0 = TTL level input of Pn.x.
1 = Schmitt triggered input of Pn.x.
Output Slew Rate Control 6.4.4.4
Slew rate for each I/O pin is configurable individually. By default, each pin is in normal slew rate mode.
User can set each control register bit to enable high-speed slew rate for the corresponding I/O pin.