The IO Mux allows software to
configure the pins based on the requirements of the application. The software can
configure different characteristic settings for any or all of the I/O pins. All of
the following features, are controlled in the IOMUX.GPIOn registers:
- Drive
Strength(GPIOnCFG.IOSTR)
- Configures the output
drive strength of an I/O pin.
- Pull
Control(GPIOnPCTL.CTL)
- Configures a weak pull on
an I/O pin. The following can be set: pull-up, pull-down, no pull, or IP
pull control. See the data sheet for specific pull-up and pull-down
current.
- Edge Detection
(GPIOnECTL.EVTDETCFG)
- Enables edge detection on
I/O pin. The following modes are supported:
- Rising edge
- Falling edge
- Level detection
- No edge detection
- Edge detection can be
used for event generation on the AON event manager and/or a wake from
standby signal to PRCM
- Input Driver (GPIOnCFG.IE)
- Enables or disables the
I/O input driver.
- Pin Configuration
(GPIOnPCFG)
- Selects the function of
the pin. See the device specific data sheet for available functionality
per I/O pin.