AM261x MCU+ SDK: APIs for PINMUX

| AM261x MCU+ SDK 26.00.00 |

Files | Data Structures | Functions | Macros
APIs for PINMUX
APIs for SOC Specific Device Drivers

## Introduction

This module contains APIs to program and use the pinmux module.

## Files
file | pinmux/am261x/pinmux.h
| PINMUX Driver API/interface file.

## Data Structures
struct | Pinmux_PerCfg_t
| Structure defining the pin configuration parameters. More...

## Functions
void | Pinmux_config (const Pinmux_PerCfg_t *pinmuxCfg, uint32_t domainId)
| This API configures the pinmux based on the domain. More...
void | Pinmux_qualPeriodConfig (uint32_t qualGroupIndex, uint8_t qualPeriod)
| This API configures the Qualification period for a specific GPIO Pin group. More...
void | Pinmux_enableUserMode (void)
| This API enables user mode access to the IOMUX register space. More...
void | Pinmux_disableUserMode (void)
| This API disables user mode access to the IOMUX register space. More...

## Macros
#define | PINMUX_END (-1)
| Macro to mark end of pinmux config array. More...
#define | PIN_MODE(mode) ((uint32_t) mode)
| Pin mode - it is at 0th bit. No shift requried. More...
#define | PIN_FORCE_INPUT_ENABLE (((uint32_t) 0x1U) << 4U)
| Override IP default to enable input. More...
#define | PIN_FORCE_INPUT_DISABLE (((uint32_t) 0x3U) << 4U)
| Override IP default to disable input. More...
#define | PIN_FORCE_OUTPUT_ENABLE (((uint32_t) 0x1U) << 6U)
| Override IP default to enable output. More...
#define | PIN_FORCE_OUTPUT_DISABLE (((uint32_t) 0x3U) << 6U)
| Override IP default to disable output. More...
#define | PIN_PULL_DISABLE (((uint32_t) 0x1U) << 8U)
| Resistor enable. More...
#define | PIN_PULL_UP (((uint32_t) 0x1U) << 9U)
| Pull Up. More...
#define | PIN_PULL_DOWN (((uint32_t) 0x0U) << 9U)
| Pull Down. More...
#define | PIN_SLEW_RATE_HIGH (((uint32_t) 0x0U) << 10U)
| Slew Rate High. More...
#define | PIN_SLEW_RATE_LOW (((uint32_t) 0x1U) << 10U)
| Slew Rate Low. More...
#define | PIN_GPIO_R5SS0_0 (((uint32_t) 0x0U) << 16U)
| GPIO Pin CPU ownership - R5SS0_0. More...
#define | PIN_GPIO_R5SS0_1 (((uint32_t) 0x1U) << 16U)
| GPIO Pin CPU ownership - R5SS0_1. More...
#define | PIN_GPIO_R5SS1_0 (((uint32_t) 0x2U) << 16U)
| GPIO Pin CPU ownership - R5SS1_0. More...
#define | PIN_GPIO_R5SS1_1 (((uint32_t) 0x3U) << 16U)
| GPIO Pin CPU ownership - R5SS1_1. More...
#define | PIN_QUAL_GRP_MAX_INDEX (17U)
| Maximum possible index for GPIO Qual group. More...
#define | PIN_QUAL_GROUP_CFG_START (CSL_IOMUX_QUAL_GRP_0_CFG_REG)
| Qual Group config register offset in control module. More...
#define | PIN_QUAL_SYNC (((uint32_t) 0x0U) << 18U)
| Pin Qualifier - SYNC. More...
#define | PIN_QUAL_3SAMPLE (((uint32_t) 0x1U) << 18U)
| Pin Qualifier - 3 SAMPLE. More...
#define | PIN_QUAL_6SAMPLE (((uint32_t) 0x2U) << 18U)
| Pin Qualifier - 6 SAMPLE. More...
#define | PIN_QUAL_ASYNC (((uint32_t) 0x3U) << 18U)
| Pin Qualifier - ASYNC. More...
#define | PIN_INVERT (((uint32_t) 0x1U) << 20U)
| Pin Invert. More...
#define | PIN_NON_INVERT (((uint32_t) 0x0U) << 20U)
| Pin Non Invert. More...

## Pinmux Domain ID
#define | PINMUX_DOMAIN_ID_MAIN (0U)

