XWOS API
4.0
XWOS C/C++ API参考手册
|
玄武设备栈:I2C:协议通用的定义 更多...
#include <xwcd/ds/standard.h>
结构体 | |
struct | xwds_i2c_msg |
I2C消息 更多... | |
宏定义 | |
#define | XWDS_I2C_10BITADDR_LEADING_BYTE_MASK ((xwu8_t)0xF0) |
枚举 | |
enum | xwds_i2c_msgflag_em { XWDS_I2C_F_7BITADDR = (0U) , XWDS_I2C_F_10BITADDR = (1U) , XWDS_I2C_F_ADDRMSK = (1U) , XWDS_I2C_F_RD = (2U) , XWDS_I2C_F_WR = (0U) , XWDS_I2C_F_DIRMSK = (2U) , XWDS_I2C_F_START = (4U) , XWDS_I2C_F_STOP = (8U) } |
I2C消息标志枚举 更多... | |
玄武设备栈: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.
在文件 common.h 中定义.