19 lines
551 B
C
19 lines
551 B
C
/*******************************************************************************
|
|
* @file power_control.h
|
|
* @brief Device power sequence control
|
|
******************************************************************************/
|
|
#ifndef POWER_CONTROL_H__
|
|
#define POWER_CONTROL_H__
|
|
|
|
#include "main.h"
|
|
|
|
int device_sleep_mode(void);
|
|
int device_activated(void);
|
|
int device_reactivated(void);
|
|
void power_loop(struct k_timer *timer);
|
|
void power_timer_start(void);
|
|
void power_timer_stop(void);
|
|
void power_timer_init(void);
|
|
|
|
#endif /* POWER_CONTROL_H__ */
|