woody 7d469384b5
将swm320和swm341整合进synwit (#6290)
* 将swm320和swm341整合进synwit
2022-08-16 12:43:24 -04:00

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__