AM62x MCU+ SDK  10.01.00
sdl_soc_pok.h File Reference

Introduction

This file contains the prototypes of the APIs present in the device abstraction layer file of POK. This also contains some related macros.

Go to the source code of this file.

Macros

#define SDL_FIRST_POK_ID   (0)
 
#define SDL_POK_VDDA_PMIC_IN_ID   (SDL_FIRST_POK_ID)
 
#define SDL_POK_VDDS_DDRIO_ID   (1)
 
#define SDL_POK_VDDR_CORE_ID   (2)
 
#define SDL_POK_VMON_CAP_MCU_GENERAL_ID   (3)
 
#define SDL_POK_VDDSHV_MAIN_1P8_ID   (4)
 
#define SDL_POK_VDDSHV_MAIN_3P3_ID   (5)
 
#define SDL_POK_VDD_MCU_OV_ID   (6)
 
#define SDL_POR_VDDA_MCU_UV_ID   (7)
 
#define SDL_POR_VDD_MCU_UV_ID   (8)
 
#define SDL_POR_VDDA_MCU_OV_ID   (9)
 
#define SDL_LAST_POK_ID   (SDL_POR_VDDA_MCU_OV_ID)
 
#define SDL_POK_PRG_FIRST_ID   (0)
 
#define SDL_POK_PRG_PP_0_ID   (1)
 
#define SDL_POK_PRG_PP_1_ID   (2)
 
#define SDL_POK_PRG_LAST_ID   (SDL_POK_PRG_PP_1_ID)
 
#define SDL_POK_MMR_BASE   (SDL_MCU_CTRL_MMR0_CFG0_BASE)
 
#define ESM_INSTANCE   (SDL_WKUP_ESM0_CFG_BASE)
 
#define ESM_INTID   (SDLR_WKUP_ESM0_ESM_LVL_EVENT_ESM0_ESM_INT_HI_LVL_0)
 
#define MCU_ESM_ERR_SIG_VDDA_PMIC_IN_UV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU0_POK_PGOOD_UV_OUT_N_TO_ESM_3)
 
#define MCU_ESM_ERR_SIG_VDD_MCU_UV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU0_POK_PGOOD_UV_OUT_N_TO_ESM_0 )
 
#define MCU_ESM_ERR_SIG_VDD_MCU_OV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU0_POK_PGOOD_UV_OUT_N_TO_ESM_4)
 
#define MCU_ESM_ERR_SIG_VDDS_DDRIO_UV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU_5POKS0_POK_PGOOD_UV_OUT_N_TO_ESM_4)
 
#define MCU_ESM_ERR_SIG_VDDS_DDRIO_OV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU_5POKS0_POK_PGOOD_OV_OUT_N_TO_ESM_4)
 
#define MCU_ESM_ERR_SIG_VDDR_CORE_UV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU_5POKS0_POK_PGOOD_UV_OUT_N_TO_ESM_3)
 
#define MCU_ESM_ERR_SIG_VDDR_CORE_OV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU_5POKS0_POK_PGOOD_OV_OUT_N_TO_ESM_3)
 
#define MCU_ESM_ERR_SIG_VMON_CAP_MCU_GENERAL_UV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU_5POKS0_POK_PGOOD_UV_OUT_N_TO_ESM_2 )
 
#define MCU_ESM_ERR_SIG_VMON_CAP_MCU_GENERAL_OV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU_5POKS0_POK_PGOOD_OV_OUT_N_TO_ESM_2)
 
#define MCU_ESM_ERR_SIG_VDDSHV_MAIN_1P8_UV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU_5POKS0_POK_PGOOD_UV_OUT_N_TO_ESM_1)
 
#define MCU_ESM_ERR_SIG_VDDSHV_MAIN_1P8_OV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU_5POKS0_POK_PGOOD_OV_OUT_N_TO_ESM_1)
 
#define MCU_ESM_ERR_SIG_VDDSHV_MAIN_3P3_UV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU_5POKS0_POK_PGOOD_UV_OUT_N_TO_ESM_0)
 
#define MCU_ESM_ERR_SIG_VDDSHV_MAIN_3P3_OV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU_5POKS0_POK_PGOOD_OV_OUT_N_TO_ESM_0)
 
#define MCU_ESM_ERR_SIG_VDDA_MCU_UV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU0_POK_PGOOD_UV_OUT_N_TO_ESM_2)
 
#define MCU_ESM_ERR_SIG_VDDA_MCU_OV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU0_POK_PGOOD_UV_OUT_N_TO_ESM_1)
 
