Alpha-StarAlpha-Star
  • 网站首页
  • 96Boards
    • HiKey960
    • MediaTek X20
    • MediaTek X20 Pro
  • EVB
  • 极客社区
  • 资源中心
    • 资源下载
    • 产品维基
      • HiKey960
      • MediaTek X20
  • 立即购买
  • English

8.transfer data API

首页/MediaTek X20 软件开发/How to debug SPI/8.transfer data API

MediaTek X20 软件开发

  • Camera Porting Guide
    • 1.M camera driver code path
    • 2.DTS
    • 3.How to customized xxx.dts for each project
    • 4.For external LDO control
    • 5.I2C BUS
    • 6.ADD A NEW CAMERA FLOW
  • How to debug led
    • 1. Led Profile
    • 2. How to light on/off Led
  • How to debug I2C
    • 1.I2C configuration
    • 2.I2C code
  • How to debug SPI
    • 1.Description
    • 2.spi parameters patch and set
    • 3.project configuration
    • 4.Use dct_toot config pin
    • 5.Driver code
    • 6.Register dev
    • 7.Register drv
    • 8.transfer data API
    • 9.parameter configuration
  • LCM porting guide
    • 1.LK LCM configuration
    • 2. Kernel LCM configuration
  • Sensor Porting Guide
    • 1.Sensor Architecture Description
    • 2.Sensor Customization
    • 3.Driver Customization
    • 4.Choose sensor P/N
    • 5.Sensor Compatible
  1. Wiki首页
  2. MediaTek X20 软件开发
  3. How to debug SPI
  4. 8.transfer data API

8.transfer data API

Please refer to API:

spi_setup_xfer(&spi->dev, &test_xfer, len, 1);

spi_message_add_tail(&test_xfer, &msg);

ret = spi_sync(spi, &msg);

最后更新时间 2016年6月17日

Doc navigation

← 7.Register drv9.parameter configuration →
这篇文章对你有帮助吗? 是 否

关于我们 | 新闻动态 | 资源下载 | 产品维基

极客社区:https://bbs.alpha-star.org
E-mail:service@alpha-star.org
QQ交流群:522072306

Copyright © 2016-2017 Alpha Star. 苏ICP备09033241号-12