SP8EBC-ParaTNC/include/pwr_switch.h

24 wiersze
339 B
C

/*
* pwr_switch.h
*
* Created on: Aug 31, 2021
* Author: mateusz
*/
#ifndef PWR_SWITCH_H_
#define PWR_SWITCH_H_
typedef enum wx_pwr_state_t {
WX_PWR_OFF,
WX_PWR_ON,
WX_PWR_UNDER_RESET,
WX_PWR_DISABLED
}wx_pwr_state_t;
void wx_pwr_switch_init(void);
void wx_pwr_switch_periodic_handle(void);
#endif /* PWR_SWITCH_H_ */