#ifndef LYNQ_SYSTEM_OWN | |
#define LYNQ_SYSTEM_OWN | |
typedef void (*LYNQ_Lpm_Handler_T) ( int lpm_edge); | |
int LYNQ_Lpm_Init(LYNQ_Lpm_Handler_T lynq_lpm_handler); | |
int LYNQ_Lpm_Deinit(); | |
int LYNQ_Autosleep_Enable(int enable); | |
int LYNQ_SLP_WakeLock_Lock(const char *name); | |
int LYNQ_SLP_WakeLock_Unlock(const char *name); | |
void LYNQ_Power_Mode(char *power_mode); | |
void LYNQ_Power_Down(int mode); | |
int LYNQ_Adc_Show(int adc_num); | |
void lynq_lpm_handler(int lpm_edge); | |
LYNQ_Lpm_Handler_T LYNQ_Lpm_Handler=NULL; | |
int last_state=0; | |
#endif | |