Structure defining the pin configuration parameters.
Data Fields | |
| int16_t | offset | 
| uint32_t | settings | 
| int16_t Pinmux_PerCfg_t::offset | 
Register offset for configuring the pin. Refer Pinmux_Offsets. Set this to PINMUX_END to demark the end of configuration array
| uint32_t Pinmux_PerCfg_t::settings | 
Value to be configured. Active mode configurations like mux mode, pull resistor and Slew rate.
To set a value use like : "| PIN_PULL_DISABLE" To reset a value use like : "& (~PIN_PULL_DISABLE)"
For example, PIN_MODE(7) | ((PIN_PULL_DISABLE | PIN_SLEW_RATE_LOW))