## Pad config register offset in control module
#define | PIN_GPIO0 (0x00000000U)
#define | PIN_GPIO1 (0x00000004U)
#define | PIN_GPIO2 (0x00000008U)
#define | PIN_GPIO3 (0x0000000CU)
#define | PIN_GPIO4 (0x00000010U)
#define | PIN_GPIO5 (0x00000014U)
#define | PIN_GPIO6 (0x00000018U)
#define | PIN_GPIO7 (0x0000001CU)
#define | PIN_GPIO8 (0x00000020U)
#define | PIN_GPIO9 (0x00000024U)
#define | PIN_GPIO10 (0x00000028U)
#define | PIN_GPIO11 (0x0000002CU)
#define | PIN_GPIO12 (0x00000030U)
#define | PIN_GPIO13 (0x00000034U)
#define | PIN_GPIO14 (0x00000038U)
#define | PIN_GPIO15 (0x0000003CU)
#define | PIN_GPIO16 (0x00000040U)
#define | PIN_GPIO17 (0x00000044U)
#define | PIN_GPIO18 (0x00000048U)
#define | PIN_GPIO19 (0x0000004CU)
#define | PIN_GPIO20 (0x00000050U)
#define | PIN_GPIO21 (0x00000054U)
#define | PIN_GPIO22 (0x00000058U)
#define | PIN_GPIO23 (0x0000005CU)
#define | PIN_GPIO24 (0x00000060U)
#define | PIN_GPIO25 (0x00000064U)
#define | PIN_GPIO26 (0x00000068U)
#define | PIN_GPIO27 (0x0000006CU)
#define | PIN_GPIO28 (0x00000070U)
#define | PIN_GPIO29 (0x00000074U)
#define | PIN_GPIO30 (0x00000078U)
#define | PIN_GPIO31 (0x0000007CU)
#define | PIN_GPIO32 (0x00000080U)
#define | PIN_GPIO33 (0x00000084U)
#define | PIN_GPIO34 (0x00000088U)
#define | PIN_GPIO35 (0x0000008CU)
#define | PIN_GPIO36 (0x00000090U)
#define | PIN_GPIO37 (0x00000094U)
#define | PIN_GPIO38 (0x00000098U)
#define | PIN_GPIO39 (0x0000009CU)
#define | PIN_GPIO40 (0x000000A0U)
#define | PIN_GPIO41 (0x000000A4U)
#define | PIN_GPIO42 (0x000000A8U)
#define | PIN_GPIO43 (0x000000ACU)
#define | PIN_GPIO44 (0x000000B0U)
#define | PIN_GPIO45 (0x000000B4U)
#define | PIN_GPIO46 (0x000000B8U)
#define | PIN_GPIO47 (0x000000BCU)
#define | PIN_GPIO48 (0x000000C0U)
#define | PIN_GPIO49 (0x000000C4U)
#define | PIN_GPIO50 (0x000000C8U)
#define | PIN_GPIO51 (0x000000CCU)
#define | PIN_GPIO52 (0x000000D0U)
#define | PIN_GPIO53 (0x000000D4U)
#define | PIN_GPIO54 (0x000000D8U)
#define | PIN_GPIO55 (0x000000DCU)
#define | PIN_GPIO56 (0x000000E0U)
#define | PIN_GPIO57 (0x000000E4U)
#define | PIN_GPIO58 (0x000000E8U)
#define | PIN_GPIO59 (0x000000ECU)
#define | PIN_GPIO60 (0x000000F0U)
#define | PIN_GPIO61 (0x000000F4U)
#define | PIN_GPIO62 (0x000000F8U)
#define | PIN_GPIO63 (0x000000FCU)
#define | PIN_GPIO64 (0x00000100U)
#define | PIN_GPIO65 (0x00000104U)
#define | PIN_GPIO66 (0x00000108U)
#define | PIN_GPIO67 (0x0000010CU)
#define | PIN_GPIO68 (0x00000110U)
#define | PIN_GPIO69 (0x00000114U)
#define | PIN_GPIO70 (0x00000118U)
#define | PIN_GPIO71 (0x0000011CU)
#define | PIN_GPIO72 (0x00000120U)
#define | PIN_GPIO73 (0x00000124U)
#define | PIN_GPIO74 (0x00000128U)
#define | PIN_GPIO75 (0x0000012CU)
#define | PIN_GPIO76 (0x00000130U)
#define | PIN_GPIO77 (0x00000134U)
#define | PIN_GPIO78 (0x00000138U)
#define | PIN_GPIO79 (0x0000013CU)
#define | PIN_GPIO80 (0x00000140U)
#define | PIN_GPIO81 (0x00000144U)
#define | PIN_GPIO82 (0x00000148U)
#define | PIN_GPIO83 (0x0000014CU)
#define | PIN_GPIO84 (0x00000150U)
#define | PIN_GPIO85 (0x00000154U)
#define | PIN_GPIO86 (0x00000158U)
#define | PIN_GPIO87 (0x0000015CU)
#define | PIN_GPIO88 (0x00000160U)
#define | PIN_GPIO89 (0x00000164U)
#define | PIN_GPIO90 (0x00000168U)
#define | PIN_GPIO91 (0x0000016CU)
#define | PIN_GPIO92 (0x00000170U)
#define | PIN_GPIO93 (0x00000174U)
#define | PIN_GPIO94 (0x00000178U)
#define | PIN_GPIO95 (0x0000017CU)
#define | PIN_GPIO96 (0x00000180U)
#define | PIN_GPIO97 (0x00000184U)
#define | PIN_GPIO98 (0x00000188U)
#define | PIN_GPIO99 (0x0000018CU)
#define | PIN_GPIO100 (0x00000190U)
#define | PIN_GPIO101 (0x00000194U)
#define | PIN_GPIO102 (0x00000198U)
#define | PIN_GPIO103 (0x0000019CU)
#define | PIN_GPIO104 (0x000001A0U)
#define | PIN_GPIO105 (0x000001A4U)
#define | PIN_GPIO106 (0x000001A8U)
#define | PIN_GPIO107 (0x000001ACU)
#define | PIN_GPIO108 (0x000001B0U)
#define | PIN_GPIO109 (0x000001B4U)
#define | PIN_GPIO110 (0x000001B8U)
#define | PIN_GPIO111 (0x000001BCU)
#define | PIN_GPIO112 (0x000001C0U)
#define | PIN_GPIO113 (0x000001C4U)
#define | PIN_GPIO114 (0x000001C8U)
#define | PIN_GPIO115 (0x000001CCU)
#define | PIN_GPIO116 (0x000001D0U)
#define | PIN_GPIO117 (0x000001D4U)
#define | PIN_GPIO118 (0x000001D8U)
#define | PIN_GPIO119 (0x000001DCU)
#define | PIN_GPIO120 (0x000001E0U)
#define | PIN_GPIO121 (0x000001E4U)
#define | PIN_GPIO122 (0x000001E8U)
#define | PIN_GPIO123 (0x000001ECU)
#define | PIN_GPIO124 (0x000001F0U)
#define | PIN_GPIO125 (0x000001F4U)
#define | PIN_GPIO126 (0x000001F8U)
#define | PIN_GPIO127 (0x000001FCU)
#define | PIN_GPIO128 (0x00000200U)
#define | PIN_GPIO129 (0x00000204U)
#define | PIN_GPIO130 (0x00000208U)
#define | PIN_GPIO131 (0x0000020CU)
#define | PIN_GPIO132 (0x00000210U)
#define | PIN_GPIO133 (0x00000214U)
#define | PIN_GPIO134 (0x00000218U)
#define | PIN_GPIO135 (0x0000021CU)
#define | PIN_GPIO136 (0x00000220U)
#define | PIN_GPIO137 (0x00000224U)
#define | PIN_GPIO138 (0x00000228U)
#define | PIN_GPIO139 (0x0000022CU)
#define | PIN_GPIO140 (0x00000230U)
#define | PIN_WARMRSTn (0x00000234U)
#define | PIN_SAFETY_ERRORn (0x00000238U)
#define | PIN_TDI (0x0000023CU)
#define | PIN_TDO (0x00000240U)
#define | PIN_TMS (0x00000244U)
#define | PIN_TCK (0x00000248U)
#define | PIN_OSPI0_CLKLB (0x0000024CU)
#define | PIN_OSPI1_CLKLB (0x00000250U)
#define | PIN_PORz (0x00000254U)
#define | PIN_XTAL_XI (0x00000258U)
#define | PIN_XTAL_XO (0x0000025CU)
#define | PIN_ADC0_AIN0 (0x00000260U)
#define | PIN_ADC0_AIN1 (0x00000264U)
#define | PIN_ADC0_AIN2 (0x00000268U)
#define | PIN_ADC0_AIN3 (0x0000026CU)
#define | PIN_ADC0_AIN4 (0x00000270U)
#define | PIN_ADC0_AIN5 (0x00000274U)
#define | PIN_ADC0_AIN6 (0x00000278U)
#define | PIN_ADC1_AIN0 (0x0000027CU)
#define | PIN_ADC1_AIN1 (0x00000280U)
#define | PIN_ADC1_AIN2 (0x00000284U)
#define | PIN_ADC1_AIN3 (0x00000288U)
#define | PIN_ADC1_AIN4 (0x0000028CU)
#define | PIN_ADC1_AIN5 (0x00000290U)
#define | PIN_ADC1_AIN6 (0x00000294U)
#define | PIN_ADC2_AIN0 (0x00000298U)
#define | PIN_ADC2_AIN1 (0x0000029CU)
#define | PIN_ADC2_AIN2 (0x000002A0U)
#define | PIN_ADC2_AIN3 (0x000002A4U)
#define | PIN_ADC2_AIN4 (0x000002A8U)
#define | PIN_ADC2_AIN5 (0x000002ACU)
#define | PIN_ADC2_AIN6 (0x000002B0U)
#define | PIN_ADC3_AIN0 (0x000002B4U)
#define | PIN_ADC3_AIN1 (0x000002B8U)
#define | PIN_ADC3_AIN2 (0x000002BCU)
#define | PIN_ADC3_AIN3 (0x000002C0U)
#define | PIN_ADC3_AIN4 (0x000002C4U)
#define | PIN_ADC3_AIN5 (0x000002C8U)
#define | PIN_ADC4_AIN0 (0x000002CCU)
#define | PIN_ADC4_AIN1 (0x000002D0U)
#define | PIN_ADC4_AIN2 (0x000002D4U)
#define | PIN_ADC4_AIN3 (0x000002D8U)
#define | PIN_ADC4_AIN4 (0x000002DCU)
#define | PIN_ADC4_AIN5 (0x000002E0U)
#define | PIN_ADC_VREFHISRC0 (0x000002E4U)
#define | PIN_ADC_VREFLOSRC0 (0x000002E8U)
#define | PIN_ADC_VREFHI0 (0x000002ECU)
#define | PIN_ADC_VREFLO0 (0x000002F0U)
#define | PIN_ADC_VREFHI1 (0x000002F4U)
#define | PIN_ADC_VREFLO1 (0x000002F8U)
#define | PIN_ADC_VREFHI2 (0x000002FCU)
#define | PIN_ADC_VREFLO2 (0x00000300U)
#define | PIN_ADC_VREFHISRC1 (0x00000304U)
#define | PIN_ADC_VREFLOSRC1 (0x00000308U)
#define | PIN_ADC_VREFHI3 (0x0000030CU)
#define | PIN_ADC_VREFLO3 (0x00000310U)
#define | PIN_ADC_VREFHI4 (0x00000314U)
#define | PIN_ADC_VREFLO4 (0x00000318U)
#define | PIN_ADC_CAL0 (0x0000031CU)
#define | PIN_ADC_CAL1 (0x00000320U)
#define | PIN_DAC_VREF0 (0x00000324U)
#define | PIN_DAC_VREF1 (0x00000328U)
#define | PIN_DAC_OUT (0x0000032CU)
#define | PIN_TEMPCAL (0x00000330U)
#define | PIN_VSYS_MON (0x00000334U)
#define | PIN_ATESTV0 (0x00000338U)
#define | PIN_ATESTV1 (0x0000033CU)
#define | PIN_PMUBYPASS (0x00000340U)
#define | PIN_USB0_CE (0x00000344U)
#define | PIN_SDADC0_DP (0x00000348U)
#define | PIN_SDADC0_DM (0x0000034CU)
#define | PIN_ADC_CAL2 (0x00000350U)
#define | PIN_ADC_R0_AIN0 (0x00000354U)
#define | PIN_ADC_R0_AIN1 (0x00000358U)
#define | PIN_ADC_R0_AIN2 (0x0000035CU)
#define | PIN_ADC_R0_AIN3 (0x00000360U)
#define | PIN_ADC_VREFLO5 (0x00000364U)
#define | PIN_ADC_VREFHI5 (0x00000368U)
#define | PIN_ADC_VREFLO6 (0x0000036CU)
#define | PIN_ADC_VREFHI6 (0x00000370U)
#define | PIN_ADC_R1_AIN0 (0x00000374U)
#define | PIN_ADC_R1_AIN1 (0x00000378U)
#define | PIN_ADC_R1_AIN2 (0x0000037CU)
#define | PIN_ADC_R1_AIN3 (0x00000380U)
#define | PIN_ADC_CAL3 (0x00000384U)