#define ESM_ERR_SIG_VDDA_PMIC_IN_UV   MCU_ESM_ERR_SIG_VDDA_PMIC_IN_UV
 
#define ESM_ERR_SIG_VDD_MCU_UV   MCU_ESM_ERR_SIG_VDD_MCU_UV
 
#define ESM_ERR_SIG_VDD_MCU_OV   MCU_ESM_ERR_SIG_VDD_MCU_OV
 
#define ESM_ERR_SIG_VDDS_DDRIO_UV   MCU_ESM_ERR_SIG_VDDS_DDRIO_UV
 
#define ESM_ERR_SIG_VDDS_DDRIO_OV   MCU_ESM_ERR_SIG_VDDS_DDRIO_OV
 
#define ESM_ERR_SIG_VDDR_CORE_UV   MCU_ESM_ERR_SIG_VDDR_CORE_UV
 
#define ESM_ERR_SIG_VDDR_CORE_OV   MCU_ESM_ERR_SIG_VDDR_CORE_OV
 
#define ESM_ERR_SIG_VMON_CAP_MCU_GENERAL_UV   MCU_ESM_ERR_SIG_VMON_CAP_MCU_GENERAL_UV
 
#define ESM_ERR_SIG_VMON_CAP_MCU_GENERAL_OV   MCU_ESM_ERR_SIG_VMON_CAP_MCU_GENERAL_OV
 
#define ESM_ERR_SIG_VDDSHV_MAIN_1P8_UV   MCU_ESM_ERR_SIG_VDDSHV_MAIN_1P8_UV
 
#define ESM_ERR_SIG_VDDSHV_MAIN_1P8_OV   MCU_ESM_ERR_SIG_VDDSHV_MAIN_1P8_OV
 
#define ESM_ERR_SIG_VDDSHV_MAIN_3P3_UV   MCU_ESM_ERR_SIG_VDDSHV_MAIN_3P3_UV
 
#define ESM_ERR_SIG_VDDSHV_MAIN_3P3_OV   MCU_ESM_ERR_SIG_VDDSHV_MAIN_3P3_OV
 
#define ESM_ERR_SIG_VDDA_MCU_UV   MCU_ESM_ERR_SIG_VDDA_MCU_UV
 
#define ESM_ERR_SIG_VDDA_MCU_OV   MCU_ESM_ERR_SIG_VDDA_MCU_OV
 

Typedefs

typedef int8_t SDL_POK_Inst
 
typedef int8_t SDL_PRG_Inst
 

Enumerations

enum  SDL_POK_InstanceType { SDL_POK_MCU_CTRL_MMR0 }
 

Functions

bool SDL_POK_getBaseaddr (SDL_POK_InstanceType instance, uint32_t *pbaseAddress)
 

Macro Definition Documentation

◆ SDL_FIRST_POK_ID

#define SDL_FIRST_POK_ID   (0)

Invalid POK/POR ID

◆ SDL_POK_VDDA_PMIC_IN_ID

#define SDL_POK_VDDA_PMIC_IN_ID   (SDL_FIRST_POK_ID)

◆ SDL_POK_VDDS_DDRIO_ID

#define SDL_POK_VDDS_DDRIO_ID   (1)

◆ SDL_POK_VDDR_CORE_ID

#define SDL_POK_VDDR_CORE_ID   (2)

◆ SDL_POK_VMON_CAP_MCU_GENERAL_ID

#define SDL_POK_VMON_CAP_MCU_GENERAL_ID   (3)

◆ SDL_POK_VDDSHV_MAIN_1P8_ID

#define SDL_POK_VDDSHV_MAIN_1P8_ID   (4)

◆ SDL_POK_VDDSHV_MAIN_3P3_ID

#define SDL_POK_VDDSHV_MAIN_3P3_ID   (5)

◆ SDL_POK_VDD_MCU_OV_ID

#define SDL_POK_VDD_MCU_OV_ID   (6)

◆ SDL_POR_VDDA_MCU_UV_ID

#define SDL_POR_VDDA_MCU_UV_ID   (7)

◆ SDL_POR_VDD_MCU_UV_ID

#define SDL_POR_VDD_MCU_UV_ID   (8)

◆ SDL_POR_VDDA_MCU_OV_ID

#define SDL_POR_VDDA_MCU_OV_ID   (9)

◆ SDL_LAST_POK_ID

#define SDL_LAST_POK_ID   (SDL_POR_VDDA_MCU_OV_ID)

