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.
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) |
#define SDL_FIRST_POK_ID (0) |
Invalid POK/POR ID
#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) |
First PRG ID
#define SDL_POK_PRG_PP_0_ID (1) |
PRG MAIN
#define SDL_POK_PRG_PP_1_ID (2) |
PRG MCU
#define SDL_POK_PRG_LAST_ID (SDL_POK_PRG_PP_1_ID) |
Last POK ID
#define SDL_POK_MMR_BASE (SDL_WKUP_CTRL_MMR1_CFG0_BASE) |
#define MCU_ESM_INSTANCE (SDL_WKUP_ESM0_CFG_BASE) |
#define MCU_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 |
#define ESM_INSTANCE MCU_ESM_INSTANCE |
#define ESM_INTID MCU_ESM_INTID |
typedef int8_t SDL_POK_Inst |
typedef int8_t SDL_PRG_Inst |
enum SDL_POK_InstanceType |
bool SDL_POK_getBaseaddr | ( | SDL_POK_InstanceType | instance, |
uint32_t * | pbaseAddress | ||
) |