10#include "dawn/io/common.hxx"
11#include "dawn/porting/config.hxx"
33#ifdef CONFIG_DAWN_OBJECT_HAS_NAME
34 const char *getClassNameStr()
const override
54 bool isRead()
const override;
67#ifdef CONFIG_BOARDCTL_RESET
75#ifdef CONFIG_BOARDCTL_RESET_CAUSE
83#ifdef CONFIG_BOARDCTL_POWEROFF
Descriptor wrapper for individual object configuration.
Board control I/O for system operations.
size_t getDataSize() const
Get data size in bytes.
bool isRead() const
Check if IO supports read operations.
bool isNotify() const
Check if IO supports notifications.
bool isWrite() const
Check if IO supports write operations.
bool isBatch() const
Check if IO supports batch operations.
int getDataImpl(IODataCmn &data, size_t len)
Get data implementation (override in derived classes).
size_t getDataDim() const
Get data vector dimension.
int setDataImpl(IODataCmn &data)
Set data implementation (override in derived classes).
Base class for all I/O objects.
@ IO_CLASS_SYSTEM_RESETCAUSE
Reset cause.
@ IO_CLASS_SYSTEM_POWEROFF
Power off control.
@ IO_CLASS_SYSTEM_RESET
System reset control.
uint16_t getCls() const
Get object class field.
Out-of-tree user-extension hooks for Dawn.
Base interface for I/O data buffers (static and dynamic).
@ OBJTYPE_IO
Input/Output object type.
@ DTYPE_INT32
Signed 32-bit integer (-2147483648 to 2147483647).
@ DTYPE_UINT32
Unsigned 32-bit integer (0 to 4294967295).
uint32_t ObjectId
ObjectID type - single 32-bit value.
static ObjectId objectId(uint8_t type, uint16_t cls, uint8_t dtype, uint8_t flags, uint16_t priv)
Construct 32-bit ObjectID from component fields.