Intel® Quark™ Microcontroller Software Interface
1.4.0
Intel® Quark™ Microcontroller BSP
|
I2S Clock Configuration. More...
#include <qm_i2s.h>
Data Fields | |
qm_i2s_clk_src_t | i2s_clock_sel |
Select Internal NCO or external reference clock for I2S block. | |
uint32_t | i2s_clk_freq |
Used by the driver when configuring I2S reference clock from the NCO. | |
bool | i2s_mclk_output_en |
Enable MCLK output. More... | |
uint32_t | i2s_mclk_divisor |
MCLK output is generated from the Internal NCO output, normally @24.576Mhz, using a divisor. More... | |
uint32_t | i2s_ext_clk_freq |
Informs the driver of frequency of external clock when it is enabled. | |
uint32_t qm_i2s_clock_cfg_data_t::i2s_mclk_divisor |
MCLK output is generated from the Internal NCO output, normally @24.576Mhz, using a divisor.
Valid divisor range is 0 to 4095. E.g. with a 48kHz data rate, and NCO = 24.576Mhz, then required MCLK = 256 * data rate = 12.288MHz MCLK divisor = 2 (24.576Mhz/2 = 12.288MHz)