37#ifndef SYS_CFG_USE_DEFAULT_PM_HELPER
38#error Missing definition: SYS_CFG_USE_DEFAULT_PM_HELPER must be defined in sysconfig.h
41#if (SYS_CFG_USE_DEFAULT_PM_HELPER==1)
44#include "applowpower.h"
53#define SYS_PM_MAKE_EVENT(src, params) ((((src) & 0X7U) | (((params)<<3) & 0xF8U)) & 0x000000FF)
58#define SYS_IS_CALLED_FROM_ISR() (((SCB->ICSR) & (SCB_ICSR_VECTACTIVE_Msk)) != 0U ? TRUE : FALSE)
61#define SysPostPowerModeEvent SysPostEvent
uint16_t sys_error_code_t
Definition syserror.h:41
EPowerMode SysGetPowerMode(void)
Definition sysinit.c:300
SysPowerStatus SysGetPowerStatus(void)
Definition sysinit.c:315