AM263Px MCU+ SDK  10.01.00
Pinmux_PerCfg_t Struct Reference

Detailed Description

Structure defining the pin configuration parameters.

Data Fields

int16_t offset
 
uint32_t settings
 

Field Documentation

◆ offset

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

◆ settings

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))