Files
xiaozhi-esp32/main/boards/waveshare-s3-epaper-1.54/board_power_bsp.h

23 lines
482 B
C
Raw Normal View History

#ifndef __BOARD_POWER_BSP_H__
#define __BOARD_POWER_BSP_H__
class BoardPowerBsp {
private:
const int epdPowerPin_;
const int audioPowerPin_;
const int vbatPowerPin_;
static void PowerLedTask(void *arg);
public:
BoardPowerBsp(int epdPowerPin, int audioPowerPin, int vbatPowerPin);
~BoardPowerBsp();
void PowerEpdOn();
void PowerEpdOff();
void PowerAudioOn();
void PowerAudioOff();
void VbatPowerOn();
void VbatPowerOff();
};
#endif