stm32/h7: Implemented support for enabling the RTC clock source and peripheral
This commit is contained in:
committed by
Piotr Esden-Tempski
parent
bf7929b723
commit
2a6059540d
@@ -843,6 +843,15 @@ uint32_t rcc_get_fdcan_clk_freq(uint32_t fdcan);
|
||||
*/
|
||||
void rcc_set_peripheral_clk_sel(uint32_t periph, uint32_t clksel);
|
||||
|
||||
/**
|
||||
* Set the clksel value for the RTC and bring it up
|
||||
*
|
||||
* NB: This function may only be called on real POR or after BDRST, it will
|
||||
* internally turn into a no-op if it detects the RTC clock source has already
|
||||
* been defined to protect from misconfiguration
|
||||
*/
|
||||
void rcc_rtc_clock_enable(uint32_t clksel);
|
||||
|
||||
/**
|
||||
* Set the clock select for the FDCAN devices.
|
||||
* @param[in] clksel Clock source to configure for, @ref rcc_d2ccip1r_values
|
||||
|
||||
Reference in New Issue
Block a user