4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-09 09:31:11 +08:00

19 lines
291 B
C
Raw Normal View History

#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__