FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
i2s_periph.h File Reference

Data Structures

struct  i2s_t
 
union  i2s_ext_clk_t
 
union  i2s_cfg_clkgen0_t
 
union  i2s_cfg_clkgen1_t
 
union  i2s_chmode_t
 
union  i2s_filt_ch0_t
 
union  i2s_filt_ch1_t
 

Macros

EXT_CLK
#define I2S_EXT_CLK_EXT_BITS_WORD_MASK
 
#define I2S_EXT_CLK_EXT_BITS_WORD_SHIFT
 
#define I2S_EXT_CLK_EXT_BITS_WORD(val)
 
CFG_CLKGEN0
#define I2S_CFG_CLKGEN0_BITS_WORD_MASK
 
#define I2S_CFG_CLKGEN0_BITS_WORD_SHIFT
 
#define I2S_CFG_CLKGEN0_BITS_WORD(val)
 
#define I2S_CFG_CLKGEN0_CLK_EN_MASK
 
#define I2S_CFG_CLKGEN0_CLK_EN_SHIFT
 
#define I2S_CFG_CLKGEN0_CLK_EN(val)
 
#define I2S_CFG_CLKGEN0_CLK_DIV_MASK
 
#define I2S_CFG_CLKGEN0_CLK_DIV_SHIFT
 
#define I2S_CFG_CLKGEN0_CLK_DIV(val)
 
CFG_CLKGEN1
#define I2S_CFG_CLKGEN1_BITS_WORD_MASK
 
#define I2S_CFG_CLKGEN1_BITS_WORD_SHIFT
 
#define I2S_CFG_CLKGEN1_BITS_WORD(val)
 
#define I2S_CFG_CLKGEN1_CLK_EN_MASK
 
#define I2S_CFG_CLKGEN1_CLK_EN_SHIFT
 
#define I2S_CFG_CLKGEN1_CLK_EN(val)
 
#define I2S_CFG_CLKGEN1_CLK_DIV_MASK
 
#define I2S_CFG_CLKGEN1_CLK_DIV_SHIFT
 
#define I2S_CFG_CLKGEN1_CLK_DIV(val)
 
CHMODE
#define I2S_CHMODE_CH0_SNAP_CAM_MASK
 
#define I2S_CHMODE_CH0_SNAP_CAM_SHIFT
 
#define I2S_CHMODE_CH0_SNAP_CAM(val)
 
#define I2S_CHMODE_CH0_LSB_FIRST_MASK
 
#define I2S_CHMODE_CH0_LSB_FIRST_SHIFT
 
#define I2S_CHMODE_CH0_LSB_FIRST(val)
 
#define I2S_CHMODE_CH0_PDM_USEFILTER_MASK
 
#define I2S_CHMODE_CH0_PDM_USEFILTER_SHIFT
 
#define I2S_CHMODE_CH0_PDM_USEFILTER(val)
 
#define I2S_CHMODE_CH0_PDM_EN_MASK
 
#define I2S_CHMODE_CH0_PDM_EN_SHIFT
 
#define I2S_CHMODE_CH0_PDM_EN(val)
 
#define I2S_CHMODE_CH0_USEDDR_MASK
 
#define I2S_CHMODE_CH0_USEDDR_SHIFT
 
#define I2S_CHMODE_CH0_USEDDR(val)
 
#define I2S_CHMODE_CH0_MODE_MASK
 
#define I2S_CHMODE_CH0_MODE_SHIFT
 
#define I2S_CHMODE_CH0_MODE(val)
 
#define I2S_CHMODE_CH1_SNAP_CAM_MASK
 
#define I2S_CHMODE_CH1_SNAP_CAM_SHIFT
 
#define I2S_CHMODE_CH1_SNAP_CAM(val)
 
#define I2S_CHMODE_CH1_LSB_FIRST_MASK
 
#define I2S_CHMODE_CH1_LSB_FIRST_SHIFT
 
#define I2S_CHMODE_CH1_LSB_FIRST(val)
 
#define I2S_CHMODE_CH1_PDM_USEFILTER_MASK
 
#define I2S_CHMODE_CH1_PDM_USEFILTER_SHIFT
 
#define I2S_CHMODE_CH1_PDM_USEFILTER(val)
 
#define I2S_CHMODE_CH1_PDM_EN_MASK
 
#define I2S_CHMODE_CH1_PDM_EN_SHIFT
 
#define I2S_CHMODE_CH1_PDM_EN(val)
 
#define I2S_CHMODE_CH1_USEDDR_MASK
 
#define I2S_CHMODE_CH1_USEDDR_SHIFT
 
#define I2S_CHMODE_CH1_USEDDR(val)
 
#define I2S_CHMODE_CH1_MODE_MASK
 
#define I2S_CHMODE_CH1_MODE_SHIFT
 
#define I2S_CHMODE_CH1_MODE(val)
 
FILT_CH0
#define I2S_FILT_CH0_DECIMATION_MASK
 
#define I2S_FILT_CH0_DECIMATION_SHIFT
 
#define I2S_FILT_CH0_DECIMATION(val)
 
#define I2S_FILT_CH0_SHIFT_MASK
 
#define I2S_FILT_CH0_SHIFT_SHIFT
 
#define I2S_FILT_CH0_SHIFT(val)
 
FILT_CH1
#define I2S_FILT_CH1_DECIMATION_MASK
 
