mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-02 21:54:34 +08:00
7d469384b5
* 将swm320和swm341整合进synwit
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__
|