◆ SDL_POK_PRG_FIRST_ID

#define SDL_POK_PRG_FIRST_ID   (0)

First PRG ID

◆ SDL_POK_PRG_PP_0_ID

#define SDL_POK_PRG_PP_0_ID   (1)

PRG MAIN

◆ SDL_POK_PRG_PP_1_ID

#define SDL_POK_PRG_PP_1_ID   (2)

PRG MCU

◆ SDL_POK_PRG_LAST_ID

#define SDL_POK_PRG_LAST_ID   (SDL_POK_PRG_PP_1_ID)

Last POK ID

◆ SDL_POK_MMR_BASE

#define SDL_POK_MMR_BASE   (SDL_MCU_CTRL_MMR0_CFG0_BASE)

◆ ESM_INSTANCE

#define ESM_INSTANCE   (SDL_WKUP_ESM0_CFG_BASE)

◆ ESM_INTID

#define ESM_INTID   (SDLR_WKUP_ESM0_ESM_LVL_EVENT_ESM0_ESM_INT_HI_LVL_0)

◆ MCU_ESM_ERR_SIG_VDDA_PMIC_IN_UV

#define MCU_ESM_ERR_SIG_VDDA_PMIC_IN_UV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU0_POK_PGOOD_UV_OUT_N_TO_ESM_3)

◆ MCU_ESM_ERR_SIG_VDD_MCU_UV

#define MCU_ESM_ERR_SIG_VDD_MCU_UV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU0_POK_PGOOD_UV_OUT_N_TO_ESM_0 )

◆ MCU_ESM_ERR_SIG_VDD_MCU_OV

#define MCU_ESM_ERR_SIG_VDD_MCU_OV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU0_POK_PGOOD_UV_OUT_N_TO_ESM_4)

◆ MCU_ESM_ERR_SIG_VDDS_DDRIO_UV

#define MCU_ESM_ERR_SIG_VDDS_DDRIO_UV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU_5POKS0_POK_PGOOD_UV_OUT_N_TO_ESM_4)

◆ MCU_ESM_ERR_SIG_VDDS_DDRIO_OV

#define MCU_ESM_ERR_SIG_VDDS_DDRIO_OV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU_5POKS0_POK_PGOOD_OV_OUT_N_TO_ESM_4)

◆ MCU_ESM_ERR_SIG_VDDR_CORE_UV

#define MCU_ESM_ERR_SIG_VDDR_CORE_UV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU_5POKS0_POK_PGOOD_UV_OUT_N_TO_ESM_3)

◆ MCU_ESM_ERR_SIG_VDDR_CORE_OV

#define MCU_ESM_ERR_SIG_VDDR_CORE_OV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU_5POKS0_POK_PGOOD_OV_OUT_N_TO_ESM_3)

◆ MCU_ESM_ERR_SIG_VMON_CAP_MCU_GENERAL_UV

#define MCU_ESM_ERR_SIG_VMON_CAP_MCU_GENERAL_UV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU_5POKS0_POK_PGOOD_UV_OUT_N_TO_ESM_2 )

◆ MCU_ESM_ERR_SIG_VMON_CAP_MCU_GENERAL_OV

#define MCU_ESM_ERR_SIG_VMON_CAP_MCU_GENERAL_OV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU_5POKS0_POK_PGOOD_OV_OUT_N_TO_ESM_2)

◆ MCU_ESM_ERR_SIG_VDDSHV_MAIN_1P8_UV

#define MCU_ESM_ERR_SIG_VDDSHV_MAIN_1P8_UV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU_5POKS0_POK_PGOOD_UV_OUT_N_TO_ESM_1)

◆ MCU_ESM_ERR_SIG_VDDSHV_MAIN_1P8_OV

#define MCU_ESM_ERR_SIG_VDDSHV_MAIN_1P8_OV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU_5POKS0_POK_PGOOD_OV_OUT_N_TO_ESM_1)

◆ MCU_ESM_ERR_SIG_VDDSHV_MAIN_3P3_UV

#define MCU_ESM_ERR_SIG_VDDSHV_MAIN_3P3_UV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU_5POKS0_POK_PGOOD_UV_OUT_N_TO_ESM_0)

◆ MCU_ESM_ERR_SIG_VDDSHV_MAIN_3P3_OV

#define MCU_ESM_ERR_SIG_VDDSHV_MAIN_3P3_OV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU_5POKS0_POK_PGOOD_OV_OUT_N_TO_ESM_0)

◆ MCU_ESM_ERR_SIG_VDDA_MCU_UV