## Macro Definition Documentation

## ◆ PINMUX_DOMAIN_ID_MAIN

#define PINMUX_DOMAIN_ID_MAIN (0U)

## ◆ PINMUX_END

#define PINMUX_END (-1)

Macro to mark end of pinmux config array.

## ◆ PIN_MODE

#define PIN_MODE | ( |  | mode | ) | ((uint32_t) mode)

Pin mode - it is at 0th bit. No shift requried.

## ◆ PIN_FORCE_INPUT_ENABLE

#define PIN_FORCE_INPUT_ENABLE (((uint32_t) 0x1U) << 4U)

Override IP default to enable input.

## ◆ PIN_FORCE_INPUT_DISABLE

#define PIN_FORCE_INPUT_DISABLE (((uint32_t) 0x3U) << 4U)

Override IP default to disable input.

## ◆ PIN_FORCE_OUTPUT_ENABLE

#define PIN_FORCE_OUTPUT_ENABLE (((uint32_t) 0x1U) << 6U)

Override IP default to enable output.

## ◆ PIN_FORCE_OUTPUT_DISABLE

#define PIN_FORCE_OUTPUT_DISABLE (((uint32_t) 0x3U) << 6U)

Override IP default to disable output.

## ◆ PIN_PULL_DISABLE

#define PIN_PULL_DISABLE (((uint32_t) 0x1U) << 8U)

