set_i2s_decoder

Configure decoder on the given channel

Parameters

integer
Id of channel to configure decoder on
default: undefined
allowed values:1 to 2
integer
Bit index to send/receive data
default: undefined
allowed values:1 to 16
integer
Bit index to send clock signal
default: undefined
allowed values:1 to 16
integer
Bit number to select transmitting channel
default: undefined
allowed values:1 to 16
boolean
Bit order for I2S
default: false
integer
Number of clock cycle to wait after WS transition before data transmission starts
default: 1
allowed values:0 to 1
integer
Number of data bits
default: 8
allowed values:5 to 9
boolean
Disable all implicit conversions and coercions.
default: true

# Examples

# Sample response,

{
  "clock_bit": 2, 
  "data_bit": 1, 
  "data_width": 8, 
  "lsb_first": false, 
  "offset": 1, 
  "protocol": "", 
  "word_select": 3
}
1
2
3
4
5
6
7
8
9