1 Star 0 Fork 4.9K

xuhui / docs

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

SpiCfg

Overview

Related Modules:

SPI

Description:

Defines the configuration of an SPI device.

Since:

1.0

Summary

Data Fields

Variable Name

Description

maxSpeedHz

uint32_t 

mode

uint16_t 

transferMode

uint8_t 

bitsPerWord

uint8_t 

Details

Field Documentation

bitsPerWord

uint8_t SpiCfg::bitsPerWord

Description:

Data transfer bit width

maxSpeedHz

uint32_t SpiCfg::maxSpeedHz

Description:

Maximum clock frequency

mode

uint16_t SpiCfg::mode

transferMode

uint8_t SpiCfg::transferMode

Description:

Data transfer mode, as defined in SpiTransferMode.

1
https://gitee.com/flyinghui/docs.git
git@gitee.com:flyinghui/docs.git
flyinghui
docs
docs
master

搜索帮助