gateway/Hardware/inc/Android.h

25 lines
429 B
C
Raw Permalink Normal View History

2024-07-13 02:22:47 +00:00
/*
* Android.h
*
* Created on: 2024<EFBFBD><EFBFBD>5<EFBFBD><EFBFBD>16<EFBFBD><EFBFBD>
* Author: 34509
*/
#ifndef SOFTWARE_POWER_CTRL_ANDROID_H_
#define SOFTWARE_POWER_CTRL_ANDROID_H_
#include "ch32v30x.h"
#include <rtthread.h>
#include <rthw.h>
#include "drivers/pin.h"
#define android_PowerCtrl_Pin 2
void android_PowerCtrl_Init(void);
void android_PowerCtrl_Open(void);
void android_PowerCtrl_Close(void);
#endif /* SOFTWARE_POWER_CTRL_ANDROID_H_ */