Clock mode structure.
#include <ssc.h>
Data Fields | |
uint32_t | ul_ckg |
Communication clock gating selection. More... | |
uint32_t | ul_cki |
Communication clock inversion. More... | |
uint32_t | ul_cko |
Communication clock output mode selection. More... | |
uint32_t | ul_cks |
Communication clock selection. More... | |
uint32_t | ul_period |
Period divider selection, should be 0 to 255. More... | |
uint32_t | ul_start_sel |
Communication start selection. More... | |
uint32_t | ul_sttdly |
Communication start delay, should be 0 to 255. More... | |
uint32_t clock_opt_t::ul_ckg |
Communication clock gating selection.
For receiver configuration, one of SSC_RCMR_CKG_NONE, SSC_RCMR_CKG_CONTINUOUS and SSC_RCMR_CKG_TRANSFER. For transmitter configuration, one of SSC_TCMR_CKG_NONE, SSC_TCMR_CKG_CONTINUOUS and SSC_TCMR_CKG_TRANSFER.
Referenced by run_ssc_test(), ssc_i2s_set_receiver(), ssc_i2s_set_transmitter(), ssc_set_receiver(), and ssc_set_transmitter().
uint32_t clock_opt_t::ul_cki |
Communication clock inversion.
For receiver configuration, SSC_RCMR_CKI or 0. For transmitter configuration, SSC_TCMR_CKI or 0.
Referenced by run_ssc_test(), ssc_i2s_set_receiver(), ssc_i2s_set_transmitter(), ssc_set_receiver(), and ssc_set_transmitter().
uint32_t clock_opt_t::ul_cko |
Communication clock output mode selection.
For receiver configuration, one of SSC_RCMR_CKO_NONE, SSC_RCMR_CKO_CONTINUOUS or SSC_RCMR_CKO_TRANSFER. For transmitter configuration, one of SSC_TCMR_CKO_NONE, SSC_TCMR_CKO_CONTINUOUS or SSC_TCMR_CKO_TRANSFER.
Referenced by run_ssc_test(), ssc_i2s_set_receiver(), ssc_i2s_set_transmitter(), ssc_set_receiver(), and ssc_set_transmitter().
uint32_t clock_opt_t::ul_cks |
Communication clock selection.
For receiver configuration, one of SSC_RCMR_CKS_MCK, SSC_RCMR_CKS_TK or SSC_RCMR_CKS_RK. For transmitter configuration, one of SSC_TCMR_CKS_MCK, SSC_TCMR_CKS_TK or SSC_TCMR_CKS_RK.
Referenced by run_ssc_test(), ssc_i2s_set_receiver(), ssc_i2s_set_transmitter(), ssc_set_receiver(), and ssc_set_transmitter().
uint32_t clock_opt_t::ul_period |
Period divider selection, should be 0 to 255.
Referenced by run_ssc_test(), ssc_i2s_set_receiver(), ssc_i2s_set_transmitter(), ssc_set_receiver(), and ssc_set_transmitter().
uint32_t clock_opt_t::ul_start_sel |
Communication start selection.
For receiver configuration, one of SSC_RCMR_START_CONTINUOUS, SSC_RCMR_START_TRANSMIT, SSC_RCMR_START_RF_LOW, SSC_RCMR_START_RF_HIGH, SSC_RCMR_START_RF_FALLING, SSC_RCMR_START_RF_RISING, SSC_RCMR_START_RF_LEVEL, SSC_RCMR_START_RF_EDGE or SSC_RCMR_START_CMP_0. For transmitter configuration, one of SSC_TCMR_START_CONTINUOUS, SSC_TCMR_START_TRANSMIT, SSC_TCMR_START_RF_LOW, SSC_TCMR_START_RF_HIGH, SSC_TCMR_START_RF_FALLING, SSC_TCMR_START_RF_RISING, SSC_TCMR_START_RF_LEVEL, SSC_TCMR_START_RF_EDGE or SSC_TCMR_START_CMP_0.
Referenced by run_ssc_test(), ssc_i2s_set_receiver(), ssc_i2s_set_transmitter(), ssc_set_receiver(), and ssc_set_transmitter().
uint32_t clock_opt_t::ul_sttdly |
Communication start delay, should be 0 to 255.
Referenced by run_ssc_test(), ssc_i2s_set_receiver(), ssc_i2s_set_transmitter(), ssc_set_receiver(), and ssc_set_transmitter().