24#ifndef INCLUDE_DRIVERS_IIODRIVER_VTBL_H_
25#define INCLUDE_DRIVERS_IIODRIVER_VTBL_H_
32#include "drivers/IDriver_vtbl.h"
46 sys_error_code_t (*DoEnterPowerMode)(
IDriver *_this,
const EPowerMode eActivePowerMode,
const EPowerMode eNewPowerMode);
69 return _this->
vptr->Write(_this, pDataBuffer, nDataSize, nChannel);
74 return _this->
vptr->Read(_this, pDataBuffer, nDataSize, nChannel);
SYS_DEFINE_STATIC_INLINE sys_error_code_t IIODrvRead(IIODriver *_this, uint8_t *pDataBuffer, uint16_t nDataSize, uint16_t nChannel)
Definition IIODriver_vtbl.h:73
SYS_DEFINE_STATIC_INLINE sys_error_code_t IIODrvWrite(IIODriver *_this, uint8_t *pDataBuffer, uint16_t nDataSize, uint16_t nChannel)
Definition IIODriver_vtbl.h:68
Definition IDriver_vtbl.h:49
Definition IIODriver_vtbl.h:42
Definition IIODriver_vtbl.h:56
const IIODriver_vtbl * vptr
Definition IIODriver_vtbl.h:60
uint16_t sys_error_code_t
Definition syserror.h:41
#define SYS_DEFINE_STATIC_INLINE
Definition systp.h:95