@@ -538,19 +538,24 @@ typedef enum {
538538} soc_periph_flash_clk_src_t ;
539539
540540//////////////////////////////////////////////CLOCK OUTPUT///////////////////////////////////////////////////////////
541- typedef enum { // TODO
542- CLKOUT_SIG_PLL = 1 , /*!< PLL_CLK is the output of crystal oscillator frequency multiplier */
543- CLKOUT_SIG_XTAL = 5 , /*!< Main crystal oscillator clock */
544- CLKOUT_SIG_PLL_F80M = 13 , /*!< From PLL, usually be 80MHz */
545- CLKOUT_SIG_CPU = 16 , /*!< CPU clock */
546- CLKOUT_SIG_AHB = 17 , /*!< AHB clock */
547- CLKOUT_SIG_APB = 18 , /*!< APB clock */
548- CLKOUT_SIG_XTAL32K = 21 , /*!< External 32kHz crystal clock */
549- CLKOUT_SIG_EXT32K = 22 , /*!< External slow clock input through XTAL_32K_P */
550- CLKOUT_SIG_RC_FAST = 23 , /*!< RC fast clock, about 17.5MHz */
551- CLKOUT_SIG_RC_32K = 24 , /*!< Internal slow RC oscillator */
552- CLKOUT_SIG_RC_SLOW = 25 , /*!< RC slow clock, depends on the RTC_CLK_SRC configuration */
553- CLKOUT_SIG_INVALID = 0xFF ,
541+ typedef enum {
542+ CLKOUT_SIG_INVALID = 0 ,
543+ CLKOUT_SIG_PLL_F160M = 1 , /*!< Divided from PLL_F480M */
544+ CLKOUT_SIG_PLL_F22M = 2 , /*!< Divided from PLL_F160M */
545+ CLKOUT_SIG_PLL_F40M = 3 , /*!< Divided from PLL_F160M */
546+ CLKOUT_SIG_XTAL = 5 , /*!< Main crystal oscillator clock */
547+ CLKOUT_SIG_PLL_F44M = 0xA , /*!< Divided from PLL_F160M */
548+ CLKOUT_SIG_PLL_F480M = 0xB , /*!< From PLL, usually be 480MHz */
549+ CLKOUT_SIG_PLL_F80M = 0xD , /*!< Divided from PLL_F160M */
550+ CLKOUT_SIG_I2S_APB = 0xF , /*!< APB clock for i2s */
551+ CLKOUT_SIG_CPU = 0x10 , /*!< CPU clock */
552+ CLKOUT_SIG_AHB = 0x11 , /*!< AHB clock */
553+ CLKOUT_SIG_APB = 0x12 , /*!< APB clock */
554+ CLKOUT_SIG_XTAL32K = 0x15 , /*!< External 32kHz crystal clock */
555+ CLKOUT_SIG_EXT32K = 0x16 , /*!< External slow clock input through XTAL_32K_P */
556+ CLKOUT_SIG_RC_FAST = 0x17 , /*!< RC fast clock, about 17.5MHz */
557+ CLKOUT_SIG_RC_32K = 0x18 , /*!< Internal slow RC oscillator */
558+ CLKOUT_SIG_RC_SLOW = 0x19 , /*!< RC slow clock, depends on the RTC_CLK_SRC configuration */
554559} soc_clkout_sig_id_t ;
555560
556561#ifdef __cplusplus
0 commit comments