feat(clk): Addded support for LP ADC clock source for esp32p4

This commit adds support for the LP ADC clock source on the esp32p4.
This commit is contained in:
Sudeep Mohanty 2024-08-27 10:55:51 +02:00
parent 72266fd7ce
commit f972cd4bbd

View File

@ -635,6 +635,20 @@ typedef enum {
ADC_RTC_CLK_SRC_DEFAULT = SOC_MOD_CLK_RC_FAST, /*!< Select RC_FAST as the default clock choice */
} soc_periph_adc_rtc_clk_src_t;
///////////////////////////////////////////////LP_ADC///////////////////////////////////////////////////////////////////
/**
* @brief Array initializer for all supported clock sources of LP_ADC
*/
#define SOC_LP_ADC_CLKS {SOC_MOD_CLK_LP_DYN_FAST}
/**
* @brief LP ADC controller clock source
*/
typedef enum {
LP_ADC_CLK_SRC_LP_DYN_FAST = SOC_MOD_CLK_LP_DYN_FAST, /*!< Select LP_DYN_FAST as the source clock */
} soc_periph_lp_adc_clk_src_t;
//////////////////////////////////////////////////MWDT/////////////////////////////////////////////////////////////////
/**