FreeRTOS port on GAP8/RISC-V
|
Functions | |
static void | i2s_udma_channel_set (uint32_t device_id, udma_channel_e channel, uint32_t l2buf, uint32_t size, uint32_t cfg) |
static void | i2s_udma_clear (uint32_t device_id, udma_channel_e channel) |
static void | i2s_ext_clk_set (uint32_t device_id, uint32_t ext_clk) |
static uint32_t | i2s_ext_clk_get (uint32_t device_id) |
static void | i2s_cfg_clkgen0_set (uint32_t device_id, uint32_t cfg_clkgen0) |
static uint32_t | i2s_cfg_clkgen0_get (uint32_t device_id) |
static void | i2s_cfg_clkgen1_set (uint32_t device_id, uint32_t cfg_clkgen1) |
static uint32_t | i2s_cfg_clkgen1_get (uint32_t device_id) |
static void | i2s_chmode_set (uint32_t device_id, uint32_t chmode) |
static uint32_t | i2s_chmode_get (uint32_t device_id) |
static void | i2s_filt_ch0_set (uint32_t device_id, uint32_t filt_ch0) |
static uint32_t | i2s_filt_ch0_get (uint32_t device_id) |
static void | i2s_filt_ch1_set (uint32_t device_id, uint32_t filt_ch1) |
static uint32_t | i2s_filt_ch1_get (uint32_t device_id) |
static void | hal_i2s_ext_clk_set (uint32_t device_id, uint16_t clk_len) |
static void | hal_i2s_cfg_clkgen0_word_len_set (uint32_t device_id, uint16_t word_len) |
static void | hal_i2s_cfg_clkgen0_clock_enable (uint32_t device_id, uint8_t enable) |
static void | hal_i2s_cfg_clkgen0_clk_div_set (uint32_t device_id, uint16_t clk_div) |
static void | hal_i2s_cfg_clkgen0_set (uint32_t device_id, uint16_t word_len, uint8_t enable, uint16_t clk_div) |
static void | hal_i2s_cfg_clkgen1_word_len_set (uint32_t device_id, uint16_t word_len) |
static void | hal_i2s_cfg_clkgen1_clock_enable (uint32_t device_id, uint8_t enable) |
static void | hal_i2s_cfg_clkgen1_clk_div_set (uint32_t device_id, uint16_t clk_div) |
static void | hal_i2s_cfg_clkgen1_set (uint32_t device_id, uint16_t word_len, uint8_t enable, uint16_t clk_div) |
static void | hal_i2s_chmode_ch0_lsb_set (uint32_t device_id, uint8_t lsb) |
static void | hal_i2s_chmode_ch0_pdm_filter_enable (uint32_t device_id, uint8_t enable) |
static void | hal_i2s_chmode_ch0_pdm_enable (uint32_t device_id, uint8_t enable) |
static void | hal_i2s_chmode_ch0_ddr_enable (uint32_t device_id, uint8_t enable) |
static void | hal_i2s_chmode_ch0_mode_set (uint32_t device_id, uint8_t mode) |
static void | hal_i2s_chmode_ch0_set (uint32_t device_id, uint8_t lsb, uint8_t pdm_filter_ena, uint8_t pdm_ena, uint8_t ddr_ena, uint8_t ch_mode) |
static void | hal_i2s_chmode_ch1_lsb_set (uint32_t device_id, uint8_t lsb) |
static void | hal_i2s_chmode_ch1_pdm_filter_enable (uint32_t device_id, uint8_t enable) |
static void | hal_i2s_chmode_ch1_pdm_enable (uint32_t device_id, uint8_t enable) |
static void | hal_i2s_chmode_ch1_ddr_enable (uint32_t device_id, uint8_t enable) |
static void | hal_i2s_chmode_ch1_mode_set (uint32_t device_id, uint8_t mode) |
static void | hal_i2s_chmode_ch1_set (uint32_t device_id, uint8_t lsb, uint8_t pdm_filter_ena, uint8_t pdm_ena, uint8_t ddr_ena, uint8_t ch_mode) |
static void | hal_i2s_filt_ch0_decimation_set (uint32_t device_id, uint16_t value) |
static void | hal_i2s_filt_ch0_shift_set (uint32_t device_id, uint8_t value) |
static void | hal_i2s_filt_ch0_set (uint32_t device_id, uint16_t decimation, uint8_t shift) |
static void | hal_i2s_filt_ch1_decimation_set (uint32_t device_id, uint16_t value) |
static void | hal_i2s_filt_ch1_shift_set (uint32_t device_id, uint8_t value) |
static void | hal_i2s_filt_ch1_set (uint32_t device_id, uint16_t decimation, uint8_t shift) |
static void | hal_i2s_enqueue (uint32_t device_id, udma_channel_e channel, uint32_t l2buf, uint32_t size, uint32_t cfg) |
static void | hal_i2s_clear (uint32_t device_id, udma_channel_e channel) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
References I2S_CFG_CLKGEN0_BITS_WORD, I2S_CFG_CLKGEN0_CLK_DIV, I2S_CFG_CLKGEN0_CLK_EN, and i2s_cfg_clkgen0_set().
Referenced by __pi_i2s_clock_disable(), and __pi_i2s_clock_enable().
|
inlinestatic |
CFG_CLKGEN0.
References I2S_CFG_CLKGEN0_BITS_WORD, I2S_CFG_CLKGEN0_BITS_WORD_MASK, i2s_cfg_clkgen0_get(), and i2s_cfg_clkgen0_set().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
References I2S_CFG_CLKGEN1_BITS_WORD, I2S_CFG_CLKGEN1_CLK_DIV, I2S_CFG_CLKGEN1_CLK_EN, and i2s_cfg_clkgen1_set().
Referenced by __pi_i2s_clock_disable(), and __pi_i2s_clock_enable().
|
inlinestatic |
CFG_CLKGEN1.
References I2S_CFG_CLKGEN1_BITS_WORD, I2S_CFG_CLKGEN1_BITS_WORD_MASK, i2s_cfg_clkgen1_get(), and i2s_cfg_clkgen1_set().
|
inlinestatic |
References I2S_CHMODE_CH0_USEDDR, I2S_CHMODE_CH0_USEDDR_MASK, i2s_chmode_get(), and i2s_chmode_set().
|
inlinestatic |
CHMODE.
References I2S_CHMODE_CH0_LSB_FIRST, I2S_CHMODE_CH0_LSB_FIRST_MASK, i2s_chmode_get(), and i2s_chmode_set().
|
inlinestatic |
References I2S_CHMODE_CH0_MODE, I2S_CHMODE_CH0_MODE_MASK, i2s_chmode_get(), and i2s_chmode_set().
|
inlinestatic |
References I2S_CHMODE_CH0_PDM_EN, I2S_CHMODE_CH0_PDM_EN_MASK, i2s_chmode_get(), and i2s_chmode_set().
|
inlinestatic |
|
inlinestatic |
References I2S_CHMODE_CH0_LSB_FIRST, I2S_CHMODE_CH0_LSB_FIRST_MASK, I2S_CHMODE_CH0_MODE, I2S_CHMODE_CH0_MODE_MASK, I2S_CHMODE_CH0_PDM_EN, I2S_CHMODE_CH0_PDM_EN_MASK, I2S_CHMODE_CH0_PDM_USEFILTER, I2S_CHMODE_CH0_PDM_USEFILTER_MASK, I2S_CHMODE_CH0_USEDDR, I2S_CHMODE_CH0_USEDDR_MASK, i2s_chmode_get(), and i2s_chmode_set().
Referenced by __pi_i2s_conf_apply().
|
inlinestatic |
References I2S_CHMODE_CH1_USEDDR, I2S_CHMODE_CH1_USEDDR_MASK, i2s_chmode_get(), and i2s_chmode_set().
|
inlinestatic |
References I2S_CHMODE_CH1_LSB_FIRST, I2S_CHMODE_CH1_LSB_FIRST_MASK, i2s_chmode_get(), and i2s_chmode_set().
|
inlinestatic |
References I2S_CHMODE_CH1_MODE, I2S_CHMODE_CH1_MODE_MASK, i2s_chmode_get(), and i2s_chmode_set().
|
inlinestatic |
References I2S_CHMODE_CH1_PDM_EN, I2S_CHMODE_CH1_PDM_EN_MASK, i2s_chmode_get(), and i2s_chmode_set().
|
inlinestatic |
|
inlinestatic |
References I2S_CHMODE_CH1_LSB_FIRST, I2S_CHMODE_CH1_LSB_FIRST_MASK, I2S_CHMODE_CH1_MODE, I2S_CHMODE_CH1_MODE_MASK, I2S_CHMODE_CH1_PDM_EN, I2S_CHMODE_CH1_PDM_EN_MASK, I2S_CHMODE_CH1_PDM_USEFILTER, I2S_CHMODE_CH1_PDM_USEFILTER_MASK, I2S_CHMODE_CH1_USEDDR, I2S_CHMODE_CH1_USEDDR_MASK, i2s_chmode_get(), and i2s_chmode_set().
Referenced by __pi_i2s_conf_apply().
|
inlinestatic |
References i2s_udma_clear().
Referenced by __pi_i2s_suspend().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
FILT_CH0.
References I2S_FILT_CH0_DECIMATION, I2S_FILT_CH0_DECIMATION_MASK, i2s_filt_ch0_get(), and i2s_filt_ch0_set().
|
inlinestatic |
References I2S_FILT_CH0_DECIMATION, i2s_filt_ch0_set(), and I2S_FILT_CH0_SHIFT.
Referenced by __pi_i2s_conf_apply().
|
inlinestatic |
References i2s_filt_ch0_get(), i2s_filt_ch0_set(), I2S_FILT_CH0_SHIFT, and I2S_FILT_CH0_SHIFT_MASK.
|
inlinestatic |
FILT_CH1.
References I2S_FILT_CH1_DECIMATION, I2S_FILT_CH1_DECIMATION_MASK, i2s_filt_ch1_get(), and i2s_filt_ch1_set().
|
inlinestatic |
References I2S_FILT_CH1_DECIMATION, i2s_filt_ch1_set(), and I2S_FILT_CH1_SHIFT.
Referenced by __pi_i2s_conf_apply().
|
inlinestatic |
References i2s_filt_ch1_get(), i2s_filt_ch1_set(), I2S_FILT_CH1_SHIFT, and I2S_FILT_CH1_SHIFT_MASK.
|
inlinestatic |
References hal_read32(), and i2s.
Referenced by hal_i2s_cfg_clkgen0_clk_div_set(), hal_i2s_cfg_clkgen0_clock_enable(), and hal_i2s_cfg_clkgen0_word_len_set().
|
inlinestatic |
References hal_write32(), and i2s.
Referenced by hal_i2s_cfg_clkgen0_clk_div_set(), hal_i2s_cfg_clkgen0_clock_enable(), hal_i2s_cfg_clkgen0_set(), and hal_i2s_cfg_clkgen0_word_len_set().
|
inlinestatic |
References hal_read32(), and i2s.
Referenced by hal_i2s_cfg_clkgen1_clk_div_set(), hal_i2s_cfg_clkgen1_clock_enable(), and hal_i2s_cfg_clkgen1_word_len_set().
|
inlinestatic |
References hal_write32(), and i2s.
Referenced by hal_i2s_cfg_clkgen1_clk_div_set(), hal_i2s_cfg_clkgen1_clock_enable(), hal_i2s_cfg_clkgen1_set(), and hal_i2s_cfg_clkgen1_word_len_set().
|
inlinestatic |
References hal_read32(), and i2s.
Referenced by hal_i2s_chmode_ch0_ddr_enable(), hal_i2s_chmode_ch0_lsb_set(), hal_i2s_chmode_ch0_mode_set(), hal_i2s_chmode_ch0_pdm_enable(), hal_i2s_chmode_ch0_pdm_filter_enable(), hal_i2s_chmode_ch0_set(), hal_i2s_chmode_ch1_ddr_enable(), hal_i2s_chmode_ch1_lsb_set(), hal_i2s_chmode_ch1_mode_set(), hal_i2s_chmode_ch1_pdm_enable(), hal_i2s_chmode_ch1_pdm_filter_enable(), and hal_i2s_chmode_ch1_set().
|
inlinestatic |
References hal_write32(), and i2s.
Referenced by hal_i2s_chmode_ch0_ddr_enable(), hal_i2s_chmode_ch0_lsb_set(), hal_i2s_chmode_ch0_mode_set(), hal_i2s_chmode_ch0_pdm_enable(), hal_i2s_chmode_ch0_pdm_filter_enable(), hal_i2s_chmode_ch0_set(), hal_i2s_chmode_ch1_ddr_enable(), hal_i2s_chmode_ch1_lsb_set(), hal_i2s_chmode_ch1_mode_set(), hal_i2s_chmode_ch1_pdm_enable(), hal_i2s_chmode_ch1_pdm_filter_enable(), and hal_i2s_chmode_ch1_set().
|
inlinestatic |
References hal_read32(), and i2s.
|
inlinestatic |
References hal_write32(), and i2s.
Referenced by hal_i2s_ext_clk_set().
|
inlinestatic |
References hal_read32(), and i2s.
Referenced by hal_i2s_filt_ch0_decimation_set(), and hal_i2s_filt_ch0_shift_set().
|
inlinestatic |
References hal_write32(), and i2s.
Referenced by hal_i2s_filt_ch0_decimation_set(), hal_i2s_filt_ch0_set(), and hal_i2s_filt_ch0_shift_set().
|
inlinestatic |
References hal_read32(), and i2s.
Referenced by hal_i2s_filt_ch1_decimation_set(), and hal_i2s_filt_ch1_shift_set().
|
inlinestatic |
References hal_write32(), and i2s.
Referenced by hal_i2s_filt_ch1_decimation_set(), hal_i2s_filt_ch1_set(), and hal_i2s_filt_ch1_shift_set().
|
inlinestatic |
References i2s, and udma_enqueue_channel().
Referenced by hal_i2s_enqueue().
|
inlinestatic |
References i2s, and udma_channel_clear().
Referenced by hal_i2s_clear().