MCPcopy Create free account
hub / github.com/DISTORTEC/distortos / configurePllClockSource

Function configurePllClockSource

source/chip/STM32/STM32F7/STM32F7-RCC.cpp:82–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82void configurePllClockSource(const bool hse)
83{
84 RCC->PLLCFGR = (RCC->PLLCFGR & ~RCC_PLLCFGR_PLLSRC) | hse << RCC_PLLCFGR_PLLSRC_Pos;
85}
86
87int configurePllInputClockDivider(const uint8_t pllm)
88{

Callers 1

chipLowLevelInitializerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected