10#include "dawn/io/common.hxx"
11#include "dawn/porting/config.hxx"
27 IO_BUTTONS_CFG_FIRST = 0,
28 IO_BUTTONS_CFG_LAST = 31
39#ifdef CONFIG_DAWN_OBJECT_HAS_NAME
40 const char *getClassNameStr()
const override
50#ifdef CONFIG_DAWN_IO_NOTIFY
51 int getFd()
const override;
91 char path[PATH_MAX] = {};
94 int configureDesc(
const CDescObject &desc);
Descriptor wrapper for individual object configuration.
Template helper for creating ObjectIDs for I/O types.
static SObjectId::ObjectId create(bool ts, uint16_t inst)
Create ObjectID with default data type.
Base class for all I/O objects.
virtual int getFd() const
Get file descriptor for notifications.
@ IO_CLASS_BUTTONS
Button input.
static ObjectCfgId objectCfg(uint8_t type, uint16_t cls, uint8_t dtype, bool rw, uint16_t size, uint8_t id)
Construct 32-bit ConfigID from component fields.
uint32_t ObjectCfgId
ConfigID type - single 32-bit value.
Out-of-tree user-extension hooks for Dawn.
Base interface for I/O data buffers (static and dynamic).
@ OBJTYPE_IO
Input/Output object type.
uint32_t ObjectId
ObjectID type - single 32-bit value.