XWOS API
4.0
XWOS C/C++ API参考手册
|
玄武设备栈:I2C:主机 更多...
函数 | |
static xwer_t | xwds_i2cm_vop_probe (struct xwds_i2cm *i2cm) |
XWDS VOP:探测I2C主机控制器 | |
static xwer_t | xwds_i2cm_vop_remove (struct xwds_i2cm *i2cm) |
XWDS VOP:移除I2C主机控制器 | |
static xwer_t | xwds_i2cm_vop_start (struct xwds_i2cm *i2cm) |
XWDS VOP:启动I2C主机控制器 | |
static xwer_t | xwds_i2cm_vop_stop (struct xwds_i2cm *i2cm) |
XWDS VOP:停止I2C主机控制器 | |
static xwer_t | xwds_i2cm_vop_suspend (struct xwds_i2cm *i2cm) |
XWDS VOP:暂停I2C主机控制器 | |
static xwer_t | xwds_i2cm_vop_resume (struct xwds_i2cm *i2cm) |
XWDS VOP:继续I2C主机控制器 | |
void | xwds_i2cm_construct (struct xwds_i2cm *i2cm) |
XWDS API:I2C主机控制器的构造函数 | |
void | xwds_i2cm_destruct (struct xwds_i2cm *i2cm) |
XWDS API:I2C主机控制器对象的析构函数 | |
xwer_t | xwds_i2cm_grab (struct xwds_i2cm *i2cm) |
XWDS API:增加对象的引用计数 | |
xwer_t | xwds_i2cm_put (struct xwds_i2cm *i2cm) |
XWDS API:减少对象的引用计数 | |
xwer_t | xwds_i2cm_xfer (struct xwds_i2cm *i2cm, struct xwds_i2c_msg *msg, xwtm_t to) |
XWDS API:传输I2C消息 | |
xwer_t | xwds_i2cm_abort (struct xwds_i2cm *i2cm, xwu16_t address, xwu16_t addrmode, xwtm_t to) |
XWDS API:中止I2C总线传输 | |
变量 | |
const struct xwds_virtual_operation | xwds_i2cm_vop |
玄武设备栈:I2C:主机
Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0Unless 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.
在文件 master.c 中定义.
XWDS VOP:探测I2C主机控制器
[in] | i2cm | I2C主机控制器对象指针 |
<No error
XWDS VOP:移除I2C主机控制器
[in] | ds | 设备栈控制块指针 |
[in] | i2cm | I2C主机控制器对象指针 |
<No error
XWDS VOP:继续I2C主机控制器
[in] | i2cm | I2C主机控制器对象指针 |
XWDS VOP:启动I2C主机控制器
[in] | i2cm | I2C主机控制器对象指针 |
XWDS VOP:停止I2C主机控制器
[in] | i2cm | I2C主机控制器对象指针 |
XWDS VOP:暂停I2C主机控制器
[in] | i2cm | I2C主机控制器对象指针 |
const struct xwds_virtual_operation xwds_i2cm_vop |