- Preparing search index...
- The search index is not available
nodewox
- open(mode: I2sMode, options: {
bclk: null | Byte;
bitShift?: boolean;
bitWidth: 16 | 24 | 32;
bufferSize?: number;
din: null | Byte;
dout: null | Byte;
mclk: null | Byte;
mono?: boolean;
sampleRate?: number;
ws: null | Byte;
}): [I2sWriter | null, I2sReader | null]
-
Parameters
-
-
options: {
bclk: null | Byte;
bitShift?: boolean;
bitWidth: 16 | 24 | 32;
bufferSize?: number;
din: null | Byte;
dout: null | Byte;
mclk: null | Byte;
mono?: boolean;
sampleRate?: number;
ws: null | Byte;
}
-
bclk: null | Byte
-
Optional
bitShift?: boolean
-
bitWidth: 16 | 24 | 32
-
Optional
bufferSize?: number
-
din: null | Byte
-
dout: null | Byte
-
mclk: null | Byte
-
Optional
mono?: boolean
-
Optional
sampleRate?: number
-
ws: null | Byte
打开I2S通道,返回I2S [写, 读]通道控制句柄。
Returns
I2S [写, 读]通道句柄