temu_GpioBusIface Struct Reference

#include <temu-c/Bus/Gpio.h>


Data Fields

void(* setGpioBits )(void *Obj, uint64_t Bits, uint64_t Mask)
uint64_t(* getGpioBits )(void *Obj, uint64_t Mask)


Detailed Description

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.

Definition at line 18 of file Gpio.h.


Field Documentation

void(* temu_GpioBusIface::setGpioBits)(void *Obj, uint64_t Bits, uint64_t Mask)

setGpioBits should set or clear the bits in Bits if they are set in Mask. Upon a set, the GPIO bus model should notify any connected GPIO clients about the changed bits. This is done using the temu_GpioClientIface. In the built in bus model, notifications are only delivered if any of the bits actually changed.

uint64_t(* temu_GpioBusIface::getGpioBits)(void *Obj, uint64_t Mask)

Get the gpio-bits currently on the bus. The bits in mask will be extracted from the bus and returned in the result.


The documentation for this struct was generated from the following file:

Generated on Wed May 27 11:02:19 2015 for T-EMU by  doxygen 1.5.6