eLooM for STM32 application  v3.3.0
A framework for multitasking low power embedded applications powerd by STM32
Loading...
Searching...
No Matches
IIODriver_vtbl.h File Reference

Private API for the I/O Driver Interface. More...

#include "drivers/IDriver_vtbl.h"
+ Include dependency graph for IIODriver_vtbl.h:

Go to the source code of this file.

Data Structures

struct  _IIODriver_vtbl
 
struct  _IIODriver
 

Typedefs

typedef struct _IIODriver_vtbl IIODriver_vtbl
 

Functions

SYS_DEFINE_STATIC_INLINE sys_error_code_t IIODrvWrite (IIODriver *_this, uint8_t *pDataBuffer, uint16_t nDataSize, uint16_t nChannel)
 
SYS_DEFINE_STATIC_INLINE sys_error_code_t IIODrvRead (IIODriver *_this, uint8_t *pDataBuffer, uint16_t nDataSize, uint16_t nChannel)
 

Detailed Description

Private API for the I/O Driver Interface.

Author
STMicroelectronics - ST-Korea - MCD Team
Version
3.0.0
Date
Aug 6, 2019

This header file must be included included in all source files that use the IIODriver public API.

Attention

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 Documentation

◆ IIODriver_vtbl

Create type name for _IIODriver_vtbl.

Function Documentation

◆ IIODrvRead()

SYS_DEFINE_STATIC_INLINE sys_error_code_t IIODrvRead ( IIODriver _this,
uint8_t *  pDataBuffer,
uint16_t  nDataSize,
uint16_t  nChannel 
)
inline
Parameters
_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.
Returns
SYS_NO_ERROR_CODE if success, an error code otherwise.

◆ IIODrvWrite()

SYS_DEFINE_STATIC_INLINE sys_error_code_t IIODrvWrite ( IIODriver _this,
uint8_t *  pDataBuffer,
uint16_t  nDataSize,
uint16_t  nChannel 
)
inline
Parameters
_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.
Returns
SYS_NO_ERROR_CODE if success, an error code otherwise.