Resistor enable.

## ◆ PIN_PULL_UP

#define PIN_PULL_UP (((uint32_t) 0x1U) << 9U)

Pull Up.

## ◆ PIN_PULL_DOWN

#define PIN_PULL_DOWN (((uint32_t) 0x0U) << 9U)

Pull Down.

## ◆ PIN_SLEW_RATE_HIGH

#define PIN_SLEW_RATE_HIGH (((uint32_t) 0x0U) << 10U)

Slew Rate High.

## ◆ PIN_SLEW_RATE_LOW

#define PIN_SLEW_RATE_LOW (((uint32_t) 0x1U) << 10U)

Slew Rate Low.

## ◆ PIN_GPIO_R5SS0_0

#define PIN_GPIO_R5SS0_0 (((uint32_t) 0x0U) << 16U)

GPIO Pin CPU ownership - R5SS0_0.

## ◆ PIN_GPIO_R5SS0_1

#define PIN_GPIO_R5SS0_1 (((uint32_t) 0x1U) << 16U)

GPIO Pin CPU ownership - R5SS0_1.

## ◆ PIN_GPIO_R5SS1_0

#define PIN_GPIO_R5SS1_0 (((uint32_t) 0x2U) << 16U)

GPIO Pin CPU ownership - R5SS1_0.

## ◆ PIN_GPIO_R5SS1_1

#define PIN_GPIO_R5SS1_1 (((uint32_t) 0x3U) << 16U)

GPIO Pin CPU ownership - R5SS1_1.

## ◆ PIN_QUAL_GRP_MAX_INDEX

#define PIN_QUAL_GRP_MAX_INDEX (17U)

Maximum possible index for GPIO Qual group.

## ◆ PIN_QUAL_GROUP_CFG_START

#define PIN_QUAL_GROUP_CFG_START (CSL_IOMUX_QUAL_GRP_0_CFG_REG)

Qual Group config register offset in control module.

## ◆ PIN_QUAL_SYNC

#define PIN_QUAL_SYNC (((uint32_t) 0x0U) << 18U)

Pin Qualifier - SYNC.

## ◆ PIN_QUAL_3SAMPLE

#define PIN_QUAL_3SAMPLE (((uint32_t) 0x1U) << 18U)

Pin Qualifier - 3 SAMPLE.

## ◆ PIN_QUAL_6SAMPLE

#define PIN_QUAL_6SAMPLE (((uint32_t) 0x2U) << 18U)

Pin Qualifier - 6 SAMPLE.

## ◆ PIN_QUAL_ASYNC

#define PIN_QUAL_ASYNC (((uint32_t) 0x3U) << 18U)

Pin Qualifier - ASYNC.

## ◆ PIN_INVERT

#define PIN_INVERT (((uint32_t) 0x1U) << 20U)

Pin Invert.

## ◆ PIN_NON_INVERT

#define PIN_NON_INVERT (((uint32_t) 0x0U) << 20U)

Pin Non Invert.

## ◆ PIN_GPIO0

#define PIN_GPIO0 (0x00000000U)

## ◆ PIN_GPIO1

#define PIN_GPIO1 (0x00000004U)

## ◆ PIN_GPIO2

#define PIN_GPIO2 (0x00000008U)

## ◆ PIN_GPIO3

#define PIN_GPIO3 (0x0000000CU)

## ◆ PIN_GPIO4

#define PIN_GPIO4 (0x00000010U)

## ◆ PIN_GPIO5

#define PIN_GPIO5 (0x00000014U)

## ◆ PIN_GPIO6

#define PIN_GPIO6 (0x00000018U)

## ◆ PIN_GPIO7

