This module contains APIs to program and use the pinmux module.
◆ PINMUX_DOMAIN_ID_MAIN
#define PINMUX_DOMAIN_ID_MAIN (0U) |
◆ PINMUX_DOMAIN_ID_MCU
#define PINMUX_DOMAIN_ID_MCU (1U) |
◆ PINMUX_END
#define PINMUX_END (0xFFFFFFFFU) |
Macro to mark end of pinmux config array.
◆ PIN_MODE
#define PIN_MODE |
( |
|
mode | ) |
(mode) |
◆ PIN_PULL_DISABLE
#define PIN_PULL_DISABLE (0x1U << 8U) |
◆ PIN_PULL_DIRECTION
#define PIN_PULL_DIRECTION (0x1U << 9U) |
Pull direction, 0: pull-down, 1: pull-up.
◆ PIN_PAD_AA
#define PIN_PAD_AA (0x00000000U) |
◆ PIN_PAD_AB
#define PIN_PAD_AB (0x00000004U) |
◆ PIN_PAD_AC
#define PIN_PAD_AC (0x00000008U) |
◆ PIN_PAD_AD
#define PIN_PAD_AD (0x0000000CU) |
◆ PIN_PAD_AE
#define PIN_PAD_AE (0x00000010U) |
◆ PIN_PAD_AF
#define PIN_PAD_AF (0x00000014U) |
◆ PIN_PAD_AG
#define PIN_PAD_AG (0x00000018U) |
◆ PIN_PAD_AH
#define PIN_PAD_AH (0x0000001CU) |
◆ PIN_PAD_AI
#define PIN_PAD_AI (0x00000020U) |
◆ PIN_PAD_AJ
#define PIN_PAD_AJ (0x00000024U) |
◆ PIN_PAD_AK
#define PIN_PAD_AK (0x00000028U) |
◆ PIN_PAD_AL
#define PIN_PAD_AL (0x0000002CU) |
◆ PIN_PAD_AM
#define PIN_PAD_AM (0x00000030U) |
◆ PIN_PAD_AN
#define PIN_PAD_AN (0x00000034U) |
◆ PIN_PAD_AO
#define PIN_PAD_AO (0x00000038U) |
◆ PIN_PAD_AP
#define PIN_PAD_AP (0x0000003CU) |
◆ PIN_PAD_AQ
#define PIN_PAD_AQ (0x00000040U) |
◆ PIN_PAD_AR
#define PIN_PAD_AR (0x00000044U) |
◆ PIN_PAD_AS
#define PIN_PAD_AS (0x00000048U) |
◆ PIN_PAD_AT
#define PIN_PAD_AT (0x0000004CU) |
◆ PIN_PAD_AU
#define PIN_PAD_AU (0x00000050U) |
◆ PIN_PAD_AV
#define PIN_PAD_AV (0x00000054U) |
◆ PIN_PAD_AW
#define PIN_PAD_AW (0x00000058U) |
◆ PIN_PAD_AX
#define PIN_PAD_AX (0x0000005CU) |
◆ PIN_PAD_AY
#define PIN_PAD_AY (0x00000060U) |
◆ PIN_PAD_AZ
#define PIN_PAD_AZ (0x00000064U) |
◆ PIN_PAD_BA
#define PIN_PAD_BA (0x00000068U) |
◆ PIN_PAD_BB
#define PIN_PAD_BB (0x0000006CU) |
◆ PIN_PAD_BC
#define PIN_PAD_BC (0x00000070U) |
◆ PIN_PAD_BD
#define PIN_PAD_BD (0x00000074U) |
◆ PIN_PAD_BE
#define PIN_PAD_BE (0x00000078U) |
◆ PIN_PAD_BF
#define PIN_PAD_BF (0x0000007CU) |
◆ PIN_PAD_BG
#define PIN_PAD_BG (0x00000080U) |
◆ PIN_PAD_BH
#define PIN_PAD_BH (0x00000084U) |
◆ PIN_PAD_BI
#define PIN_PAD_BI (0x00000088U) |
◆ PIN_PAD_BJ
#define PIN_PAD_BJ (0x0000008CU) |
◆ PIN_PAD_BK
#define PIN_PAD_BK (0x00000090U) |
◆ PIN_PAD_BL
#define PIN_PAD_BL (0x00000094U) |
◆ PIN_PAD_BM
#define PIN_PAD_BM (0x00000098U) |
◆ PIN_PAD_BN
#define PIN_PAD_BN (0x0000009CU) |
◆ PIN_PAD_BO
#define PIN_PAD_BO (0x000000A0U) |
◆ PIN_PAD_BP
#define PIN_PAD_BP (0x000000A4U) |
◆ PIN_PAD_BQ
#define PIN_PAD_BQ (0x000000A8U) |
◆ PIN_PAD_BR
#define PIN_PAD_BR (0x000000ACU) |
◆ PIN_PAD_BS
#define PIN_PAD_BS (0x000000B0U) |
◆ PIN_PAD_BT
#define PIN_PAD_BT (0x000000B4U) |
◆ PIN_PAD_BU
#define PIN_PAD_BU (0x000000B8U) |
◆ PIN_PAD_BV
#define PIN_PAD_BV (0x000000BCU) |
◆ PIN_PAD_BW
#define PIN_PAD_BW (0x000000C0U) |
◆ PIN_PAD_BX
#define PIN_PAD_BX (0x000000C4U) |
◆ PIN_PAD_BY
#define PIN_PAD_BY (0x000000C8U) |
◆ PIN_PAD_BZ
#define PIN_PAD_BZ (0x000000CCU) |
◆ PIN_PAD_CA
#define PIN_PAD_CA (0x000000D0U) |
◆ PIN_PAD_CB
#define PIN_PAD_CB (0x000000D4U) |
◆ PIN_PAD_CC
#define PIN_PAD_CC (0x000000D8U) |
◆ PIN_PAD_CD
#define PIN_PAD_CD (0x000000DCU) |
◆ PIN_PAD_CE
#define PIN_PAD_CE (0x000000E0U) |
◆ PIN_PAD_CF
#define PIN_PAD_CF (0x000000E4U) |
◆ PIN_PAD_CG
#define PIN_PAD_CG (0x000000E8U) |
◆ PIN_PAD_CH
#define PIN_PAD_CH (0x000000ECU) |
◆ PIN_PAD_CI
#define PIN_PAD_CI (0x000000F0U) |
◆ PIN_PAD_CJ
#define PIN_PAD_CJ (0x000000F4U) |
◆ PIN_PAD_CK
#define PIN_PAD_CK (0x000000F8U) |
◆ PIN_PAD_CL
#define PIN_PAD_CL (0x000000FCU) |
◆ PIN_PAD_CM
#define PIN_PAD_CM (0x00000100U) |
◆ PIN_PAD_CN
#define PIN_PAD_CN (0x00000104U) |
◆ PIN_PAD_CO
#define PIN_PAD_CO (0x00000108U) |
◆ PIN_PAD_CP
#define PIN_PAD_CP (0x0000010CU) |
◆ PIN_PAD_CQ
#define PIN_PAD_CQ (0x00000110U) |
◆ PIN_PAD_CR
#define PIN_PAD_CR (0x00000114U) |
◆ PIN_PAD_CS
#define PIN_PAD_CS (0x00000118U) |
◆ PIN_PAD_CT
#define PIN_PAD_CT (0x0000011CU) |
◆ PIN_PAD_CU
#define PIN_PAD_CU (0x00000120U) |
◆ PIN_PAD_CV
#define PIN_PAD_CV (0x00000124U) |
◆ PIN_PAD_CW
#define PIN_PAD_CW (0x00000128U) |
◆ PIN_PAD_CX
#define PIN_PAD_CX (0x0000012CU) |
◆ PIN_PAD_CY
#define PIN_PAD_CY (0x00000130U) |
◆ PIN_PAD_CZ
#define PIN_PAD_CZ (0x00000134U) |
◆ PIN_PAD_DA
#define PIN_PAD_DA (0x00000138U) |
◆ PIN_PAD_DB
#define PIN_PAD_DB (0x0000013CU) |
◆ PIN_PAD_DC
#define PIN_PAD_DC (0x00000140U) |
◆ PIN_PAD_DD
#define PIN_PAD_DD (0x00000144U) |
◆ PIN_PAD_DE
#define PIN_PAD_DE (0x00000148U) |
◆ PIN_PAD_DF
#define PIN_PAD_DF (0x0000014CU) |
◆ PIN_PAD_DG
#define PIN_PAD_DG (0x00000150U) |
◆ PIN_PAD_DH
#define PIN_PAD_DH (0x00000154U) |
◆ PIN_PAD_DI
#define PIN_PAD_DI (0x00000158U) |
◆ PIN_PAD_DJ
#define PIN_PAD_DJ (0x0000015CU) |
◆ PIN_PAD_DK
#define PIN_PAD_DK (0x00000160U) |
◆ PIN_PAD_DL
#define PIN_PAD_DL (0x00000164U) |
◆ PIN_PAD_DM
#define PIN_PAD_DM (0x00000168U) |
◆ PIN_PAD_DN
#define PIN_PAD_DN (0x0000016CU) |
◆ PIN_PAD_DO
#define PIN_PAD_DO (0x00000170U) |
◆ PIN_PAD_DP
#define PIN_PAD_DP (0x00000174U) |
◆ PIN_PAD_DQ
#define PIN_PAD_DQ (0x00000178U) |
◆ PIN_PAD_DR
#define PIN_PAD_DR (0x0000017CU) |
◆ PIN_PAD_DS
#define PIN_PAD_DS (0x00000180U) |
◆ PIN_PAD_DT
#define PIN_PAD_DT (0x00000184U) |
◆ PIN_PAD_DU
#define PIN_PAD_DU (0x00000188U) |
◆ PIN_PAD_DV
#define PIN_PAD_DV (0x0000018CU) |
◆ PIN_PAD_DW
#define PIN_PAD_DW (0x00000190U) |
◆ PIN_PAD_DX
#define PIN_PAD_DX (0x00000194U) |
◆ PIN_PAD_DY
#define PIN_PAD_DY (0x00000198U) |
◆ PIN_PAD_DZ
#define PIN_PAD_DZ (0x0000019CU) |
◆ PIN_PAD_EA
#define PIN_PAD_EA (0x000001A0U) |
◆ PIN_PAD_EB
#define PIN_PAD_EB (0x000001A4U) |
◆ PIN_PAD_EC
#define PIN_PAD_EC (0x000001A8U) |
◆ PIN_PAD_ED
#define PIN_PAD_ED (0x000001ACU) |
◆ PIN_PAD_EE
#define PIN_PAD_EE (0x000001B0U) |
◆ PIN_PAD_EF
#define PIN_PAD_EF (0x000001B4U) |
◆ PIN_PAD_EG
#define PIN_PAD_EG (0x000001B8U) |
◆ PIN_PAD_EH
#define PIN_PAD_EH (0x000001BCU) |
◆ PIN_PAD_EI
#define PIN_PAD_EI (0x000001C0U) |
◆ PIN_PAD_EJ
#define PIN_PAD_EJ (0x000001C4U) |
◆ PIN_PAD_EK
#define PIN_PAD_EK (0x000001C8U) |
◆ PIN_PAD_EL
#define PIN_PAD_EL (0x000001CCU) |
◆ PIN_PAD_EM
#define PIN_PAD_EM (0x000001D0U) |
◆ PIN_PAD_EN
#define PIN_PAD_EN (0x000001D4U) |
◆ PIN_PAD_EO
#define PIN_PAD_EO (0x000001D8U) |
◆ PIN_PAD_EP
#define PIN_PAD_EP (0x000001DCU) |
◆ 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 | NOT USED in this SOC |