eLooM for STM32 application
v3.3.0
|
I/O Driver interface. More...
#include "drivers/IDriver.h"
Go to the source code of this file.
Typedefs | |
typedef struct _IIODriver | IIODriver |
Functions | |
static sys_error_code_t | IIODrvWrite (IIODriver *_this, uint8_t *pDataBuffer, uint16_t nDataSize, uint16_t nChannel) |
static sys_error_code_t | IIODrvRead (IIODriver *_this, uint8_t *pDataBuffer, uint16_t nDataSize, uint16_t nChannel) |
I/O Driver interface.
I/O driver interface extends the basic IDriver interface with read and write operation.
Copyright (c) 2017 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
typedef struct _IIODriver IIODriver |
Create type name for _IIODriver.
|
inlinestatic |
_this | [IN] specifies a pointer to a IIODriver object. |
pDataBuffer | [OUT] specifies the buffer used to store the received data. |
nDataSize | [IN] specified the size in byte of the buffer. |
nChannel | [IN] specifies the channel from where to read the data. |
|
inlinestatic |
_this | [IN] specifies a pointer to a IIODriver object. |
pDataBuffer | [IN] specifies the buffer with the data to be written by the driver. |
nDataSize | [IN] specified the size in byte of the buffer. |
nChannel | [IN] specifies the channel where to write the data. |