博客
关于我
HaaS EDU K1设备资源 之 IIC
阅读量:118 次
发布时间:2019-02-26

本文共 958 字,大约阅读时间需要 3 分钟。

IIC??????PHILIPS??????????????????????????????????????SDA????SCL?????????????????400kbps???

IIC?????????????????????????????????????

  • ?????SCL????????????SDA???????????????????????
  • ?????SCL??????????????SDA?????????????????????
  • ????????????8????????????????????????????????????????????????????????

HaaS1000??????I2C?????????????????1.4Mbps???I2C??????????GPIO???????

HAL???AliOS Things???MCU?????????????????include/aos/hal?????????platform/mcu/haas1000/hal/?

HAL??????API?

  • hal_i2c_init??????I2C???
  • hal_i2c_master_send???????????????
  • hal_i2c_master_recv???????????????
  • hal_i2c_slave_send????????????????
  • hal_i2c_slave_recv????????????????
  • hal_i2c_mem_write?????????????
  • hal_i2c_mem_read?????????????
  • hal_i2c_finalize?????I2C???

I2C???????

  • I2C_MODE_MASTER????
  • I2C_MODE_SLAVE?????
  • I2C_MEM_ADDR_SIZE_8BIT?8???
  • I2C_MEM_ADDR_SIZE_16BIT?16???
  • I2C_BUS_BIT_RATES_100K?400K?3400K?????
  • I2C_HAL_ADDRESS_WIDTH_7BIT?10BIT?????

HaaS EDU K1????I2C1?GPIO_P0_2?GPIO_P0_3??????

转载地址:http://rwnu.baihongyu.com/

你可能感兴趣的文章
python Windows显示当前鼠标坐标
查看>>
python Workbook 表格宽度
查看>>
python | flanker,一个神奇的 Python 库!
查看>>
python | flower,一个强大的 Python 库!
查看>>
python | funcy,一个超强的 提供函数式编程工具 Python 库!
查看>>
python | ggplot,一个超强的 Python 库!
查看>>
python | grab,一个强大的 Python 库!
查看>>
python | rich,一个无敌的 Python 库!
查看>>
python | rq,一个无敌的 关于Redis 的Python 库!
查看>>
python | unoconv,一个超厉害的 Python 库!
查看>>
python | urllib3,一个超强的 Python 库!
查看>>
python | webassets,一个超强的 Python 库!
查看>>
python | werkzeug,一个不可思议的 Python 库!
查看>>
python | xlsxwriter,一个实用的 Python 库!
查看>>
python | xlwings,一个非常实用的 Excel 相关的 Python 库!
查看>>
python | 一文看懂Python闭包机制与变量作用域规则
查看>>
python读取含中文的json
查看>>
python | 如何用Python锁避免并发错误?
查看>>
python | 提升代码迭代速度的Python重载方法
查看>>
python | 深入理解Python并发编程中的GIL限制与解决方案
查看>>