hpw422移植新的sdk
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#ifndef __SLEEP_H__
|
||||
#define __SLEEP_H__
|
||||
#include "xc_drv_pwr.h"
|
||||
#include "xc_drv_timer.h"
|
||||
|
||||
#define NOSLEEP_MODE 0
|
||||
#define LIGHTSLEEP_DEMO 1
|
||||
#define SLEEP_MODE LIGHTSLEEP_DEMO
|
||||
|
||||
void sleep_init(void);
|
||||
|
||||
void enter_sleep(void);
|
||||
|
||||
void shipmode_sleep_init(void);
|
||||
|
||||
void shipmode_deepsleep_cfg(void);
|
||||
|
||||
#endif //__SLEEP_H__
|
||||
Reference in New Issue
Block a user