dfifo.h File Reference

Go to the source code of this file.

Functions

static void dfifo_enable_dfifo2 (void)
 This function performs to enable audio input of DFIFO2. More...
 
static void dfifo_disable_dfifo2 (void)
 This function performs to disable audio input of DFIFO2. More...
 
static void dfifo_set_dfifo0 (unsigned short *pbuff, unsigned int size_buff)
 This function performs to start w/r data into/from DFIFO0. More...
 
static void dfifo_set_dfifo1 (unsigned short *pbuff, unsigned int size_buff)
 This function performs to start w/r data into/from DFIFO1. More...
 
static void dfifo_set_dfifo2 (unsigned short *pbuff, unsigned int size_buff)
 This function performs to start w/r data into/from DFIFO2. More...
 
static void adc_config_misc_channel_buf (unsigned short *pbuff, unsigned int size_buff)
 This function performs to set MISC channel. More...
 
static void audio_config_mic_buf (unsigned short *pbuff, unsigned int size_buff)
 configure the mic buffer's address and size More...
 

Function Documentation

◆ dfifo_enable_dfifo2()

static void dfifo_enable_dfifo2 ( void  )
inlinestatic

This function performs to enable audio input of DFIFO2.

Parameters
[in]none.
Returns
none.

◆ dfifo_disable_dfifo2()

static void dfifo_disable_dfifo2 ( void  )
inlinestatic

This function performs to disable audio input of DFIFO2.

Parameters
[in]none.
Returns
none.

◆ dfifo_set_dfifo0()

static void dfifo_set_dfifo0 ( unsigned short *  pbuff,
unsigned int  size_buff 
)
inlinestatic

This function performs to start w/r data into/from DFIFO0.

Parameters
[in]pbuff- address in DFIFO0.
[in]size_buff- depth of DFIFO0.
Returns
none.

◆ dfifo_set_dfifo1()

static void dfifo_set_dfifo1 ( unsigned short *  pbuff,
unsigned int  size_buff 
)
inlinestatic

This function performs to start w/r data into/from DFIFO1.

Parameters
[in]pbuff- address in DFIFO1.
[in]size_buff- depth of DFIFO1.
Returns
none.

◆ dfifo_set_dfifo2()

static void dfifo_set_dfifo2 ( unsigned short *  pbuff,
unsigned int  size_buff 
)
inlinestatic

This function performs to start w/r data into/from DFIFO2.

Parameters
[in]pbuff- address in DFIFO2.
[in]size_buff- depth of DFIFO2.
Returns
none.

◆ adc_config_misc_channel_buf()

static void adc_config_misc_channel_buf ( unsigned short *  pbuff,
unsigned int  size_buff 
)
inlinestatic

This function performs to set MISC channel.

Parameters
[in]pbuff- address in FIFO2.
[in]size_buff- depth of FIFO2.
Returns
none.

◆ audio_config_mic_buf()

static void audio_config_mic_buf ( unsigned short *  pbuff,
unsigned int  size_buff 
)
inlinestatic

configure the mic buffer's address and size

Parameters
[in]pbuff- the first address of SRAM buffer to store MIC data.
[in]size_buff- the size of pbuff.
Returns
none