T-EMU  2
The Terma Emulator
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Data Structures | Typedefs | Functions
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
 

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)
 

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  )