/ohos5.0/docs/zh-cn/device-dev/driver/ |
H A D | driver-platform-spi-des.md | 1 # SPI chapter 9 SPI接口定义了操作SPI设备的通用方法集合,包括: 13 - SPI读写:从SPI设备读取或写入指定长度数据。 17 - SPI设备配置:获取和设置SPI设备属性。 35 - 接口层提供打开SPI设备、SPI写数据、SPI读数据、SPI传输、配置SPI设备属性、获取SPI设备属性、关闭SPI设备的接口。 107  111 在使用SPI进行通信时,首先要调用SpiOpen获取SPI设备句柄,该函数会返回指定总线号和片选号的SPI设备句柄。 144 在获取到SPI设备句柄之后,需要配置SPI设备属性。配置SPI设备属性之前,可以先获取SPI设备属性,获取SPI设备属性的函数如下所示: 172 在获取到SPI设备句柄之后,需要配置SPI设备属性,配置SPI设备属性的函数如下所示: 304 SPI通信完成之后,需要销毁SPI设备句柄,销毁SPI设备句柄的函数如下所示: [all …]
|
H A D | driver-platform-spi-develop.md | 1 # SPI chapter 23 SPI模块各分层作用: 25 - 接口层提供打开SPI设备、SPI写数据、SPI读数据、SPI传输、配置SPI设备属性、获取SPI设备属性、关闭SPI设备的接口。 45  69 SPI通常用于与闪存、实时时钟、传感器以及模数/数模转换器等支持SPI协议的设备进行通信。当驱动开发者需要将SPI设备适配到OpenHarmony时,需要进行SPI驱动适配,下文将介绍如何进行SPI… 94 | Open | cntlr:结构体指针,核心层SPI控制器。 | HDF_STATUS相关状态 | 打开SPI | 95 | Close | cntlr:结构体指针,核心层SPI控制器。 | HDF_STATUS相关状态 | 关闭SPI | 100 SPI模块适配包含以下四个步骤: 114 3. 实例化SPI控制器对象 137 SPI驱动入口参考: [all …]
|
H A D | driver-overview-foundation.md | 47 - 平台驱动:为外设驱动提供Board硬件(如:I2C/SPI/UART总线等平台资源)操作统一接口,同时对Board硬件操作进行统一的适配接口抽象以便于不同平台迁移。 67 …但不限于:ADC、DAC、GPIO、HDMI、I2C、I3C、MIPI_CSI、MIPI_DSI、MMC、Pin、PWM、Regulator、RTC、SDIO、SPI、UART、WatchDog等。
|
H A D | driver-peripherals-touch-des.md | 8 Touchscreen驱动用于驱动触摸屏使其正常工作,该驱动主要完成如下工作:对触摸屏驱动IC进行上电、配置硬件管脚并初始化其状态、注册中断、配置通信接口(I2C或SPI)、设定Input相关配置、… 33 Input模块主要完成如下工作:对触摸屏驱动IC进行上电、配置硬件管脚并初始化其状态、注册中断、配置通信接口(I2C或SPI)、设定Input相关配置、下载及更新固件等操作。 68 …- SPI:在需要传递的数据不止包含报点坐标,还包含基础容值的情况下,由于需要传递的数据量较大,所以部分厂商会选用SPI通信方式。SPI的具体协议及对应操作接口,可以参考Platform接口层中的…
|
H A D | Readme-CN.md | 21 - [SPI](driver-platform-spi-develop.md) 39 - [SPI](driver-platform-spi-des.md)
|
H A D | driver-peripherals-lcd-des.md | 52 …输数据的接口,有数据信号、时钟信号和控制信号(行同步、帧同步、数据有效信号等),在控制信号控制下完成数据传输。通常TTL接口的LCD,内部寄存器读写需要额外的外设接口,比如SPI接口、I2C接口等。 90 根据LCD硬件接口,使用Platform接口层提供的I2C、SPI、MIPI等接口,下载LCD初始化序列,初始化参数序列可以参考LCD供应商提供的SPEC。
|
/ohos5.0/docs/en/device-dev/driver/ |
H A D | driver-platform-spi-des.md | 1 # SPI chapter 8 SPI works in controller/device mode. Generally, there is one SPI controller that controls one or mo… 31 - SPI defines a set of common functions for operating an SPI device, including those for: 43 **Table 1** SPI driver APIs 139 After obtaining the SPI device handle, call **SpiSetCfg** to set SPI device attributes. 173 - Write data to an SPI device 204 - Read data from an SPI device 217 | handle | SPI device handle.| 248 | handle | SPI device handle.| 277 After the SPI communication, call **SpiClose()** to close the SPI device handle. [all …]
|
H A D | driver-platform-spi-develop.md | 1 # SPI chapter 31 … | **cntlr**: structure pointer to the SPI controller at the core layer.<br>**msg**: structure poi… 32 …ucture pointer to the SPI controller at the core layer.<br>**cfg**: structure pointer to the SPI a… 33 …cture pointer to the SPI controller at the core layer.<br>**cfg**: structure pointer to the SPI at… 34 | Open | **cntlr**: structure pointer to the SPI controller at the core layer.| HDF_STATUS| Opens a… 35 | Close | **cntlr**: structure pointer to the SPI controller at the core layer.| HDF_STATUS| Closes… 40 The SPI module adaptation involves the following steps: 50 3. Instantiate the SPI controller object. 73 SPI driver entry example: 133 spi_config { // Configure private data for each SPI controller. [all …]
|
H A D | Readme-EN.md | 21 - [SPI](driver-platform-spi-develop.md) 39 - [SPI](driver-platform-spi-des.md)
|
H A D | driver-peripherals-touch-des.md | 8 … hardware pins, registers interrupts, configures the communication (I2C or SPI) interface, sets in… 33 …rdware pins, registering interrupts, configuring the communication (I2C or SPI) interface, setting… 68 …- SPI: SPI is used if a large amount of data is reported by the touchscreen. For details about the…
|
/ohos5.0/docs/zh-cn/device-dev/porting/ |
H A D | porting-smallchip-prepare-needs.md | 12 | hispark_aries | LiteOS-A | ARM cortex-a7 | 16M | 512M | JFFS2 | SPI NOR | 22 | LiteOS-A | ARMv7 | > 2M | VFAT、JFFS2、YAFFS2 | SPI NOR、NAND、EMMC |
|
H A D | porting-smallchip-driver-overview.md | 4 驱动主要包含两部分,平台驱动和器件驱动。平台驱动主要包括通常在SOC内的GPIO、I2C、SPI等;器件驱动则主要包含通常在SOC外的器件,如 LCD、TP、WLAN等
|
H A D | porting-minichip-subsys-overview.md | 18 | iothardware | IOT外设子系统。提供常见的外设接口,例如GPIO,I2C,SPI等。 |
|
/ohos5.0/docs/zh-cn/device-dev/quick-start/ |
H A D | quickstart-appendix-hi3861.md | 22 - Hi3861芯片集成高性能32bit微处理器、硬件安全引擎以及丰富的外设接口,外设接口包括SPI(Synchronous Peripheral Interface)、UART(Universal… 46 | 外围接口 | - 1个SDIO接口、2个SPI接口、2个I2C接口、3个UART接口、15个GPIO接口、7路ADC输入、6路PWM、1个I2S接口(注:上述接口通过复用实现)<br/… 59 | 模组外设控制 | 提供操作外设的能力。包括:I2C、I2S、ADC、UART、SPI、SDIO、GPIO、PWM、FLASH等。 |
|
/ohos5.0/docs/en/device-dev/kernel/ |
H A D | kernel-small-debug-shell-file-partition.md | 34 …1449mcpsimp"></a><a name="p1449mcpsimp"></a>Displays information about the SPI NOR flash partition… 45 …ried only when the Yet Another Flash File System \(YAFFS\) is enabled. The SPI NOR flash partition… 53 SPI NOR flash partition information:
|
/ohos5.0/docs/zh-cn/device-dev/kernel/ |
H A D | kernel-small-debug-shell-file-partition.md | 21 | spinor | 显示SPI NOR Flash分区信息。 | N/A |
|
/ohos5.0/docs/en/device-dev/quick-start/ |
H A D | quickstart-appendix-hi3861.md | 22 …s. The peripheral interfaces include the Synchronous Peripheral Interface (SPI), Universal Asynchr… 46 | Peripheral ports| - One SDIO interface, two SPI interfaces, two I2C interfaces, three UART interf… 59 …he capability of operating peripherals, including the I2C, I2S, ADC, UART, SPI, SDIO, GPIO, PWM an…
|
/ohos5.0/base/security/crypto_framework/ |
H A D | README_zh.md | 26 │ ├── spi # SPI的接口
|
/ohos5.0/docs/en/device-dev/porting/ |
H A D | porting-smallchip-driver-overview.md | 3 … The platform drivers are generally in the SoC, such as the GPIO, I2C, and SPI drivers. The device…
|
H A D | porting-minichip-subsys-overview.md | 18 …oT peripheral subsystem, which provides common peripheral interfaces, such as GPIO, I2C, and SPI.|
|
H A D | porting-smallchip-prepare-needs.md | 51 …s1.2.8.1.7 "><p id="p34019466577"><a name="p34019466577"></a><a name="p34019466577"></a>SPI NOR</p> 82 … id="p348018481421"><a name="p348018481421"></a><a name="p348018481421"></a>SPI NOR, NAND, eMMC</p>
|
/ohos5.0/docs/zh-cn/device-dev/guide/ |
H A D | device-wlan-led-control.md | 6 OpenHarmony WLAN模组基于Hi3861平台提供了丰富的外设操作能力,包含I2C、I2S、ADC、UART、SPI、SDIO、GPIO、PWM、FLASH等。本文介绍如何通过调用Ope…
|
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/ |
H A D | README.md | 40 │ ├── spi # SPI APIs
|
/ohos5.0/docs/zh-cn/device-dev/ |
H A D | dev-board-on-the-master.md | 31 …力:<br/>LANGO200 IOT开发板,集成了高性能的WIFI-BLE双模芯片ASR5822、外部存储芯片、语音播放芯片以及模数转换等,同时支持SPI等IOT设备常用外设接口,可外扩OLED… 36 …准的802.11 b/g/n协议,内置完整的TCP/IP协议栈,集成蓝牙基带处理器,支持BT/BLE4.2协议;具备丰富的数字接口,内置QFlash、SPI、UART、GPIO、I2C、I2S、7…
|
/ohos5.0/drivers/hdf_core/framework/model/input/driver/ |
H A D | input_config_parser.c | 24 #define SPI 1 macro 143 } else if (bus->busType == SPI) { in ParseBus()
|