Microchip® Advanced Software Framework

data_frame_opt_t Struct Reference

Data frame structure.

#include <ssc.h>

Data Fields

uint32_t ul_datlen
 Data bits length per transfer, should be 0 to 31. More...
 
uint32_t ul_datnb
 Data number per frame, should be 0 to 15. More...
 
uint32_t ul_fsedge
 Frame Sync. More...
 
uint32_t ul_fslen
 Frame Sync. length should be 0 to 15. More...
 
uint32_t ul_fslen_ext
 Frame Sync. length extension field, should be 0 to 15. More...
 
uint32_t ul_fsos
 Frame Sync. More...
 
uint32_t ul_msbf
 Bit sequence LSBF or MSBF. More...
 

uint32_t data_frame_opt_t::ul_datlen

Data bits length per transfer, should be 0 to 31.

Referenced by run_ssc_test(), ssc_i2s_set_receiver(), ssc_i2s_set_transmitter(), ssc_set_receiver(), and ssc_set_transmitter().

uint32_t data_frame_opt_t::ul_datnb

Data number per frame, should be 0 to 15.

Referenced by run_ssc_test(), ssc_i2s_set_receiver(), ssc_i2s_set_transmitter(), ssc_set_receiver(), and ssc_set_transmitter().

uint32_t data_frame_opt_t::ul_fsedge

Frame Sync.

edge detection. For receiver configuration, SSC_RFMR_FSEDGE_POSITIVE or SSC_RFMR_FSEDGE_NEGATIVE. For transmitter configuration, SSC_TFMR_FSEDGE_POSITIVE or SSC_TFMR_FSEDGE_NEGATIVE.

Referenced by run_ssc_test(), ssc_i2s_set_receiver(), ssc_i2s_set_transmitter(), ssc_set_receiver(), and ssc_set_transmitter().

uint32_t data_frame_opt_t::ul_fslen

Frame Sync. length should be 0 to 15.

Referenced by run_ssc_test(), ssc_i2s_set_receiver(), ssc_i2s_set_transmitter(), ssc_set_receiver(), and ssc_set_transmitter().

uint32_t data_frame_opt_t::ul_fslen_ext

Frame Sync. length extension field, should be 0 to 15.

Referenced by run_ssc_test(), ssc_set_receiver(), and ssc_set_transmitter().

uint32_t data_frame_opt_t::ul_fsos

Frame Sync.

output selection. For receiver configuration, one of SSC_RFMR_FSOS_NONE, SSC_RFMR_FSOS_NEGATIVE, SSC_RFMR_FSOS_POSITIVE, SSC_RFMR_FSOS_LOW, SSC_RFMR_FSOS_HIGH or SSC_RFMR_FSOS_TOGGLING. For transmitter configuration, one of SSC_TFMR_FSOS_NONE, SSC_TFMR_FSOS_NEGATIVE, SSC_TFMR_FSOS_POSITIVE SSC_TFMR_FSOS_LOW, SSC_TFMR_FSOS_HIGH, SSC_TFMR_FSOS_TOGGLING,

Referenced by run_ssc_test(), ssc_i2s_set_receiver(), ssc_i2s_set_transmitter(), ssc_set_receiver(), and ssc_set_transmitter().

uint32_t data_frame_opt_t::ul_msbf

Bit sequence LSBF or MSBF.

For receiver configuration, SSC_RFMR_MSBF or 0. For transmitter configuration, SSC_TFMR_MSBF or 0.

Referenced by run_ssc_test(), ssc_i2s_set_receiver(), ssc_i2s_set_transmitter(), ssc_set_receiver(), and ssc_set_transmitter().