#define I2S_FILT_CH1_DECIMATION_SHIFT
 
#define I2S_FILT_CH1_DECIMATION(val)
 
#define I2S_FILT_CH1_SHIFT_MASK
 
#define I2S_FILT_CH1_SHIFT_SHIFT
 
#define I2S_FILT_CH1_SHIFT(val)
 

Macro Definition Documentation

#define I2S_CFG_CLKGEN0_BITS_WORD (   val)
#define I2S_CFG_CLKGEN0_BITS_WORD_MASK
#define I2S_CFG_CLKGEN0_BITS_WORD_SHIFT
#define I2S_CFG_CLKGEN0_CLK_DIV (   val)
#define I2S_CFG_CLKGEN0_CLK_DIV_MASK
#define I2S_CFG_CLKGEN0_CLK_DIV_SHIFT
#define I2S_CFG_CLKGEN0_CLK_EN (   val)
#define I2S_CFG_CLKGEN0_CLK_EN_MASK
#define I2S_CFG_CLKGEN0_CLK_EN_SHIFT
#define I2S_CFG_CLKGEN1_BITS_WORD (   val)
#define I2S_CFG_CLKGEN1_BITS_WORD_MASK
#define I2S_CFG_CLKGEN1_BITS_WORD_SHIFT
#define I2S_CFG_CLKGEN1_CLK_DIV (   val)
#define I2S_CFG_CLKGEN1_CLK_DIV_MASK
#define I2S_CFG_CLKGEN1_CLK_DIV_SHIFT
#define I2S_CFG_CLKGEN1_CLK_EN (   val)
#define I2S_CFG_CLKGEN1_CLK_EN_MASK
#define I2S_CFG_CLKGEN1_CLK_EN_SHIFT
#define I2S_CHMODE_CH0_LSB_FIRST (   val)
#define I2S_CHMODE_CH0_LSB_FIRST_MASK
#define I2S_CHMODE_CH0_LSB_FIRST_SHIFT
#define I2S_CHMODE_CH0_MODE (   val)
#define I2S_CHMODE_CH0_MODE_MASK
#define I2S_CHMODE_CH0_MODE_SHIFT
#define I2S_CHMODE_CH0_PDM_EN (   val)
#define I2S_CHMODE_CH0_PDM_EN_MASK
#define I2S_CHMODE_CH0_PDM_EN_SHIFT
#define I2S_CHMODE_CH0_PDM_USEFILTER (   val)
#define I2S_CHMODE_CH0_PDM_USEFILTER_MASK
#define I2S_CHMODE_CH0_PDM_USEFILTER_SHIFT
#define I2S_CHMODE_CH0_SNAP_CAM (   val)
#define I2S_CHMODE_CH0_SNAP_CAM_MASK
#define I2S_CHMODE_CH0_SNAP_CAM_SHIFT
#define I2S_CHMODE_CH0_USEDDR (   val)
#define I2S_CHMODE_CH0_USEDDR_MASK
#define I2S_CHMODE_CH0_USEDDR_SHIFT
#define I2S_CHMODE_CH1_LSB_FIRST (   val)
#define I2S_CHMODE_CH1_LSB_FIRST_MASK
#define I2S_CHMODE_CH1_LSB_FIRST_SHIFT
#define I2S_CHMODE_CH1_MODE (   val)
#define I2S_CHMODE_CH1_MODE_MASK
#define I2S_CHMODE_CH1_MODE_SHIFT
#define I2S_CHMODE_CH1_PDM_EN (   val)
#define I2S_CHMODE_CH1_PDM_EN_MASK
#define I2S_CHMODE_CH1_PDM_EN_SHIFT
#define I2S_CHMODE_CH1_PDM_USEFILTER (   val)
#define I2S_CHMODE_CH1_PDM_USEFILTER_MASK
#define I2S_CHMODE_CH1_PDM_USEFILTER_SHIFT
#define I2S_CHMODE_CH1_SNAP_CAM (   val)
#define I2S_CHMODE_CH1_SNAP_CAM_MASK
#define I2S_CHMODE_CH1_SNAP_CAM_SHIFT
#define I2S_CHMODE_CH1_USEDDR (   val)
#define I2S_CHMODE_CH1_USEDDR_MASK
#define I2S_CHMODE_CH1_USEDDR_SHIFT
#define I2S_EXT_CLK_EXT_BITS_WORD (   val)
#define I2S_EXT_CLK_EXT_BITS_WORD_MASK
#define I2S_EXT_CLK_EXT_BITS_WORD_SHIFT
#define I2S_FILT_CH0_DECIMATION (   val)
#define I2S_FILT_CH0_DECIMATION_MASK
#define I2S_FILT_CH0_DECIMATION_SHIFT
#define I2S_FILT_CH0_SHIFT (   val)
#define I2S_FILT_CH0_SHIFT_MASK
#define I2S_FILT_CH0_SHIFT_SHIFT
#define I2S_FILT_CH1_DECIMATION (   val)
#define I2S_FILT_CH1_DECIMATION_MASK
#define I2S_FILT_CH1_DECIMATION_SHIFT
#define I2S_FILT_CH1_SHIFT (   val)
#define I2S_FILT_CH1_SHIFT_MASK
#define I2S_FILT_CH1_SHIFT_SHIFT