#define PIN_GPIO7 (0x0000001CU)

## ◆ PIN_GPIO8

#define PIN_GPIO8 (0x00000020U)

## ◆ PIN_GPIO9

#define PIN_GPIO9 (0x00000024U)

## ◆ PIN_GPIO10

#define PIN_GPIO10 (0x00000028U)

## ◆ PIN_GPIO11

#define PIN_GPIO11 (0x0000002CU)

## ◆ PIN_GPIO12

#define PIN_GPIO12 (0x00000030U)

## ◆ PIN_GPIO13

#define PIN_GPIO13 (0x00000034U)

## ◆ PIN_GPIO14

#define PIN_GPIO14 (0x00000038U)

## ◆ PIN_GPIO15

#define PIN_GPIO15 (0x0000003CU)

## ◆ PIN_GPIO16

#define PIN_GPIO16 (0x00000040U)

## ◆ PIN_GPIO17

#define PIN_GPIO17 (0x00000044U)

## ◆ PIN_GPIO18

#define PIN_GPIO18 (0x00000048U)

## ◆ PIN_GPIO19

#define PIN_GPIO19 (0x0000004CU)

## ◆ PIN_GPIO20

#define PIN_GPIO20 (0x00000050U)

## ◆ PIN_GPIO21

#define PIN_GPIO21 (0x00000054U)

## ◆ PIN_GPIO22

#define PIN_GPIO22 (0x00000058U)

## ◆ PIN_GPIO23

#define PIN_GPIO23 (0x0000005CU)

## ◆ PIN_GPIO24

#define PIN_GPIO24 (0x00000060U)

## ◆ PIN_GPIO25

#define PIN_GPIO25 (0x00000064U)

## ◆ PIN_GPIO26

#define PIN_GPIO26 (0x00000068U)

## ◆ PIN_GPIO27

#define PIN_GPIO27 (0x0000006CU)

## ◆ PIN_GPIO28

#define PIN_GPIO28 (0x00000070U)

## ◆ PIN_GPIO29

#define PIN_GPIO29 (0x00000074U)

## ◆ PIN_GPIO30

#define PIN_GPIO30 (0x00000078U)

## ◆ PIN_GPIO31

#define PIN_GPIO31 (0x0000007CU)

## ◆ PIN_GPIO32

#define PIN_GPIO32 (0x00000080U)

## ◆ PIN_GPIO33

#define PIN_GPIO33 (0x00000084U)

## ◆ PIN_GPIO34

#define PIN_GPIO34 (0x00000088U)

## ◆ PIN_GPIO35

#define PIN_GPIO35 (0x0000008CU)

## ◆ PIN_GPIO36

#define PIN_GPIO36 (0x00000090U)

## ◆ PIN_GPIO37

#define PIN_GPIO37 (0x00000094U)

## ◆ PIN_GPIO38

#define PIN_GPIO38 (0x00000098U)

## ◆ PIN_GPIO39

#define PIN_GPIO39 (0x0000009CU)

## ◆ PIN_GPIO40

#define PIN_GPIO40 (0x000000A0U)

## ◆ PIN_GPIO41

#define PIN_GPIO41 (0x000000A4U)

## ◆ PIN_GPIO42

#define PIN_GPIO42 (0x000000A8U)

## ◆ PIN_GPIO43

#define PIN_GPIO43 (0x000000ACU)

## ◆ PIN_GPIO44

#define PIN_GPIO44 (0x000000B0U)

## ◆ PIN_GPIO45

#define PIN_GPIO45 (0x000000B4U)

## ◆ PIN_GPIO46

#define PIN_GPIO46 (0x000000B8U)

## ◆ PIN_GPIO47

#define PIN_GPIO47 (0x000000BCU)

## ◆ PIN_GPIO48

#define PIN_GPIO48 (0x000000C0U)

## ◆ PIN_GPIO49

#define PIN_GPIO49 (0x000000C4U)

## ◆ PIN_GPIO50

#define PIN_GPIO50 (0x000000C8U)

## ◆ PIN_GPIO51

#define PIN_GPIO51 (0x000000CCU)

## ◆ PIN_GPIO52

#define PIN_GPIO52 (0x000000D0U)

## ◆ PIN_GPIO53

#define PIN_GPIO53 (0x000000D4U)

## ◆ PIN_GPIO54

#define PIN_GPIO54 (0x000000D8U)

## ◆ PIN_GPIO55

#define PIN_GPIO55 (0x000000DCU)

## ◆ PIN_GPIO56

#define PIN_GPIO56 (0x000000E0U)

## ◆ PIN_GPIO57

#define PIN_GPIO57 (0x000000E4U)

## ◆ PIN_GPIO58

#define PIN_GPIO58 (0x000000E8U)

## ◆ PIN_GPIO59

#define PIN_GPIO59 (0x000000ECU)

## ◆ PIN_GPIO60

#define PIN_GPIO60 (0x000000F0U)

## ◆ PIN_GPIO61

#define PIN_GPIO61 (0x000000F4U)

## ◆ PIN_GPIO62

#define PIN_GPIO62 (0x000000F8U)

## ◆ PIN_GPIO63

#define PIN_GPIO63 (0x000000FCU)

## ◆ PIN_GPIO64

#define PIN_GPIO64 (0x00000100U)

## ◆ PIN_GPIO65

#define PIN_GPIO65 (0x00000104U)

## ◆ PIN_GPIO66

#define PIN_GPIO66 (0x00000108U)

## ◆ PIN_GPIO67

#define PIN_GPIO67 (0x0000010CU)

## ◆ PIN_GPIO68

#define PIN_GPIO68 (0x00000110U)

## ◆ PIN_GPIO69

#define PIN_GPIO69 (0x00000114U)

