00001 #ifndef TEMU_BUS_GPIO_H 00002 #define TEMU_BUS_GPIO_H 00003 00004 #include "temu-c/Support/Objsys.h" 00005 #include <stdint.h> 00006 00007 #ifdef __cplusplus 00008 extern "C" { 00009 #endif 00010 00018 typedef struct temu_GpioBusIface { 00025 void (*setGpioBits)(void *Obj, uint64_t Bits, uint64_t Mask); 00026 00029 uint64_t (*getGpioBits)(void *Obj, uint64_t Mask); 00030 } temu_GpioBusIface; 00031 00032 OBJSYS_OBJ_TYPE(temu_GpioBus); 00033 00042 typedef struct temu_GpioClientIface { 00047 void (*gpioBitsChanged)(void *Obj, uint64_t Bits, uint64_t Mask); 00048 } temu_GpioClientIface; 00049 00050 OBJSYS_OBJ_TYPE(temu_GpioClient); 00051 00052 00053 #ifdef __cplusplus 00054 } 00055 #endif 00056 00057 #endif /* ! TEMU_BUS_GPIO_H */