1 Star 0 Fork 5.3K

OpenHarmony_EU incubator / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
spimsg.md 4.72 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

SpiMsg

Overview

Related Modules:

SPI

Description:

Defines the custom SPI transfer message.

Since:

1.0

Summary

Data Fields

Variable Name

Description

wbuf

uint8_t *

rbuf

uint8_t *

len

uint32_t

speed

uint32_t

delayUs

uint16_t

csChange

uint8_t

Details

Field Documentation

csChange

uint8_t SpiMsg::csChange

Description:

Whether to switch off the CS before the next transfer when the current transfer has been completed. 1 indicates to switch off the CS; 0 indicates to switch on the CS.

delayUs

uint16_t SpiMsg::delayUs

Description:

Delay (in microseconds) before starting the next transfer. The value 0 indicates there is no delay between transfers.

len

uint32_t SpiMsg::len

Description:

Length of the read and write buffers. The read buffer and the write buffer have the same length.

rbuf

uint8_t* SpiMsg::rbuf

Description:

Address of the read buffer

speed

uint32_t SpiMsg::speed

Description:

Current message transfer speed

wbuf

uint8_t* SpiMsg::wbuf

Description:

Address of the write buffer

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/open-harmony-eu-incubator/docs.git
git@gitee.com:open-harmony-eu-incubator/docs.git
open-harmony-eu-incubator
docs
docs
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891