eLooM for STM32 application  v3.3.0
Loading...
Searching...
No Matches
IIODriver.h
Go to the documentation of this file.
1
24#ifndef INCLUDE_DRIVERS_IIODRIVER_H_
25#define INCLUDE_DRIVERS_IIODRIVER_H_
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
31
32#include "drivers/IDriver.h"
33
34
38typedef struct _IIODriver IIODriver;
39
40
41// Public API declaration
42//***********************
43
52static inline sys_error_code_t IIODrvWrite(IIODriver *_this, uint8_t *pDataBuffer, uint16_t nDataSize, uint16_t nChannel);
53
62static inline sys_error_code_t IIODrvRead(IIODriver *_this, uint8_t *pDataBuffer, uint16_t nDataSize, uint16_t nChannel);
63
64
65// Inline functions definition
66// ***************************
67
68
69#ifdef __cplusplus
70}
71#endif
72
73#endif /* INCLUDE_DRIVERS_IIODRIVER_H_ */
Public API for the Driver Interface.
static sys_error_code_t IIODrvRead(IIODriver *_this, uint8_t *pDataBuffer, uint16_t nDataSize, uint16_t nChannel)
Definition IIODriver_vtbl.h:73
static sys_error_code_t IIODrvWrite(IIODriver *_this, uint8_t *pDataBuffer, uint16_t nDataSize, uint16_t nChannel)
Definition IIODriver_vtbl.h:68
Definition IIODriver_vtbl.h:56
uint16_t sys_error_code_t
Definition syserror.h:41