## ◆ PIN_GPIO70

#define PIN_GPIO70 (0x00000118U)

## ◆ PIN_GPIO71

#define PIN_GPIO71 (0x0000011CU)

## ◆ PIN_GPIO72

#define PIN_GPIO72 (0x00000120U)

## ◆ PIN_GPIO73

#define PIN_GPIO73 (0x00000124U)

## ◆ PIN_GPIO74

#define PIN_GPIO74 (0x00000128U)

## ◆ PIN_GPIO75

#define PIN_GPIO75 (0x0000012CU)

## ◆ PIN_GPIO76

#define PIN_GPIO76 (0x00000130U)

## ◆ PIN_GPIO77

#define PIN_GPIO77 (0x00000134U)

## ◆ PIN_GPIO78

#define PIN_GPIO78 (0x00000138U)

## ◆ PIN_GPIO79

#define PIN_GPIO79 (0x0000013CU)

## ◆ PIN_GPIO80

#define PIN_GPIO80 (0x00000140U)

## ◆ PIN_GPIO81

#define PIN_GPIO81 (0x00000144U)

## ◆ PIN_GPIO82

#define PIN_GPIO82 (0x00000148U)

## ◆ PIN_GPIO83

#define PIN_GPIO83 (0x0000014CU)

## ◆ PIN_GPIO84

#define PIN_GPIO84 (0x00000150U)

## ◆ PIN_GPIO85

#define PIN_GPIO85 (0x00000154U)

## ◆ PIN_GPIO86

#define PIN_GPIO86 (0x00000158U)

## ◆ PIN_GPIO87

#define PIN_GPIO87 (0x0000015CU)

## ◆ PIN_GPIO88

#define PIN_GPIO88 (0x00000160U)

## ◆ PIN_GPIO89

#define PIN_GPIO89 (0x00000164U)

## ◆ PIN_GPIO90

#define PIN_GPIO90 (0x00000168U)

## ◆ PIN_GPIO91

#define PIN_GPIO91 (0x0000016CU)

## ◆ PIN_GPIO92

#define PIN_GPIO92 (0x00000170U)

## ◆ PIN_GPIO93

#define PIN_GPIO93 (0x00000174U)

## ◆ PIN_GPIO94

#define PIN_GPIO94 (0x00000178U)

## ◆ PIN_GPIO95

#define PIN_GPIO95 (0x0000017CU)

## ◆ PIN_GPIO96

#define PIN_GPIO96 (0x00000180U)

## ◆ PIN_GPIO97

#define PIN_GPIO97 (0x00000184U)

## ◆ PIN_GPIO98

#define PIN_GPIO98 (0x00000188U)

## ◆ PIN_GPIO99

#define PIN_GPIO99 (0x0000018CU)

## ◆ PIN_GPIO100

#define PIN_GPIO100 (0x00000190U)

## ◆ PIN_GPIO101

#define PIN_GPIO101 (0x00000194U)

## ◆ PIN_GPIO102

#define PIN_GPIO102 (0x00000198U)

## ◆ PIN_GPIO103

#define PIN_GPIO103 (0x0000019CU)

## ◆ PIN_GPIO104

#define PIN_GPIO104 (0x000001A0U)

## ◆ PIN_GPIO105

#define PIN_GPIO105 (0x000001A4U)

## ◆ PIN_GPIO106

#define PIN_GPIO106 (0x000001A8U)

## ◆ PIN_GPIO107

#define PIN_GPIO107 (0x000001ACU)

## ◆ PIN_GPIO108

#define PIN_GPIO108 (0x000001B0U)

## ◆ PIN_GPIO109

#define PIN_GPIO109 (0x000001B4U)

## ◆ PIN_GPIO110

#define PIN_GPIO110 (0x000001B8U)

## ◆ PIN_GPIO111

#define PIN_GPIO111 (0x000001BCU)

## ◆ PIN_GPIO112

#define PIN_GPIO112 (0x000001C0U)

## ◆ PIN_GPIO113

#define PIN_GPIO113 (0x000001C4U)

## ◆ PIN_GPIO114

#define PIN_GPIO114 (0x000001C8U)

## ◆ PIN_GPIO115

#define PIN_GPIO115 (0x000001CCU)

## ◆ PIN_GPIO116

#define PIN_GPIO116 (0x000001D0U)

## ◆ PIN_GPIO117

#define PIN_GPIO117 (0x000001D4U)

## ◆ PIN_GPIO118

#define PIN_GPIO118 (0x000001D8U)

## ◆ PIN_GPIO119

#define PIN_GPIO119 (0x000001DCU)

## ◆ PIN_GPIO120

#define PIN_GPIO120 (0x000001E0U)

## ◆ PIN_GPIO121

#define PIN_GPIO121 (0x000001E4U)

## ◆ PIN_GPIO122

#define PIN_GPIO122 (0x000001E8U)

## ◆ PIN_GPIO123

#define PIN_GPIO123 (0x000001ECU)

## ◆ PIN_GPIO124

#define PIN_GPIO124 (0x000001F0U)

## ◆ PIN_GPIO125

#define PIN_GPIO125 (0x000001F4U)

## ◆ PIN_GPIO126

#define PIN_GPIO126 (0x000001F8U)

## ◆ PIN_GPIO127

#define PIN_GPIO127 (0x000001FCU)

## ◆ PIN_GPIO128

#define PIN_GPIO128 (0x00000200U)

## ◆ PIN_GPIO129

#define PIN_GPIO129 (0x00000204U)

## ◆ PIN_GPIO130

#define PIN_GPIO130 (0x00000208U)

## ◆ PIN_GPIO131

#define PIN_GPIO131 (0x0000020CU)

## ◆ PIN_GPIO132

