33.2 Features
The following are key features of the PORT module:
- Selectable input and output configuration for each individual pin
- Software-controlled multiplexing of peripheral functions on I/O pins
- Flexible pin configuration through a dedicated Pin Configuration register
- Configurable output driver:
- Totem-pole (push-pull)
- Slew rate limit
- Open drain
- Configurable input buffer and pull settings:
- Internal pull-up or pull-down options
- Input sampling criteria
- Input buffer can be disabled if not needed for lower power consumption
- Input event:
- Up to four input event pins for each PORT group
- Set, Clear, Toggle event actions for each event input on output value of a pin
- Can be output to pin