![]() |
MCUSW
|
This files defines MCU MCAL configuration structures
Data Structures | |
| struct | Mcu_PllClkDivType |
| Structure for enumerating the clock outputs of HSDIVIDER. More... | |
| struct | Mcu_PllConfigType |
| MCU PLL CONFIG structure. More... | |
| struct | Mcu_RamSectionConfigType |
| Structure for data pre-setting to be initialized. More... | |
| struct | Mcu_ResetStatusMap |
| struct | Mcu_ResetInfo |
Variables | |
| const Mcu_ResetStatusMap | Mcu_ResetStatusMapTbl [MCU_RESET_STATUS_NUMBER] |
| const Mcu_ResetInfo | Mcu_ResetInfoTbl |
| const struct Mcu_ConfigType_s | McuModuleConfiguration_0 |
| MCU Configuration struct declaration. More... | |
Typedefs | |
| typedef const Mcu_RamSectionConfigType * | Mcu_RamConfigPtrType |
| Pointer to RamConfig structure. More... | |
| typedef const Mcu_PllConfigType * | Mcu_PllConfigPtrType |
| Pointer to PLL Config structure. More... | |
| typedef Std_ReturnType(* | Mcu_CBKFunctionPtrType) (uint32 moduleId, uint32 clkId, uint64 ParentId) |
| Pointer to Callback function. More... | |
Macros | |
| #define | MCU_VARIANT_POST_BUILD (STD_ON) |
| MCU Build Variant. Build variants.(i.e Pre Compile,Post Build) More... | |
| #define | MCU_CFG_ID (0x1U) |
| MCU Config ID. More... | |
| #define | MCU_DEV_ERROR_DETECT (STD_ON) |
| Enable/Disable Development Error Detection. More... | |
| #define | MCU_GET_RAM_STATE_API (STD_OFF) |
| Enable/Disable Mcu_CheckRamState() API. More... | |
| #define | MCU_INIT_CLOCK_API (STD_ON) |
| Enable/Disable Mcu_InitClock() API. More... | |
| #define | MCU_PERFORM_RESET_API (STD_ON) |
| Enable/Disable Mcu_PerformReset() API. More... | |
| #define | MCU_GET_VERSION_INFO_API (STD_ON) |
| Enable/Disable Mcu_GetVersionInfo() API. More... | |
| #define | MCU_INIT_RAM_API (STD_OFF) |
| Enable/Disable Mcu_InitRamSection() API. More... | |
| #define | MCU_NO_PLL (STD_OFF) |
| Enable/Disable PLL support. More... | |
| #define | MCU_REGISTER_READBACK_API (STD_OFF) |
| Enable/Disable MCU_REGISTER_READBACK_API() API. More... | |
| #define | MCU_E_CLOCK_FAILURE (MCU_DEM_NO_EVENT) |
| Hardware failed. More... | |
| #define | MCU_PERFORM_RESET_MASK ((uint32) 0x00060000U) |
| Reset Reason Mask. More... | |
| #define | MCU_PERFORM_RESET_CLEAR_MASK ((uint32) 0xFFFFFFFFU) |
| #define | MCU_RST_SRC_STAT_CLEAR ((uint32) 0x190B0BU) |
| #define | SW_MCU_WARM_RST ((uint32) 0x1U) |
| #define | SW_MAIN_WARM_RST ((uint32) 0x2U) |
| #define | SW_MAIN_POR ((uint32) 0x8U) |
| #define | MCU_RESETZ ((uint32) 0x100U) |
| #define | WARM_OUT_RST ((uint32) 0x10000U) |
| #define | COLD_OUT_RST ((uint32) 0x80000U) |
| #define | DEBUG_RST_OCCURED ((uint32) 0x100000U) |
| #define | rstaddr ((LLD_wkup_ctrl_mmr_cfg0Regs*)0x43000000U) |
| #define | MCU_ERRORRST_MASK ((Mcu_RawResetType)0xFFFF0000U) |
| Reset Reason Error Mask. More... | |
| #define | MCU_UTILS_ARRAYSIZE(array) |
| #define | MCU_RESET_STATUS_NUMBER ((uint8)0x6) |
| #define | ARRAYSIZE(array) |
| #define | McuConf_McuModeSettingConf_McuModeSettingConf_0 (0U) |
| Pre Compile config macro name. More... | |
| #define | McuConf_McuClockSettingConfig_MCU_MCAN0 (0U) |
| #define | McuConf_McuClockSettingConfig_MCU_MCAN1 (1U) |
| #define | McuConf_McuClockSettingConfig_MAIN_RTI_0 (2U) |
| #define | McuConf_McuResetReasonConf_MCU_POWER_ON_RESET (0U) |
| #define | McuConf_McuResetReasonConf_MCU_WATCHDOG_RESET (1U) |
| #define | McuConf_McuResetReasonConf_MCU_SW_RESET (2U) |
| #define | McuConf_McuResetReasonConf_MCU_RESET_UNDEFINED (3U) |
Mcu Driver Configuration SW Version Info | |
| #define | MCU_CFG_MAJOR_VERSION (9U) |
| Mcu configuration Major Version. More... | |
| #define | MCU_CFG_MINOR_VERSION (1U) |
| Mcu configuration Minor Version. More... | |
| #define | MCU_CFG_PATCH_VERSION (0U) |
| Mcu configuration Patch Version. More... | |
MCU DEM Error codes to report | |
| #define | DemConf_DemEventParameter_MCU_DEM_NO_EVENT (0xFFFFU) |
| #define | MCU_DEM_NO_EVENT DemConf_DemEventParameter_MCU_DEM_NO_EVENT |
| #define MCU_VARIANT_POST_BUILD (STD_ON) |
MCU Build Variant. Build variants.(i.e Pre Compile,Post Build)
| #define MCU_CFG_ID (0x1U) |
MCU Config ID.
| #define MCU_CFG_MAJOR_VERSION (9U) |
Mcu configuration Major Version.
| #define MCU_CFG_MINOR_VERSION (1U) |
Mcu configuration Minor Version.
| #define MCU_CFG_PATCH_VERSION (0U) |
Mcu configuration Patch Version.
| #define MCU_DEV_ERROR_DETECT (STD_ON) |
Enable/Disable Development Error Detection.
| #define MCU_GET_RAM_STATE_API (STD_OFF) |
Enable/Disable Mcu_CheckRamState() API.
| #define MCU_INIT_CLOCK_API (STD_ON) |
Enable/Disable Mcu_InitClock() API.
| #define MCU_PERFORM_RESET_API (STD_ON) |
Enable/Disable Mcu_PerformReset() API.
| #define MCU_GET_VERSION_INFO_API (STD_ON) |
Enable/Disable Mcu_GetVersionInfo() API.
| #define MCU_INIT_RAM_API (STD_OFF) |
Enable/Disable Mcu_InitRamSection() API.
| #define MCU_NO_PLL (STD_OFF) |
Enable/Disable PLL support.
| #define MCU_REGISTER_READBACK_API (STD_OFF) |
Enable/Disable MCU_REGISTER_READBACK_API() API.
| #define DemConf_DemEventParameter_MCU_DEM_NO_EVENT (0xFFFFU) |
| #define MCU_DEM_NO_EVENT DemConf_DemEventParameter_MCU_DEM_NO_EVENT |
| #define MCU_E_CLOCK_FAILURE (MCU_DEM_NO_EVENT) |
Hardware failed.
| #define MCU_PERFORM_RESET_MASK ((uint32) 0x00060000U) |
Reset Reason Mask.
| #define MCU_PERFORM_RESET_CLEAR_MASK ((uint32) 0xFFFFFFFFU) |
| #define MCU_RST_SRC_STAT_CLEAR ((uint32) 0x190B0BU) |
| #define SW_MCU_WARM_RST ((uint32) 0x1U) |
| #define SW_MAIN_WARM_RST ((uint32) 0x2U) |
| #define SW_MAIN_POR ((uint32) 0x8U) |
| #define MCU_RESETZ ((uint32) 0x100U) |
| #define WARM_OUT_RST ((uint32) 0x10000U) |
| #define COLD_OUT_RST ((uint32) 0x80000U) |
| #define DEBUG_RST_OCCURED ((uint32) 0x100000U) |
| #define rstaddr ((LLD_wkup_ctrl_mmr_cfg0Regs*)0x43000000U) |
| #define MCU_ERRORRST_MASK ((Mcu_RawResetType)0xFFFF0000U) |
Reset Reason Error Mask.
| #define MCU_UTILS_ARRAYSIZE | ( | array | ) |
| #define MCU_RESET_STATUS_NUMBER ((uint8)0x6) |
| #define ARRAYSIZE | ( | array | ) |
| #define McuConf_McuModeSettingConf_McuModeSettingConf_0 (0U) |
Pre Compile config macro name.
| #define McuConf_McuClockSettingConfig_MCU_MCAN0 (0U) |
| #define McuConf_McuClockSettingConfig_MCU_MCAN1 (1U) |
| #define McuConf_McuClockSettingConfig_MAIN_RTI_0 (2U) |
| #define McuConf_McuResetReasonConf_MCU_POWER_ON_RESET (0U) |
| #define McuConf_McuResetReasonConf_MCU_WATCHDOG_RESET (1U) |
| #define McuConf_McuResetReasonConf_MCU_SW_RESET (2U) |
| #define McuConf_McuResetReasonConf_MCU_RESET_UNDEFINED (3U) |
| typedef const Mcu_RamSectionConfigType* Mcu_RamConfigPtrType |
Pointer to RamConfig structure.
| typedef const Mcu_PllConfigType* Mcu_PllConfigPtrType |
Pointer to PLL Config structure.
| typedef Std_ReturnType(* Mcu_CBKFunctionPtrType) (uint32 moduleId, uint32 clkId, uint64 ParentId) |
Pointer to Callback function.
| enum Mcu_ResetType |
This is the type of the reset enumerator containing the subset of reset types.
It is not required that all reset types are supported by hardware.
| enum Mcu_DomainType |
| enum Mcu_ModuleName |
| enum Mcu_ClkModuleIdType |
Clock source config modules id enum.
Clock source config ids defines are used to set clock source for specific modules
| enum Mcu_ClkSourceIdType |
| enum Mcu_PllStatusType |
This is a status value returned by the function Mcu_GetPllStatus() of the MCU module.
| Enumerator | |
|---|---|
| MCU_PLL_LOCKED | |
| MCU_PLL_UNLOCKED | |
| MCU_PLL_STATUS_UNDEFINED | |
| enum Mcu_RamStateType |
Enumeration of ranstate queried by Mcu_GetRamState()
| Enumerator | |
|---|---|
| MCU_RAMSTATE_INVALID | |
| MCU_RAMSTATE_VALID | |
| enum Mcu_PllSourceIdType |
| const Mcu_ResetStatusMap Mcu_ResetStatusMapTbl[MCU_RESET_STATUS_NUMBER] |
| const Mcu_ResetInfo Mcu_ResetInfoTbl |
| const struct Mcu_ConfigType_s McuModuleConfiguration_0 |
MCU Configuration struct declaration.