123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831 |
- #ifdef __cplusplus
- extern "C"{
- #endif
- #include "Mcu_IPW.h"
- #include "Clock_Ip.h"
- #include "Power_Ip.h"
- #include "Ram_Ip.h"
- #include "Mcu.h"
- #if (MCU_DEV_ERROR_DETECT == STD_ON)
- #include "Det.h"
- #endif
- #if (MCU_DISABLE_DEM_REPORT_ERROR_STATUS == STD_OFF)
- #include "Mcu_Dem_Wrapper.h"
- #endif
- #define MCU_IPW_VENDOR_ID_C 43
- #define MCU_IPW_AR_RELEASE_MAJOR_VERSION_C 4
- #define MCU_IPW_AR_RELEASE_MINOR_VERSION_C 4
- #define MCU_IPW_AR_RELEASE_REVISION_VERSION_C 0
- #define MCU_IPW_SW_MAJOR_VERSION_C 1
- #define MCU_IPW_SW_MINOR_VERSION_C 0
- #define MCU_IPW_SW_PATCH_VERSION_C 0
- #if (MCU_IPW_VENDOR_ID_C != MCU_IPW_VENDOR_ID)
- #error "Mcu_IPW.c and Mcu_IPW.h have different vendor ids"
- #endif
- #if ((MCU_IPW_AR_RELEASE_MAJOR_VERSION_C != MCU_IPW_AR_RELEASE_MAJOR_VERSION) || \
- (MCU_IPW_AR_RELEASE_MINOR_VERSION_C != MCU_IPW_AR_RELEASE_MINOR_VERSION) || \
- (MCU_IPW_AR_RELEASE_REVISION_VERSION_C != MCU_IPW_AR_RELEASE_REVISION_VERSION) \
- )
- #error "AutoSar Version Numbers of Mcu_IPW.c and Mcu_IPW.h are different"
- #endif
- #if ((MCU_IPW_SW_MAJOR_VERSION_C != MCU_IPW_SW_MAJOR_VERSION) || \
- (MCU_IPW_SW_MINOR_VERSION_C != MCU_IPW_SW_MINOR_VERSION) || \
- (MCU_IPW_SW_PATCH_VERSION_C != MCU_IPW_SW_PATCH_VERSION) \
- )
- #error "Software Version Numbers of Mcu_IPW.c and Mcu_IPW.h are different"
- #endif
- #if (MCU_IPW_VENDOR_ID_C != POWER_IP_VENDOR_ID)
- #error "Mcu_IPW.c and Power_Ip.h have different vendor ids"
- #endif
- #if ((MCU_IPW_AR_RELEASE_MAJOR_VERSION_C != POWER_IP_AR_RELEASE_MAJOR_VERSION) || \
- (MCU_IPW_AR_RELEASE_MINOR_VERSION_C != POWER_IP_AR_RELEASE_MINOR_VERSION) || \
- (MCU_IPW_AR_RELEASE_REVISION_VERSION_C != POWER_IP_AR_RELEASE_REVISION_VERSION) \
- )
- #error "AutoSar Version Numbers of Mcu_IPW.c and Power_Ip.h are different"
- #endif
- #if ((MCU_IPW_SW_MAJOR_VERSION_C != POWER_IP_SW_MAJOR_VERSION) || \
- (MCU_IPW_SW_MINOR_VERSION_C != POWER_IP_SW_MINOR_VERSION) || \
- (MCU_IPW_SW_PATCH_VERSION_C != POWER_IP_SW_PATCH_VERSION) \
- )
- #error "Software Version Numbers of Mcu_IPW.c and Power_Ip.h are different"
- #endif
- #if (MCU_IPW_VENDOR_ID_C != CLOCK_IP_VENDOR_ID)
- #error "Mcu_IPW.c and Clock_Ip.h have different vendor ids"
- #endif
- #if ((MCU_IPW_AR_RELEASE_MAJOR_VERSION_C != CLOCK_IP_AR_RELEASE_MAJOR_VERSION) || \
- (MCU_IPW_AR_RELEASE_MINOR_VERSION_C != CLOCK_IP_AR_RELEASE_MINOR_VERSION) || \
- (MCU_IPW_AR_RELEASE_REVISION_VERSION_C != CLOCK_IP_AR_RELEASE_REVISION_VERSION) \
- )
- #error "AutoSar Version Numbers of Mcu_IPW.c and Clock_Ip.h are different"
- #endif
- #if ((MCU_IPW_SW_MAJOR_VERSION_C != CLOCK_IP_SW_MAJOR_VERSION) || \
- (MCU_IPW_SW_MINOR_VERSION_C != CLOCK_IP_SW_MINOR_VERSION) || \
- (MCU_IPW_SW_PATCH_VERSION_C != CLOCK_IP_SW_PATCH_VERSION) \
- )
- #error "Software Version Numbers of Mcu_IPW.c and Clock_Ip.h are different"
- #endif
- #if (MCU_IPW_VENDOR_ID_C != RAM_IP_VENDOR_ID)
- #error "Mcu_IPW.c and Ram_Ip.h have different vendor ids"
- #endif
- #if ((MCU_IPW_AR_RELEASE_MAJOR_VERSION_C != RAM_IP_AR_RELEASE_MAJOR_VERSION) || \
- (MCU_IPW_AR_RELEASE_MINOR_VERSION_C != RAM_IP_AR_RELEASE_MINOR_VERSION) || \
- (MCU_IPW_AR_RELEASE_REVISION_VERSION_C != RAM_IP_AR_RELEASE_REVISION_VERSION) \
- )
- #error "AutoSar Version Numbers of Mcu_IPW.c and Ram_Ip.h are different"
- #endif
- #if ((MCU_IPW_SW_MAJOR_VERSION_C != RAM_IP_SW_MAJOR_VERSION) || \
- (MCU_IPW_SW_MINOR_VERSION_C != RAM_IP_SW_MINOR_VERSION) || \
- (MCU_IPW_SW_PATCH_VERSION_C != RAM_IP_SW_PATCH_VERSION) \
- )
- #error "Software Version Numbers of Mcu_IPW.c and Ram_Ip.h are different"
- #endif
- #if (MCU_IPW_VENDOR_ID_C != MCU_VENDOR_ID)
- #error "Mcu_IPW.c and Mcu.h have different vendor ids"
- #endif
- #if ((MCU_IPW_AR_RELEASE_MAJOR_VERSION_C != MCU_AR_RELEASE_MAJOR_VERSION) || \
- (MCU_IPW_AR_RELEASE_MINOR_VERSION_C != MCU_AR_RELEASE_MINOR_VERSION) || \
- (MCU_IPW_AR_RELEASE_REVISION_VERSION_C != MCU_AR_RELEASE_REVISION_VERSION) \
- )
- #error "AutoSar Version Numbers of Mcu_IPW.c and Mcu.h are different"
- #endif
- #if ((MCU_IPW_SW_MAJOR_VERSION_C != MCU_SW_MAJOR_VERSION) || \
- (MCU_IPW_SW_MINOR_VERSION_C != MCU_SW_MINOR_VERSION) || \
- (MCU_IPW_SW_PATCH_VERSION_C != MCU_SW_PATCH_VERSION) \
- )
- #error "Software Version Numbers of Mcu_IPW.c and Mcu.h are different"
- #endif
- #if (MCU_DEV_ERROR_DETECT == STD_ON)
- #ifndef DISABLE_MCAL_INTERMODULE_ASR_CHECK
- #if ((MCU_IPW_AR_RELEASE_MAJOR_VERSION_C != DET_AR_RELEASE_MAJOR_VERSION) || \
- (MCU_IPW_AR_RELEASE_MINOR_VERSION_C != DET_AR_RELEASE_MINOR_VERSION))
- #error "AutoSar Version Numbers of Mcu_IPW.c and Det.h are different"
- #endif
- #endif
- #endif
- #if (MCU_DISABLE_DEM_REPORT_ERROR_STATUS == STD_OFF)
- #if (MCU_IPW_VENDOR_ID != MCU_DEM_WRAPPER_VENDOR_ID)
- #error "Mcu_IPW.c and Mcu_Dem_Wrapper.h have different vendor ids"
- #endif
- #if ((MCU_IPW_AR_RELEASE_MAJOR_VERSION != MCU_DEM_WRAPPER_AR_RELEASE_MAJOR_VERSION) || \
- (MCU_IPW_AR_RELEASE_MINOR_VERSION != MCU_DEM_WRAPPER_AR_RELEASE_MINOR_VERSION) || \
- (MCU_IPW_AR_RELEASE_REVISION_VERSION != MCU_DEM_WRAPPER_AR_RELEASE_REVISION_VERSION) \
- )
- #error "AutoSar Version Numbers of Mcu_IPW.c and Mcu_Dem_Wrapper.h are different"
- #endif
- #if ((MCU_IPW_SW_MAJOR_VERSION != MCU_DEM_WRAPPER_SW_MAJOR_VERSION) || \
- (MCU_IPW_SW_MINOR_VERSION != MCU_DEM_WRAPPER_SW_MINOR_VERSION) || \
- (MCU_IPW_SW_PATCH_VERSION != MCU_DEM_WRAPPER_SW_PATCH_VERSION) \
- )
- #error "Software Version Numbers of Mcu_IPW.c and Mcu_Dem_Wrapper.h are different"
- #endif
- #endif
- #define MCU_START_SEC_CODE
- #include "Mcu_MemMap.h"
- #if (CLOCK_IP_ENABLE_NOTIFICATIONS == STD_ON)
- static void ClockNotificationsCallback(Clock_Ip_ClockNotificationType notification, Clock_Ip_NameType clockName);
- #endif
- #if (POWER_IP_ENABLE_NOTIFICATIONS == STD_ON)
- static void ReportPowerErrorsCallback(Power_Ip_PowerReportErrorType error, uint8 u8ErrorCode);
- #endif
- #if (CLOCK_IP_ENABLE_NOTIFICATIONS == STD_ON)
- static void ClockNotificationsCallback(Clock_Ip_ClockNotificationType notification, Clock_Ip_NameType clockName)
- {
- (void)clockName;
- switch(notification)
- {
- case CLOCK_IP_CMU_NOTIFICATION:
- {
- #if (defined(MCU_CMU_ERROR_ISR_USED) && (MCU_CMU_ERROR_ISR_USED == STD_ON))
- if ( (NULL_PTR != Mcu_pConfigPtr) && (Mcu_pConfigPtr->Mcu_ClkSrcFailureNotification == MCU_CLK_NOTIF_EN))
- {
- #if defined(MCU_CMU_FCCU_NOTIFICATION)
-
- MCU_CMU_FCCU_NOTIFICATION(clockName);
- #endif
- #ifdef MCU_ERROR_ISR_NOTIFICATION
- MCU_ERROR_ISR_NOTIFICATION(MCU_E_ISR_CLOCK_FAILURE);
- #endif
- }
- #endif
- }
- break;
- case CLOCK_IP_REPORT_TIMEOUT_ERROR:
- {
- #if (defined(MCU_DISABLE_DEM_REPORT_ERROR_STATUS) && (MCU_DISABLE_DEM_REPORT_ERROR_STATUS == STD_OFF))
- Mcu_Macro_ReportDemTimeoutError();
- }
- break;
- case CLOCK_IP_REPORT_FXOSC_CONFIGURATION_ERROR:
- {
- Mcu_Macro_ReportDemFxoscConfigurationError();
- }
- break;
- case CLOCK_IP_REPORT_CLOCK_MUX_SWITCH_ERROR:
- {
- Mcu_Macro_ReportDemClockMuxSwitchError();
- #endif
- }
- break;
- case CLOCK_IP_RAM_MEMORY_CONFIG_ENTRY_POINT:
- {
- #if (defined(MCU_DISABLE_RAM_CONFIG) && (MCU_DISABLE_RAM_CONFIG == STD_OFF))
- #ifdef MCU_PREPARE_MEMORY_CONFIG
-
- MCU_PREPARE_MEMORY_CONFIG(MCU_RAM_MEMORY_CONFIG_ENTRY_POINT);
- #endif
- }
- break;
- case CLOCK_IP_RAM_MEMORY_CONFIG_EXIT_POINT:
- {
- #ifdef MCU_PREPARE_MEMORY_CONFIG
-
- MCU_PREPARE_MEMORY_CONFIG(MCU_RAM_MEMORY_CONFIG_EXIT_POINT);
- #endif
- #endif
- }
- break;
- case CLOCK_IP_FLASH_MEMORY_CONFIG_ENTRY_POINT:
- {
- #if (defined(MCU_DISABLE_FLASH_CONFIG) && (MCU_DISABLE_FLASH_CONFIG == STD_OFF))
- #ifdef MCU_PREPARE_MEMORY_CONFIG
-
- MCU_PREPARE_MEMORY_CONFIG(MCU_FLASH_MEMORY_CONFIG_ENTRY_POINT);
- #endif
- }
- break;
- case CLOCK_IP_FLASH_MEMORY_CONFIG_EXIT_POINT:
- {
- #ifdef MCU_PREPARE_MEMORY_CONFIG
-
- MCU_PREPARE_MEMORY_CONFIG(MCU_FLASH_MEMORY_CONFIG_EXIT_POINT);
- #endif
- #endif
- }
- break;
- default:
- {
-
- }
- break;
- }
- }
- #endif
- #if (POWER_IP_ENABLE_NOTIFICATIONS == STD_ON)
- static void ReportPowerErrorsCallback(Power_Ip_PowerReportErrorType error, uint8 u8ErrorCode)
- {
- switch(error)
- {
- case POWER_IP_REPORT_TIMEOUT_ERROR:
- {
- (void)u8ErrorCode;
- #if (MCU_DISABLE_DEM_REPORT_ERROR_STATUS == STD_OFF)
- Mcu_Macro_ReportDemTimeoutError();
- #endif
- }
- break;
- case POWER_IP_REPORT_SWITCH_MODE_ERROR:
- {
- (void)u8ErrorCode;
- #if (MCU_DISABLE_DEM_REPORT_ERROR_STATUS == STD_OFF)
- Mcu_Macro_ReportDemSwitchModeError();
- #endif
- }
- break;
- case POWER_IP_ERROR_ISR_NOTIFICATION:
- {
- #ifdef MCU_ERROR_ISR_NOTIFICATION
- MCU_ERROR_ISR_NOTIFICATION(u8ErrorCode);
- #endif
- }
- break;
- case POWER_IP_PMC_NOTIFICATION:
- {
- #ifdef MCU_PMC_NOTIFICATION
- MCU_PMC_NOTIFICATION(u8ErrorCode);
- #endif
- }
- break;
- case POWER_IP_REPORT_VLPSA_NOTIFICATION:
- {
- (void)u8ErrorCode;
- #ifdef MCU_VLPSA_NOTIFICATION
- MCU_VLPSA_NOTIFICATION();
- #endif
- }
- break;
- default:
- {
-
- }
- break;
- }
- }
- #endif
- void Mcu_Ipw_Init(const Mcu_HwIPsConfigType * Mcu_pHwIPsConfigPtr)
- {
- #if (MCU_INIT_CLOCK == STD_ON)
- #if (CLOCK_IP_ENABLE_NOTIFICATIONS == STD_ON)
- Clock_Ip_InstallNotificationsCallback(ClockNotificationsCallback);
- #endif
- #endif
- #if (POWER_IP_ENABLE_NOTIFICATIONS == STD_ON)
- Power_Ip_InstallNotificationsCallback(ReportPowerErrorsCallback);
- #endif
- #if (defined(MCU_DISABLE_RCM_INIT) && (STD_OFF == MCU_DISABLE_RCM_INIT))
-
- Power_Ip_InitReset(Mcu_pHwIPsConfigPtr);
- #endif
- #if ((defined(MCU_DISABLE_PMC_INIT) && (STD_OFF == MCU_DISABLE_PMC_INIT)) || \
- (defined(MCU_DISABLE_SMC_INIT) && (STD_OFF == MCU_DISABLE_SMC_INIT)))
-
- Power_Ip_InitPower(Mcu_pHwIPsConfigPtr);
- #endif
- (void)Mcu_pHwIPsConfigPtr;
- }
- #ifndef MCU_MAX_NORAMCONFIGS
- Std_ReturnType Mcu_Ipw_InitRamSection(const Mcu_RamConfigType * Mcu_pRamConfigPtr)
- {
-
- Std_ReturnType eRamStatus;
- switch(Ram_Ip_InitRamSection(Mcu_pRamConfigPtr))
- {
- case RAM_IP_STATUS_OK:
- {
- eRamStatus = E_OK;
- }
- break;
- case RAM_IP_STATUS_NOT_OK:
-
- default:
- {
- eRamStatus = E_NOT_OK;
- }
- break;
- }
-
- return eRamStatus;
- }
- #endif
- #if (MCU_INIT_CLOCK == STD_ON)
- void Mcu_Ipw_InitClock(const Mcu_ClockConfigType * Mcu_pClockConfigPtr)
- {
- Clock_Ip_InitClock(Mcu_pClockConfigPtr);
- }
- #endif
- #if (MCU_INIT_CLOCK == STD_ON)
- #if (MCU_NO_PLL == STD_OFF)
- void Mcu_Ipw_DistributePllClock(void)
- {
- Clock_Ip_DistributePll();
- }
- #endif
- #endif
- #if (MCU_NO_PLL == STD_OFF)
- Mcu_PllStatusType Mcu_Ipw_GetPllStatus(void)
- {
-
- Mcu_PllStatusType ePllStatus;
- switch(Clock_Ip_GetPllStatus())
- {
- case CLOCK_IP_PLL_LOCKED:
- {
- ePllStatus = MCU_PLL_LOCKED;
- }
- break;
- case CLOCK_IP_PLL_UNLOCKED:
- {
- ePllStatus = MCU_PLL_UNLOCKED;
- }
- break;
- case CLOCK_IP_PLL_STATUS_UNDEFINED:
- default:
- {
- ePllStatus = MCU_PLL_STATUS_UNDEFINED;
- }
- break;
- }
-
- return ePllStatus;
- }
- #endif
- #ifdef MCU_GET_CLOCK_FREQUENCY_API
- #if (MCU_GET_CLOCK_FREQUENCY_API == STD_ON)
- uint32 MCU_Ipw_GetClockFrequency(Clock_Ip_NameType clockName)
- {
- return Clock_Ip_GetClockFrequency(clockName);
- }
- #endif
- #endif
- void Mcu_Ipw_SetMode(const Mcu_ModeConfigType * Mcu_pModeConfigPtr)
- {
- Power_Ip_SetMode(Mcu_pModeConfigPtr);
- }
- #if (MCU_PERFORM_RESET_API == STD_ON)
- void Mcu_Ipw_PerformReset(const Mcu_HwIPsConfigType * Mcu_pHwIPsConfigPtr)
- {
-
- Power_Ip_PerformReset(Mcu_pHwIPsConfigPtr);
- }
- #endif
- Mcu_ResetType Mcu_Ipw_GetResetReason(void)
- {
- return (Mcu_ResetType)Power_Ip_GetResetReason();
- }
- Mcu_RawResetType Mcu_Ipw_GetResetRawValue(void)
- {
- return (Mcu_RawResetType)Power_Ip_GetResetRawValue();
- }
- #if (MCU_GET_RAM_STATE_API == STD_ON)
- Mcu_RamStateType Mcu_Ipw_GetRamState(void)
- {
-
- Mcu_RamStateType eRamState;
- switch(Ram_Ip_GetRamState())
- {
- case RAM_IP_RAMSTATE_VALID:
- {
- eRamState = MCU_RAMSTATE_VALID;
- }
- break;
- case RAM_IP_RAMSTATE_INVALID:
-
- default:
- {
- eRamState = MCU_RAMSTATE_INVALID;
- }
- break;
- }
-
- return eRamState;
- }
- #endif
- #if (MCU_POWERMODE_STATE_API == STD_ON)
- Mcu_PowerModeStateType Mcu_Ipw_GetPowerModeState(void)
- {
- Mcu_PowerModeStateType State ;
- State = Power_Ip_GetPowerModeState();
- return State;
- }
- #endif
- #if (MCU_GET_POWER_DOMAIN_API == STD_ON)
- Std_ReturnType Mcu_Ipw_GetPowerDomainState(void)
- {
- Std_ReturnType State ;
- State = Mcu_MC_PCU_Get_PcuState();
- return State;
- }
- #endif
- #ifdef MCU_GET_MIDR_API
- #if (MCU_GET_MIDR_API == STD_ON)
- void Mcu_Ipw_GetMidrStructure(Mcu_MidrReturnType * pMidr)
- {
- uint8 u8Index;
- SIUL2_Type * u32Siul2BasePtrs[SIUL2_INSTANCE_COUNT] = SIUL2_BASE_PTRS;
- for (u8Index = 0U; u8Index < SIUL2_INSTANCE_COUNT; ++u8Index)
- {
- pMidr[u8Index].u32Midr1 = u32Siul2BasePtrs[u8Index]->MIDR1;
- pMidr[u8Index].u32Midr2 = u32Siul2BasePtrs[u8Index]->MIDR2;
- }
- }
- #endif
- #endif
- #ifdef MCU_DISABLE_CMU_API
- #if (MCU_DISABLE_CMU_API == STD_ON)
- void Mcu_Ipw_DisableCmu(Clock_Ip_NameType clockName)
- {
- Clock_Ip_DisableClockMonitor(clockName);
- }
- #endif
- #endif
- #ifdef MCU_ERROR_ISR_NOTIFICATION
- #if (MCU_CMU_CLEAR_CLOCK_IRQ_FLAG == STD_ON)
- void Mcu_Ipw_CmuClearClockFailIrqFlags(Clock_Ip_NameType clockName)
- {
- Clock_Ip_ClearClockMonitorStatus(clockName);
- }
- #endif
- #endif
- #ifdef MCU_EMIOS_CONFIGURE_GPREN_API
- #if (MCU_EMIOS_CONFIGURE_GPREN_API == STD_ON)
- void Mcu_Ipw_EmiosConfigureGpren(uint8 u8Module, uint8 u8Value)
- {
- eMIOS_Type *u32EmiosBasePtrs[eMIOS_INSTANCE_COUNT] = eMIOS_BASE_PTRS;
- if (u8Value == MCU_EMIOS_GPREN_BIT_ENABLE)
- {
- u32EmiosBasePtrs[u8Module]->MCR |= MCU_EMIOS_MCR_GPREN_MASK32;
- }
- else
- {
- u32EmiosBasePtrs[u8Module]->MCR &= (~MCU_EMIOS_MCR_GPREN_MASK32);
- }
- }
- #endif
- #endif
- #ifdef MCU_SLEEPONEXIT_SUPPORT
- #if (MCU_SLEEPONEXIT_SUPPORT == STD_ON)
- void Mcu_Ipw_SleepOnExit(Mcu_SleepOnExitType SleepOnExit)
- {
- if(MCU_SLEEP_ON_EXIT_DISABLED == (Mcu_SleepOnExitType)SleepOnExit)
- {
- Power_Ip_DisableSleepOnExit();
- }
- else
- {
- Power_Ip_EnableSleepOnExit();
- }
- }
- #endif
- #endif
- #ifdef MCU_SRAM_RETEN_CONFIG_API
- #if (MCU_SRAM_RETEN_CONFIG_API == STD_ON)
- void Mcu_Ipw_SRAMRetentionConfig(Mcu_SRAMRetenConfigType eSRAMRetenConfig)
- {
- Power_Ip_SRAMRetentionConfig(eSRAMRetenConfig);
- }
- #endif
- #endif
- #define MCU_STOP_SEC_CODE
- #include "Mcu_MemMap.h"
- #ifdef __cplusplus
- }
- #endif
|