10#include "dawn/io/common.hxx"
11#include "dawn/porting/adc.hxx"
12#include "dawn/porting/config.hxx"
24 IO_ADC_CFG_CHANLIST = 1,
38 ~CIOAdcBase()
override;
54 int configureDevice();
55 int ensureReadBuffer(
size_t samples);
56 int readSamples(
IODataCmn &data,
size_t len);
58 int getFdInternal()
const
63 size_t getChans()
const
68 size_t getTlen()
const
73 dawn::porting::adc_read_s *getRdata()
const
79 dawn::porting::adc_read_s *rdata;
80 char path[PATH_MAX] = {};
Descriptor wrapper for individual object configuration.
int init()
One-time initialize object after bindings are resolved.
int deinit()
De-initialize object.
size_t getDataDim() const
Get data vector dimension.
int getFd() const
Get file descriptor for notifications.
int configure()
Configure object from descriptor data.
size_t getDataSize() const
Get data size in bytes.
CIOCommon(CDescObject &desc)
Construct CIOCommon from descriptor.
size_t getDtypeSize() const
Get size of this object's data type.
Out-of-tree user-extension hooks for Dawn.
Base interface for I/O data buffers (static and dynamic).