4,199
edits
Changes
no edit summary
<br> One pad configuration register field is available for each pin. Each 32-bit pad configuration register is grouped into two 16-bit pad configuration register fields. One pad configuration register provides control for two different pins. These registers can be accessed using 8, 16 and 32 bits operations.<br>
The functional bits of a pad configuration register field are divided into the following five fields:
-> MUXMODE (3 bits) defines the multiplexing mode applied to the pin. A mode corresponds to the selection of the functionality mapped on the pin with six (0 to 5) possible functional modes for each pin.
-> PULL (2 bits) for combinational pullup/pulldown configuration:
-> INPUTENABLE (1 bit) drives an input > PULLUDENABLE: Pullup/pulldown enable signal to for the I/O CTRLpin.
-> > INPUTENABLE = 0: Input Disable. Pin is configured in output only mode. - INPUTENABLE = 1: Input Enable. Pin is configured in bidirectional mode. - Off mode values (5 bits) override the pin state when the OFFENABLE bit CONTROL.
CONTROL_PADCONF_X is set and off mode is active. This feature allows having separate configurations for the pins when in off mode: