8#include "dawn/io/adc_base.hxx"
22#ifdef CONFIG_DAWN_OBJECT_HAS_NAME
23 const char *getClassNameStr()
const override
32 int trigger(uint8_t cmd)
override;
Descriptor wrapper for individual object configuration.
Shared ADC base for fetch/sync/stream implementations.
bool isRead() const
Check if IO supports read operations.
int trigger(uint8_t cmd)
Execute a trigger command.
int doStop()
Stop implementation hook.
bool isNotify() const
Check if IO supports notifications.
int doStart()
Start implementation hook.
int getDataImpl(IODataCmn &data, size_t len)
Get data implementation (override in derived classes).
bool isWrite() const
Check if IO supports write operations.
bool isBatch() const
Check if IO supports batch operations.
Template helper for creating ObjectIDs for I/O types.
static SObjectId::ObjectId create(bool ts, uint16_t inst)
Create ObjectID with default data type.
@ IO_CLASS_ADC_FETCH
ADC fetch (on-demand)
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.