Configure for I2S Serializer.
#include <i2s.h>
Data Fields | |
enum i2s_bit_padding | bit_padding |
Data Formatting Bit Extension. More... | |
enum i2s_clock_unit | clock_unit |
Clock unit selection. More... | |
bool | data_adjust_left_in_slot |
Data Slot Formatting Adjust, set to true to adjust words in slot to left. More... | |
bool | data_adjust_left_in_word |
Data Word Formatting Adjust, set to true to adjust bits in word to left. More... | |
enum i2s_data_padding | data_padding |
Data padding when under-run. More... | |
struct i2s_pin_config | data_pin |
Configure Serializer data pin. More... | |
enum i2s_data_size | data_size |
Data Word Size. More... | |
bool | disable_data_slot [8] |
Disable data slot. More... | |
enum i2s_dma_usage | dma_usage |
DMA usage. More... | |
enum i2s_line_default_state | line_default_state |
Line default state where slot is disabled. More... | |
bool | loop_back |
Set to true to loop-back output to input pin for test. More... | |
enum i2s_serializer_mode | mode |
Serializer Mode. More... | |
bool | mono_mode |
Set to true to assumes mono input and duplicate it (left channel) to right channel. More... | |
bool | transfer_lsb_first |
Set to true to transfer LSB first, false to transfer MSB first. More... | |
enum i2s_bit_padding i2s_serializer_config::bit_padding |
Data Formatting Bit Extension.
Referenced by i2s_serializer_get_config_defaults(), and i2s_serializer_set_config().
enum i2s_clock_unit i2s_serializer_config::clock_unit |
Clock unit selection.
Referenced by _configure_i2s(), i2s_serializer_get_config_defaults(), i2s_serializer_set_config(), and setup_i2s().
bool i2s_serializer_config::data_adjust_left_in_slot |
Data Slot Formatting Adjust, set to true
to adjust words in slot to left.
Referenced by i2s_serializer_get_config_defaults(), and i2s_serializer_set_config().
bool i2s_serializer_config::data_adjust_left_in_word |
Data Word Formatting Adjust, set to true
to adjust bits in word to left.
Referenced by i2s_serializer_get_config_defaults(), and i2s_serializer_set_config().
enum i2s_data_padding i2s_serializer_config::data_padding |
Data padding when under-run.
Referenced by i2s_serializer_get_config_defaults(), and i2s_serializer_set_config().
struct i2s_pin_config i2s_serializer_config::data_pin |
Configure Serializer data pin.
Referenced by _configure_i2s(), i2s_serializer_get_config_defaults(), and i2s_serializer_set_config().
enum i2s_data_size i2s_serializer_config::data_size |
Data Word Size.
Referenced by _configure_i2s(), i2s_serializer_get_config_defaults(), i2s_serializer_set_config(), and setup_i2s().
bool i2s_serializer_config::disable_data_slot[8] |
Disable data slot.
Referenced by i2s_serializer_get_config_defaults(), and i2s_serializer_set_config().
enum i2s_dma_usage i2s_serializer_config::dma_usage |
DMA usage.
Referenced by i2s_serializer_get_config_defaults(), and i2s_serializer_set_config().
enum i2s_line_default_state i2s_serializer_config::line_default_state |
Line default state where slot is disabled.
Referenced by i2s_serializer_get_config_defaults(), and i2s_serializer_set_config().
bool i2s_serializer_config::loop_back |
Set to true
to loop-back output to input pin for test.
Referenced by _configure_i2s(), i2s_serializer_get_config_defaults(), i2s_serializer_set_config(), and setup_i2s().
enum i2s_serializer_mode i2s_serializer_config::mode |
Serializer Mode.
Referenced by _configure_i2s(), i2s_serializer_get_config_defaults(), i2s_serializer_set_config(), and setup_i2s().
bool i2s_serializer_config::mono_mode |
Set to true
to assumes mono input and duplicate it (left channel) to right channel.
Referenced by i2s_serializer_get_config_defaults(), and i2s_serializer_set_config().
bool i2s_serializer_config::transfer_lsb_first |
Set to true
to transfer LSB first, false
to transfer MSB first.
Referenced by i2s_serializer_get_config_defaults(), and i2s_serializer_set_config().