TEMU  2
The Terma Emulator
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Gpio.h File Reference
#include "temu-c/Support/Objsys.h"
#include <stdint.h>
Include dependency graph for Gpio.h:

Go to the source code of this file.

Data Structures

struct  temu_GpioBusIface
 
struct  temu_GpioClientIface
 

Macros

#define TEMU_GPIO_BUS_IFACE_TYPE   "GpioBusIface"
 
#define TEMU_GPIO_CLIENT_IFACE_TYPE   "GpioClientIface"
 

Typedefs

typedef struct temu_GpioBusIface temu_GpioBusIface
 
typedef struct temu_GpioClientIface temu_GpioClientIface
 

Functions

 TEMU_IFACE_REFERENCE_TYPE (temu_GpioBus)
 
 TEMU_IFACE_REFERENCE_TYPE (temu_GpioClient)
 

Macro Definition Documentation

#define TEMU_GPIO_BUS_IFACE_TYPE   "GpioBusIface"

Definition at line 39 of file Gpio.h.

#define TEMU_GPIO_CLIENT_IFACE_TYPE   "GpioClientIface"

Definition at line 57 of file Gpio.h.

Typedef Documentation

Interface implemented by the GPIO bus class.

Normally this does not have to be implemented yourself. It exist for the bus model only. In-case you need a separate bus model, you can implement this interface.

Interface for GPIO clients.

A GPIO client is a device that interface with the GPIO bus. Such a client can poll using the GpioBusIface, but it is likely better to be lazily notified about changes to the bus values. Such notifications will be delivered to the GpioClientIface.

Function Documentation

TEMU_IFACE_REFERENCE_TYPE ( temu_GpioBus  )
TEMU_IFACE_REFERENCE_TYPE ( temu_GpioClient  )