8#include "dawn/io/common.hxx"
9#include "dawn/porting/config.hxx"
10#include "dawn/porting/gpio.hxx"
39#ifdef CONFIG_DAWN_OBJECT_HAS_NAME
40 const char *getClassNameStr()
const override
51#ifdef CONFIG_DAWN_IO_NOTIFY
52 int getFd()
const override;
88#ifdef CONFIG_DAWN_IO_NOTIFY
92 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.
GPIO Input (GPI) I/O type for reading digital input states.
int configure()
Configure object from descriptor data.
size_t getDataSize() const
Get data size in bytes.
int getDataImpl(IODataCmn &data, size_t len)
Get data implementation (override in derived classes).
size_t getDataDim() const
Get data vector dimension.
bool isWrite() const
Check if IO supports write operations.
int deinit()
De-initialize object.
bool isBatch() const
Check if IO supports batch operations.
bool isNotify() const
Check if IO supports notifications.
int init()
One-time initialize object after bindings are resolved.
bool isRead() const
Check if IO supports read operations.
Out-of-tree user-extension hooks for Dawn.
Base interface for I/O data buffers (static and dynamic).
uint32_t ObjectId
ObjectID type - single 32-bit value.