initial commit
This commit is contained in:
31
project/ble_peripheral/ble_app_vivaMayo/power_control.h
Normal file
31
project/ble_peripheral/ble_app_vivaMayo/power_control.h
Normal file
@@ -0,0 +1,31 @@
|
||||
/*******************************************************************************
|
||||
* @file power_control.h
|
||||
* @author CandyPops Co.
|
||||
* @version V1.0.0
|
||||
* @date 2022-09-05
|
||||
* @brief
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef _POWER_CONTROL_H_
|
||||
#define _POWER_CONTROL_H_
|
||||
|
||||
#include "main.h"
|
||||
|
||||
void power_gpio_init(void);
|
||||
void ir_power_control(on_off_cont_t ir_power_st);
|
||||
void rcv_power_control(on_off_cont_t rcv_power_st);
|
||||
void eeprom_control(on_off_cont_t rcv_power_st);
|
||||
int device_sleep_mode(void);
|
||||
int device_activated(void);
|
||||
int device_reactivated(void);
|
||||
void power_loop(void * p_context); /* For x ms */
|
||||
void power_timer_start(void);
|
||||
void power_timer_stop(void);
|
||||
void power_timer_init(void);
|
||||
|
||||
/* W25Q32 Flash test */
|
||||
void w25q_test_timer_init(void);
|
||||
void w25q_test_timer_start(void);
|
||||
|
||||
#endif //_POWER_CONTROL_H_
|
||||
|
||||
Reference in New Issue
Block a user