#define PIN_GPIO132 (0x00000210U)

## ◆ PIN_GPIO133

#define PIN_GPIO133 (0x00000214U)

## ◆ PIN_GPIO134

#define PIN_GPIO134 (0x00000218U)

## ◆ PIN_GPIO135

#define PIN_GPIO135 (0x0000021CU)

## ◆ PIN_GPIO136

#define PIN_GPIO136 (0x00000220U)

## ◆ PIN_GPIO137

#define PIN_GPIO137 (0x00000224U)

## ◆ PIN_GPIO138

#define PIN_GPIO138 (0x00000228U)

## ◆ PIN_GPIO139

#define PIN_GPIO139 (0x0000022CU)

## ◆ PIN_GPIO140

#define PIN_GPIO140 (0x00000230U)

## ◆ PIN_WARMRSTn

#define PIN_WARMRSTn (0x00000234U)

## ◆ PIN_SAFETY_ERRORn

#define PIN_SAFETY_ERRORn (0x00000238U)

## ◆ PIN_TDI

#define PIN_TDI (0x0000023CU)

## ◆ PIN_TDO

#define PIN_TDO (0x00000240U)

## ◆ PIN_TMS

#define PIN_TMS (0x00000244U)

## ◆ PIN_TCK

#define PIN_TCK (0x00000248U)

## ◆ PIN_OSPI0_CLKLB

#define PIN_OSPI0_CLKLB (0x0000024CU)

## ◆ PIN_OSPI1_CLKLB

#define PIN_OSPI1_CLKLB (0x00000250U)

## ◆ PIN_PORz

#define PIN_PORz (0x00000254U)

## ◆ PIN_XTAL_XI

#define PIN_XTAL_XI (0x00000258U)

## ◆ PIN_XTAL_XO

#define PIN_XTAL_XO (0x0000025CU)

## ◆ PIN_ADC0_AIN0

#define PIN_ADC0_AIN0 (0x00000260U)

## ◆ PIN_ADC0_AIN1

#define PIN_ADC0_AIN1 (0x00000264U)

## ◆ PIN_ADC0_AIN2

#define PIN_ADC0_AIN2 (0x00000268U)

## ◆ PIN_ADC0_AIN3

#define PIN_ADC0_AIN3 (0x0000026CU)

## ◆ PIN_ADC0_AIN4

#define PIN_ADC0_AIN4 (0x00000270U)

## ◆ PIN_ADC0_AIN5

#define PIN_ADC0_AIN5 (0x00000274U)

## ◆ PIN_ADC0_AIN6

#define PIN_ADC0_AIN6 (0x00000278U)

## ◆ PIN_ADC1_AIN0

#define PIN_ADC1_AIN0 (0x0000027CU)

## ◆ PIN_ADC1_AIN1

#define PIN_ADC1_AIN1 (0x00000280U)

## ◆ PIN_ADC1_AIN2

#define PIN_ADC1_AIN2 (0x00000284U)

## ◆ PIN_ADC1_AIN3

#define PIN_ADC1_AIN3 (0x00000288U)

## ◆ PIN_ADC1_AIN4

#define PIN_ADC1_AIN4 (0x0000028CU)

## ◆ PIN_ADC1_AIN5

#define PIN_ADC1_AIN5 (0x00000290U)

## ◆ PIN_ADC1_AIN6

#define PIN_ADC1_AIN6 (0x00000294U)

## ◆ PIN_ADC2_AIN0

#define PIN_ADC2_AIN0 (0x00000298U)

## ◆ PIN_ADC2_AIN1

#define PIN_ADC2_AIN1 (0x0000029CU)

## ◆ PIN_ADC2_AIN2

#define PIN_ADC2_AIN2 (0x000002A0U)

## ◆ PIN_ADC2_AIN3

#define PIN_ADC2_AIN3 (0x000002A4U)

## ◆ PIN_ADC2_AIN4

#define PIN_ADC2_AIN4 (0x000002A8U)

## ◆ PIN_ADC2_AIN5

#define PIN_ADC2_AIN5 (0x000002ACU)

## ◆ PIN_ADC2_AIN6

#define PIN_ADC2_AIN6 (0x000002B0U)

## ◆ PIN_ADC3_AIN0

#define PIN_ADC3_AIN0 (0x000002B4U)

## ◆ PIN_ADC3_AIN1

#define PIN_ADC3_AIN1 (0x000002B8U)

## ◆ PIN_ADC3_AIN2

#define PIN_ADC3_AIN2 (0x000002BCU)

## ◆ PIN_ADC3_AIN3

#define PIN_ADC3_AIN3 (0x000002C0U)

## ◆ PIN_ADC3_AIN4

#define PIN_ADC3_AIN4 (0x000002C4U)

## ◆ PIN_ADC3_AIN5

#define PIN_ADC3_AIN5 (0x000002C8U)

## ◆ PIN_ADC4_AIN0

#define PIN_ADC4_AIN0 (0x000002CCU)

## ◆ PIN_ADC4_AIN1

#define PIN_ADC4_AIN1 (0x000002D0U)

## ◆ PIN_ADC4_AIN2

#define PIN_ADC4_AIN2 (0x000002D4U)

## ◆ PIN_ADC4_AIN3

#define PIN_ADC4_AIN3 (0x000002D8U)

## ◆ PIN_ADC4_AIN4

#define PIN_ADC4_AIN4 (0x000002DCU)

## ◆ PIN_ADC4_AIN5

#define PIN_ADC4_AIN5 (0x000002E0U)

## ◆ PIN_ADC_VREFHISRC0

#define PIN_ADC_VREFHISRC0 (0x000002E4U)

## ◆ PIN_ADC_VREFLOSRC0

