XWOS API
4.0
XWOS C/C++ API参考手册
|
玄武设备栈:IO扩展芯片 更多...
#include <xwcd/ds/standard.h>
#include <xwcd/ds/device.h>
#include <xwcd/ds/i2c/peripheral.h>
#include <xwcd/ds/spi/peripheral.h>
结构体 | |
struct | xwds_iochip_driver |
BSP中需要提供的IO扩展芯片设备驱动函数表 更多... | |
struct | xwds_iochip |
IO扩展芯片 更多... | |
类型定义 | |
typedef void * | xwds_iochip_eirq_arg_t |
外部中断函数参数 | |
typedef void(* | xwds_iochip_eirq_f) (struct xwds_iochip *, xwid_t, xwds_iochip_eirq_arg_t) |
外部中断函数 | |
函数 | |
void | xwds_iochip_construct (struct xwds_iochip *iochip) |
XWDS API:IOCHIP对象的构造函数 | |
void | xwds_iochip_destruct (struct xwds_iochip *iochip) |
XWDS API:IOCHIP对象的析构函数 | |
xwer_t | xwds_iochip_grab (struct xwds_iochip *iochip) |
XWDS API:增加对象的引用计数 | |
xwer_t | xwds_iochip_put (struct xwds_iochip *iochip) |
XWDS API:减少对象的引用计数 | |
玄武设备栈:IO扩展芯片
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.
在文件 chip.h 中定义.