components/driver/i2s.c
static void i2s_rx_stop(i2s_port_t i2s_num)
{
    i2s_hal_stop_rx(&(p_i2s[i2s_num]->hal));
#if SOC_GDMA_SUPPORTED
    gdma_stop(p_i2s[i2s_num]->rx_dma_chan);
#else
    i2s_hal_stop_rx_link(&(p_i2s[i2s_num]->hal));
    i2s_hal_disable_rx_intr(&(p_i2s[i2s_num]->hal));
    i2s_hal_disable_rx_dma(&(p_i2s[i2s_num]->hal));
#endif
}
/**
 * @brief   I2S rx stop
 *
 * @param   i2s_num     I2S device number
 */
@brief   I2S rx stop
@param   i2s_num     I2S device number
@brief I2S rx stop @param i2s_num I2S device number
static void i2s_rx_stop(i2s_port_t i2s_num)
{
    i2s_hal_stop_rx(&(p_i2s[i2s_num]->hal));
#if SOC_GDMA_SUPPORTED
    gdma_stop(p_i2s[i2s_num]->rx_dma_chan);
#else
    i2s_hal_stop_rx_link(&(p_i2s[i2s_num]->hal));
    i2s_hal_disable_rx_intr(&(p_i2s[i2s_num]->hal));
    i2s_hal_disable_rx_dma(&(p_i2s[i2s_num]->hal));
#endif
}
static void i2s_rx_stop ( i2s_port_t i2s_num ) { i2s_hal_stop_rx ( & ( p_i2s [ i2s_num ] -> hal ) ) ; #if SOC_GDMA_SUPPORTED gdma_stop ( p_i2s [ i2s_num ] -> rx_dma_chan ) ; #else i2s_hal_stop_rx_link ( & ( p_i2s [ i2s_num ] -> hal ) ) ; i2s_hal_disable_rx_intr ( & ( p_i2s [ i2s_num ] -> hal ) ) ; i2s_hal_disable_rx_dma ( & ( p_i2s [ i2s_num ] -> hal ) ) ; #endif }
@brief   I2S rx stop
 @param   i2s_num     I2S device number
@brief I2S rx stop @param i2s_num I2S device number