6.1.8 Slew Rate Control

Some I/O pins can be configured for various types of slew rate control on its associated port. This is controlled by the slew rate control bits in the SRCON1x and SRCON0x registers that are associated with each I/O port. The slew rate control is configured using the corresponding bit in each register, as shown in the following table.

As an example, writing 0x0001, 0x0000 to SRCON1A and SRCON0A, respectively, can enable slew rate control on the RA0 pin and sets the slew rate to the slow edge rate.

Note: Slew rate control bits must not be enabled with pad configured as an input.
Table 6-1. Slew Rate Control Bit Settings(1)
SRCON1xSRCON0xDescription
11Slew rate control is enabled and is set to the slowest edge rate
10Slew rate control is enabled and is set to the slow edge rate
01Slew rate control is enabled and is set to the medium edge rate
00Slew rate control is disabled and is set to the fastest edge rate
  1. By default, all the port pins are set to the fastest edge rate.