AM65x MCU+ SDK  09.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 pinMainOffsets and pinWkupOffsets. 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 buffer mode.

To set a value use like : "| PIN_PULL_DISABLE" To reset a value use like : "& (~PIN_PULL_DIRECTION)"

For example, PIN_MODE(7) | ((PIN_PULL_DISABLE | PIN_INPUT_ENABLE) & (~PIN_PULL_DIRECTION)