TEMU  4.4
The Terma Emulator
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

◆ TEMU_GPIO_BUS_IFACE_TYPE

#define TEMU_GPIO_BUS_IFACE_TYPE   "GpioBusIface"

◆ TEMU_GPIO_CLIENT_IFACE_TYPE

#define TEMU_GPIO_CLIENT_IFACE_TYPE   "GpioClientIface"

Typedef Documentation

◆ temu_GpioBusIface

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.

Note that this interface is deprecated for future models and it is expected that the signal interface is used instead.

◆ temu_GpioClientIface

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.

Note that this interface is deprecated for future models and it is expected that the signal interface is used instead.

Function Documentation

◆ TEMU_IFACE_REFERENCE_TYPE() [1/2]

TEMU_IFACE_REFERENCE_TYPE ( temu_GpioBus  )

◆ TEMU_IFACE_REFERENCE_TYPE() [2/2]

TEMU_IFACE_REFERENCE_TYPE ( temu_GpioClient  )