mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-30 20:51:41 +00:00 
			
		
		
		
	Merge branch 'feature/esp32h21_i2c_support' into 'master'
Feature/esp32h21 i2c support Closes IDF-11578 and IDF-11580 See merge request espressif/esp-idf!37227
This commit is contained in:
		| @@ -1,5 +1,5 @@ | ||||
| /* | ||||
|  * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD | ||||
|  * SPDX-FileCopyrightText: 2024-2025 Espressif Systems (Shanghai) CO LTD | ||||
|  * | ||||
|  * SPDX-License-Identifier: Apache-2.0 | ||||
|  */ | ||||
| @@ -276,6 +276,16 @@ static inline __attribute__((always_inline)) bool clk_ll_rc32k_digi_is_enabled(v | ||||
|     return LP_CLKRST.clk_to_hp.clkrst_icg_hp_osc32k; | ||||
| } | ||||
|  | ||||
| /** | ||||
|  * @brief Get XTAL_CLK frequency | ||||
|  * | ||||
|  * @return Main XTAL clock frequency, in MHz. | ||||
|  */ | ||||
| static inline __attribute__((always_inline)) uint32_t clk_ll_xtal_get_freq_mhz(void) | ||||
| { | ||||
|     return PCR.sysclk_conf.clk_xtal_freq; | ||||
| } | ||||
|  | ||||
| /** | ||||
|  * @brief Get PLL_CLK frequency | ||||
|  * | ||||
|   | ||||
							
								
								
									
										1201
									
								
								components/hal/esp32h21/include/hal/i2c_ll.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1201
									
								
								components/hal/esp32h21/include/hal/i2c_ll.h
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Reference in New Issue
	
	Block a user
	 Gao Xu
					Gao Xu