You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
705 B

/*
* Copyright (c) Hisilicon Technologies Co., Ltd. 2020-2022. All rights reserved.
* Description: virtualkeypad input gpio interface
* Author: App-Dev Group
* Create: 2020-06-15
*/
#ifndef ANDROID_GPIOINTERFACE_H
#define ANDROID_GPIOINTERFACE_H
#include <td_type.h>
namespace android {
class GpioInterface {
public:
GpioInterface(){}
~GpioInterface(){}
td_s32 GpioInit() const;
td_s32 GpioDeinit() const;
td_s32 GpioSetDirection(td_u32 groupNumber, td_u32 bitNumber, td_bool input) const;
td_s32 GpioRead(td_u32 groupNumber, td_u32 bitNumber, td_bool& highVolt) const;
};
}
#endif // android_GpioInterface_H