XWOS API
4.0
XWOS C/C++ API参考手册
|
玄武设备栈:I2C IO扩展芯片:TCA9539 更多...
结构体 | |
struct | xwds_tca9539_cfg |
TCA9539配置 更多... | |
struct | xwds_tca9539_pincfg |
TCA9539 PIN配置 更多... | |
struct | xwds_tca9539 |
TCA9539对象 更多... | |
宏定义 | |
#define | XWDS_TCA9539_REG_P0_INPUT ((xwu8_t)0) |
#define | XWDS_TCA9539_REG_P1_INPUT ((xwu8_t)1) |
#define | XWDS_TCA9539_REG_P0_OUTPUT ((xwu8_t)2) |
#define | XWDS_TCA9539_REG_P1_OUTPUT ((xwu8_t)3) |
#define | XWDS_TCA9539_REG_P0_POLINV ((xwu8_t)4) |
#define | XWDS_TCA9539_REG_P1_POLINV ((xwu8_t)5) |
#define | XWDS_TCA9539_REG_P0_CFG ((xwu8_t)6) |
#define | XWDS_TCA9539_REG_P1_CFG ((xwu8_t)7) |
枚举 | |
enum | xwds_tca9539_pin_direction_em { XWDS_TCA9539_PIN_DIRECTION_OUT = 0U , XWDS_TCA9539_PIN_DIRECTION_IN } |
TCA9539 Pin方向枚举 更多... | |
函数 | |
void | xwds_tca9539_construct (struct xwds_tca9539 *tca9539) |
TCA9539 API:TCA9539对象的构造函数 | |
void | xwds_tca9539_destruct (struct xwds_tca9539 *tca9539) |
TCA9539 API:TCA9539对象的析构函数 | |
static xwer_t | xwds_tca9539_grab (struct xwds_tca9539 *tca9539) |
TCA9539 API:增加对象的引用计数 | |
static xwer_t | xwds_tca9539_put (struct xwds_tca9539 *tca9539) |
TCA9539 API:减少对象的引用计数 | |
玄武设备栈:I2C IO扩展芯片:TCA9539
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.
在文件 device.h 中定义.