Microchip® Advanced Software Framework

i2s_frame_config Struct Reference

Configure for I2S frame.

#include <i2s.h>

Data Fields

enum i2s_data_delay data_delay
 Data delay from Frame Sync (FS) to first data bit. More...
 
struct i2s_frame_sync_config frame_sync
 Frame sync (FS) More...
 
uint8_t number_slots
 Number of slots in a frame (1~8, 0,1 means minimum 1) More...
 
enum i2s_slot_size slot_size
 Size of each slot in frame. More...
 

enum i2s_data_delay i2s_frame_config::data_delay

Data delay from Frame Sync (FS) to first data bit.

Referenced by _configure_i2s(), i2s_clock_unit_get_config_defaults(), i2s_clock_unit_set_config(), and setup_i2s().

struct i2s_frame_sync_config i2s_frame_config::frame_sync
uint8_t i2s_frame_config::number_slots

Number of slots in a frame (1~8, 0,1 means minimum 1)

Referenced by _configure_i2s(), i2s_clock_unit_get_config_defaults(), i2s_clock_unit_set_config(), and setup_i2s().

enum i2s_slot_size i2s_frame_config::slot_size