/* * 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 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