#define PIN_ADC_VREFLOSRC0 (0x000002E8U)

## ◆ PIN_ADC_VREFHI0

#define PIN_ADC_VREFHI0 (0x000002ECU)

## ◆ PIN_ADC_VREFLO0

#define PIN_ADC_VREFLO0 (0x000002F0U)

## ◆ PIN_ADC_VREFHI1

#define PIN_ADC_VREFHI1 (0x000002F4U)

## ◆ PIN_ADC_VREFLO1

#define PIN_ADC_VREFLO1 (0x000002F8U)

## ◆ PIN_ADC_VREFHI2

#define PIN_ADC_VREFHI2 (0x000002FCU)

## ◆ PIN_ADC_VREFLO2

#define PIN_ADC_VREFLO2 (0x00000300U)

## ◆ PIN_ADC_VREFHISRC1

#define PIN_ADC_VREFHISRC1 (0x00000304U)

## ◆ PIN_ADC_VREFLOSRC1

#define PIN_ADC_VREFLOSRC1 (0x00000308U)

## ◆ PIN_ADC_VREFHI3

#define PIN_ADC_VREFHI3 (0x0000030CU)

## ◆ PIN_ADC_VREFLO3

#define PIN_ADC_VREFLO3 (0x00000310U)

## ◆ PIN_ADC_VREFHI4

#define PIN_ADC_VREFHI4 (0x00000314U)

## ◆ PIN_ADC_VREFLO4

#define PIN_ADC_VREFLO4 (0x00000318U)

## ◆ PIN_ADC_CAL0

#define PIN_ADC_CAL0 (0x0000031CU)

## ◆ PIN_ADC_CAL1

#define PIN_ADC_CAL1 (0x00000320U)

## ◆ PIN_DAC_VREF0

#define PIN_DAC_VREF0 (0x00000324U)

## ◆ PIN_DAC_VREF1

#define PIN_DAC_VREF1 (0x00000328U)

## ◆ PIN_DAC_OUT

#define PIN_DAC_OUT (0x0000032CU)

## ◆ PIN_TEMPCAL

#define PIN_TEMPCAL (0x00000330U)

## ◆ PIN_VSYS_MON

#define PIN_VSYS_MON (0x00000334U)

## ◆ PIN_ATESTV0

#define PIN_ATESTV0 (0x00000338U)

## ◆ PIN_ATESTV1

#define PIN_ATESTV1 (0x0000033CU)

## ◆ PIN_PMUBYPASS

#define PIN_PMUBYPASS (0x00000340U)

## ◆ PIN_USB0_CE

#define PIN_USB0_CE (0x00000344U)

## ◆ PIN_SDADC0_DP

#define PIN_SDADC0_DP (0x00000348U)

## ◆ PIN_SDADC0_DM

#define PIN_SDADC0_DM (0x0000034CU)

## ◆ PIN_ADC_CAL2

#define PIN_ADC_CAL2 (0x00000350U)

## ◆ PIN_ADC_R0_AIN0

#define PIN_ADC_R0_AIN0 (0x00000354U)

## ◆ PIN_ADC_R0_AIN1

#define PIN_ADC_R0_AIN1 (0x00000358U)

## ◆ PIN_ADC_R0_AIN2

#define PIN_ADC_R0_AIN2 (0x0000035CU)

## ◆ PIN_ADC_R0_AIN3

#define PIN_ADC_R0_AIN3 (0x00000360U)

## ◆ PIN_ADC_VREFLO5

#define PIN_ADC_VREFLO5 (0x00000364U)

## ◆ PIN_ADC_VREFHI5

#define PIN_ADC_VREFHI5 (0x00000368U)

## ◆ PIN_ADC_VREFLO6

#define PIN_ADC_VREFLO6 (0x0000036CU)

## ◆ PIN_ADC_VREFHI6

#define PIN_ADC_VREFHI6 (0x00000370U)

## ◆ PIN_ADC_R1_AIN0

#define PIN_ADC_R1_AIN0 (0x00000374U)

## ◆ PIN_ADC_R1_AIN1

#define PIN_ADC_R1_AIN1 (0x00000378U)

## ◆ PIN_ADC_R1_AIN2

#define PIN_ADC_R1_AIN2 (0x0000037CU)

## ◆ PIN_ADC_R1_AIN3

#define PIN_ADC_R1_AIN3 (0x00000380U)

## ◆ PIN_ADC_CAL3

#define PIN_ADC_CAL3 (0x00000384U)

## Function Documentation

## ◆ Pinmux_config()

void Pinmux_config | ( | const Pinmux_PerCfg_t * | pinmuxCfg,
|  | uint32_t | domainId
| ) |  |

This API configures the pinmux based on the domain.

Parameters

  pinmuxCfg | Pointer to list of pinmux configuration array. This parameter cannot be NULL and the last entry should be initialized with PINMUX_END so that this function knows the end of configuration.
  domainId | Domain ID to set pinmux configuration. Refer Pinmux_DomainId_t

## ◆ Pinmux_qualPeriodConfig()

void Pinmux_qualPeriodConfig | ( | uint32_t | qualGroupIndex,
|  | uint8_t | qualPeriod
| ) |  |

This API configures the Qualification period for a specific GPIO Pin group.

Parameters

  qualGroupIndex | Index of GPIO Pin group for which the Period is being configured. Range is from 0-17.
  qualPeriod | Qual Period value for the Pin group.

## ◆ Pinmux_enableUserMode()

void Pinmux_enableUserMode | ( | void |  | ) |

This API enables user mode access to the IOMUX register space.

## ◆ Pinmux_disableUserMode()

void Pinmux_disableUserMode | ( | void |  | ) |

This API disables user mode access to the IOMUX register space.