kopia lustrzana https://github.com/SP8EBC/ParaTNC
25 wiersze
375 B
C
25 wiersze
375 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;
|
|
|
|
extern wx_pwr_state_t wx_pwr_state;
|
|
|
|
void wx_pwr_switch_init(void);
|
|
void wx_pwr_switch_periodic_handle(void);
|
|
|
|
#endif /* PWR_SWITCH_H_ */
|