ODeV framework
v2
|
Private API for the Driver Interface. More...
Go to the source code of this file.
Data Structures | |
struct | _IDriver |
Functions | |
SYS_DEFINE_INLINE sys_error_code_t | IDrvInit (IDriver *this, void *pParams) |
SYS_DEFINE_INLINE sys_error_code_t | IDrvStart (IDriver *this) |
SYS_DEFINE_INLINE sys_error_code_t | IDrvStop (IDriver *this) |
SYS_DEFINE_INLINE sys_error_code_t | IDrvDoEnterPowerMode (IDriver *this, const EPowerMode eActivePowerMode, const EPowerMode eNewPowerMode) |
SYS_DEFINE_INLINE sys_error_code_t | IDrvWrite (IDriver *this, uint8_t *pDataBuffer, uint16_t nDataSize, uint16_t nChannel) |
SYS_DEFINE_INLINE sys_error_code_t | IDrvRead (IDriver *this, uint8_t *pDataBuffer, uint16_t nDataSize, uint16_t nChannel) |
Private API for the Driver Interface.
Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:
http://www.st.com/software_license_agreement_liberty_v2
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
inline |
This function is called by the framework when the system changing the power mode.
this | [IN] specifies a pointer to a IDriver object. |
eActivePowerMode | [IN] specifies the actual power mode. |
eNewPowerMode | [IN] specifies the new power mode. |
|
inline |
Initialize the driver. This method should be used by a task object during the hardware initialization process.
this | [IN] specifies a pointer to a IDriver object. |
pParams | specifies a pointer to a subclass defined initialization parameters. |
|
inline |
this | [IN] specifies a pointer to a IDriver object. |
pDataBuffer | |
nDataSize | |
nChannel |
|
inline |
this | s[IN] specifies a pointer to a IDriver object. |
|
inline |
this | [IN] specifies a pointer to a IDriver object. |
|
inline |
this | [IN] specifies a pointer to a IDriver object. |
pDataBuffer | [IN] specifies the buffer used to store the received data. |
nDataSize | [IN] specified the size in byte of the buffer. |
nChannel | [IN] not used by |