rt-thread/bsp/synwit/swm341/libraries/SWM341_StdPeriph_Driver/SWM341_sleep.h

19 lines
291 B
C

#ifndef __SWM341_SLEEP_H__
#define __SWM341_SLEEP_H__
#if defined ( __CC_ARM )
__asm void EnterSleepMode(void);
__asm void EnterStopMode(void);
#elif defined ( __ICCARM__ )
__ramfunc void EnterSleepMode(void);
__ramfunc void EnterStopMode(void);
#endif
#endif //__SWM341_SLEEP_H__