content: Update the README.md ci: Adapt to the lower directory ci: the lower directory support ci: board type errors fixed. ci: board_type errors fixed to board_leaf. fix: A naming error problem fix: jd9365 member error fix: Update product naming feat: Add manufacturer parameters to the firmware name for 'release' fix: Verification logic fix: Verification logic
23 lines
482 B
C++
23 lines
482 B
C++
#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 |