#define MCU_ESM_ERR_SIG_VDDA_MCU_UV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU0_POK_PGOOD_UV_OUT_N_TO_ESM_2)

◆ MCU_ESM_ERR_SIG_VDDA_MCU_OV

#define MCU_ESM_ERR_SIG_VDDA_MCU_OV   (SDLR_WKUP_ESM0_ESM_PLS_EVENT0_MCU_PRG_MCU0_POK_PGOOD_UV_OUT_N_TO_ESM_1)

◆ ESM_ERR_SIG_VDDA_PMIC_IN_UV

#define ESM_ERR_SIG_VDDA_PMIC_IN_UV   MCU_ESM_ERR_SIG_VDDA_PMIC_IN_UV

◆ ESM_ERR_SIG_VDD_MCU_UV

#define ESM_ERR_SIG_VDD_MCU_UV   MCU_ESM_ERR_SIG_VDD_MCU_UV

◆ ESM_ERR_SIG_VDD_MCU_OV

#define ESM_ERR_SIG_VDD_MCU_OV   MCU_ESM_ERR_SIG_VDD_MCU_OV

◆ ESM_ERR_SIG_VDDS_DDRIO_UV

#define ESM_ERR_SIG_VDDS_DDRIO_UV   MCU_ESM_ERR_SIG_VDDS_DDRIO_UV

◆ ESM_ERR_SIG_VDDS_DDRIO_OV

#define ESM_ERR_SIG_VDDS_DDRIO_OV   MCU_ESM_ERR_SIG_VDDS_DDRIO_OV

◆ ESM_ERR_SIG_VDDR_CORE_UV

#define ESM_ERR_SIG_VDDR_CORE_UV   MCU_ESM_ERR_SIG_VDDR_CORE_UV

◆ ESM_ERR_SIG_VDDR_CORE_OV

#define ESM_ERR_SIG_VDDR_CORE_OV   MCU_ESM_ERR_SIG_VDDR_CORE_OV

◆ ESM_ERR_SIG_VMON_CAP_MCU_GENERAL_UV

#define ESM_ERR_SIG_VMON_CAP_MCU_GENERAL_UV   MCU_ESM_ERR_SIG_VMON_CAP_MCU_GENERAL_UV

◆ ESM_ERR_SIG_VMON_CAP_MCU_GENERAL_OV

#define ESM_ERR_SIG_VMON_CAP_MCU_GENERAL_OV   MCU_ESM_ERR_SIG_VMON_CAP_MCU_GENERAL_OV

◆ ESM_ERR_SIG_VDDSHV_MAIN_1P8_UV

#define ESM_ERR_SIG_VDDSHV_MAIN_1P8_UV   MCU_ESM_ERR_SIG_VDDSHV_MAIN_1P8_UV

◆ ESM_ERR_SIG_VDDSHV_MAIN_1P8_OV

#define ESM_ERR_SIG_VDDSHV_MAIN_1P8_OV   MCU_ESM_ERR_SIG_VDDSHV_MAIN_1P8_OV

◆ ESM_ERR_SIG_VDDSHV_MAIN_3P3_UV

#define ESM_ERR_SIG_VDDSHV_MAIN_3P3_UV   MCU_ESM_ERR_SIG_VDDSHV_MAIN_3P3_UV

◆ ESM_ERR_SIG_VDDSHV_MAIN_3P3_OV

#define ESM_ERR_SIG_VDDSHV_MAIN_3P3_OV   MCU_ESM_ERR_SIG_VDDSHV_MAIN_3P3_OV

◆ ESM_ERR_SIG_VDDA_MCU_UV

#define ESM_ERR_SIG_VDDA_MCU_UV   MCU_ESM_ERR_SIG_VDDA_MCU_UV

◆ ESM_ERR_SIG_VDDA_MCU_OV

#define ESM_ERR_SIG_VDDA_MCU_OV   MCU_ESM_ERR_SIG_VDDA_MCU_OV

Typedef Documentation

◆ SDL_POK_Inst

typedef int8_t SDL_POK_Inst

◆ SDL_PRG_Inst

typedef int8_t SDL_PRG_Inst

Enumeration Type Documentation

◆ SDL_POK_InstanceType

Enumerator
SDL_POK_MCU_CTRL_MMR0 

Function Documentation

◆ SDL_POK_getBaseaddr()

bool SDL_POK_getBaseaddr ( SDL_POK_InstanceType  instance,
uint32_t *  pbaseAddress 
)