Prusa MINI Firmware overview
|
Macros | |
#define | __HAL_RCC_PLL_CONFIG(__RCC_PLLSource__, __PLLM__, __PLLN__, __PLLP__, __PLLQ__) |
Macro to configure the main PLL clock source, multiplication and division factors. More... | |
#define | __HAL_RCC_PLLI2S_CONFIG(__PLLI2SN__, __PLLI2SR__) |
Macro to configure the PLLI2S clock multiplication and division factors . More... | |
#define __HAL_RCC_PLL_CONFIG | ( | __RCC_PLLSource__, | |
__PLLM__, | |||
__PLLN__, | |||
__PLLP__, | |||
__PLLQ__ | |||
) |
Macro to configure the main PLL clock source, multiplication and division factors.
<strong>RCC_PLLSource</strong> | specifies the PLL entry clock source. This parameter can be one of the following values:
|
<strong>PLLM</strong> | specifies the division factor for PLL VCO input clock This parameter must be a number between Min_Data = 2 and Max_Data = 63. |
<strong>PLLN</strong> | specifies the multiplication factor for PLL VCO output clock This parameter must be a number between Min_Data = 50 and Max_Data = 432 Except for STM32F411xE devices where Min_Data = 192. |
<strong>PLLP</strong> | specifies the division factor for main system clock (SYSCLK) This parameter must be a number in the range {2, 4, 6, or 8}. |
<strong>PLLQ</strong> | specifies the division factor for OTG FS, SDIO and RNG clocks This parameter must be a number between Min_Data = 2 and Max_Data = 15. |
#define __HAL_RCC_PLLI2S_CONFIG | ( | __PLLI2SN__, | |
__PLLI2SR__ | |||
) |
Macro to configure the PLLI2S clock multiplication and division factors .
<strong>PLLI2SN</strong> | specifies the multiplication factor for PLLI2S VCO output clock This parameter must be a number between Min_Data = 50 and Max_Data = 432. |
<strong>PLLI2SR</strong> | specifies the division factor for I2S clock This parameter must be a number between Min_Data = 2 and Max_Data = 7. |