Preparing search index...
The search index is not available
nodewox
nodewox
"nodewox"
spi
open
Function open
open
(
portId
:
SpiId
, sclk
:
Byte
, mosi
:
null
|
Byte
, miso
:
null
|
Byte
, dma
?:
number
)
:
SpiBus
打开SPI控制器,建立标准SPI总线
Returns
SPI总线对象
Parameters
portId:
SpiId
SPI控制器ID
sclk:
Byte
用于SCLK的引脚编号
mosi:
null
|
Byte
用于MOSI的引脚编号
miso:
null
|
Byte
用于MISO的引脚编号
Optional
dma:
number
DMA缓存大小, 0表示不启用
Returns
SpiBus
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
nodewox
"audio"
"display"
"encdec"
"events"
"fs"
"graphics"
"http"
"math"
"net"
"nodewox"
gpio
i2c
i2s
spi
uart
"sys"
"usb"
Spi
Bus
Spi
Device
Spi
Id
HSPI
VSPI
handle
open
打开SPI控制器,建立标准SPI总线
Returns
SPI总线对象