mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 06:11:06 +00:00 
			
		
		
		
	feat(i2s): supported getting the tx sync count and specify interrupt flags
This commit is contained in:
		@@ -44,8 +44,8 @@ extern "C" {
 | 
			
		||||
 */
 | 
			
		||||
static inline void i2s_ll_enable_clock(i2s_dev_t *hw)
 | 
			
		||||
{
 | 
			
		||||
    // The clock gate enabling is moved to `periph_module_enable`
 | 
			
		||||
    (void)hw;
 | 
			
		||||
    PCR.i2s_conf.i2s_clk_en = 1;
 | 
			
		||||
    PCR.i2s_conf.i2s_rst_en = 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
@@ -55,8 +55,8 @@ static inline void i2s_ll_enable_clock(i2s_dev_t *hw)
 | 
			
		||||
 */
 | 
			
		||||
static inline void i2s_ll_disable_clock(i2s_dev_t *hw)
 | 
			
		||||
{
 | 
			
		||||
    // The clock gate disabling is moved to `periph_module_disable`
 | 
			
		||||
    (void)hw;
 | 
			
		||||
    PCR.i2s_conf.i2s_clk_en = 0;
 | 
			
		||||
    PCR.i2s_conf.i2s_rst_en = 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user