mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-10 00:41:10 +08:00
19 lines
291 B
C
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__
|