Prusa MINI Firmware overview
|
Go to the source code of this file.
◆ STM32_CORE_VERSION_MAJOR
#define STM32_CORE_VERSION_MAJOR (0x01U) |
STM32 core version number.
[31:24] major version
◆ STM32_CORE_VERSION_MINOR
#define STM32_CORE_VERSION_MINOR (0x05U) |
◆ STM32_CORE_VERSION_PATCH
#define STM32_CORE_VERSION_PATCH (0x01U) |
◆ STM32_CORE_VERSION_EXTRA
#define STM32_CORE_VERSION_EXTRA (0xF0U) |
◆ STM32_CORE_VERSION
#define STM32_CORE_VERSION |
◆ F_CPU
◆ USE_HAL_DRIVER
◆ CAN1
◆ SystemClock_Config()
System Clock Configuration.
Libc porting layers
- Return values
-
- Parameters
-
- Return values
-
Configure the main internal regulator output voltage
Initializes the CPU, AHB and APB busses clocks
Initializes the CPU, AHB and APB busses clocks
Configure the main internal regulator output voltage
Initializes the CPU, AHB and APB busses clocks
Initializes the CPU, AHB and APB busses clocks
Configure the Systick interrupt time
Configure the Systick
Configure the main internal regulator output voltage
Initializes the CPU, AHB and APB busses clocks
Initializes the CPU, AHB and APB busses clocks
Configure the Systick interrupt time
Configure the Systick
Configure the main internal regulator output voltage
Initializes the CPU, AHB and APB busses clocks
Initializes the CPU, AHB and APB busses clocks
310 RCC_OscInitStruct.
PLL.
PLLM = 6;
311 RCC_OscInitStruct.
PLL.
PLLN = 168;
313 RCC_OscInitStruct.
PLL.
PLLQ = 7;
#define RCC_PLLP_DIV2
Definition: stm32f4xx_hal_rcc.h:186
Definition: stm32f4xx_hal_def.h:57
#define RCC_HCLK_DIV2
Definition: stm32f4xx_hal_rcc.h:260
uint32_t PLLP
Definition: stm32f4xx_hal_rcc_ex.h:78
RCC System, AHB and APB busses clock configuration structure definition.
Definition: stm32f4xx_hal_rcc.h:93
HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct)
uint32_t SYSCLKSource
Definition: stm32f4xx_hal_rcc.h:98
#define RCC_HSE_ON
Definition: stm32f4xx_hal_rcc.h:137
#define RCC_CLOCKTYPE_PCLK2
Definition: stm32f4xx_hal_rcc.h:209
#define RCC_CLOCKTYPE_PCLK1
Definition: stm32f4xx_hal_rcc.h:208
uint32_t PLLQ
Definition: stm32f4xx_hal_rcc_ex.h:81
#define STM32_CORE_VERSION_MINOR
Definition: stm32_def.h:8
#define RCC_LSI_ON
Definition: stm32f4xx_hal_rcc.h:168
uint32_t PLLSource
Definition: stm32f4xx_hal_rcc_ex.h:68
#define RCC_OSCILLATORTYPE_LSI
Definition: stm32f4xx_hal_rcc.h:128
uint32_t OscillatorType
Definition: stm32f4xx_hal_rcc.h:69
uint32_t PLLM
Definition: stm32f4xx_hal_rcc_ex.h:71
uint32_t HSEState
Definition: stm32f4xx_hal_rcc.h:72
#define STM32_CORE_VERSION_PATCH
Definition: stm32_def.h:9
#define __HAL_PWR_VOLTAGESCALING_CONFIG(__REGULATOR__)
macros configure the main internal regulator output voltage.
Definition: stm32f4xx_hal_pwr_ex.h:153
#define RCC_PLLSOURCE_HSE
Definition: stm32f4xx_hal_rcc.h:198
#define RCC_PLL_ON
Definition: stm32f4xx_hal_rcc.h:178
#define RCC_HCLK_DIV4
Definition: stm32f4xx_hal_rcc.h:261
#define STM32_CORE_VERSION_EXTRA
Definition: stm32_def.h:16
RCC_PLLInitTypeDef PLL
Definition: stm32f4xx_hal_rcc.h:87
#define RCC_CLOCKTYPE_SYSCLK
Definition: stm32f4xx_hal_rcc.h:206
uint32_t PLLState
Definition: stm32f4xx_hal_rcc_ex.h:65
uint32_t APB1CLKDivider
Definition: stm32f4xx_hal_rcc.h:104
#define STM32_CORE_VERSION_MAJOR
STM32 core version number.
Definition: stm32_def.h:7
#define RCC_CLOCKTYPE_HCLK
Definition: stm32f4xx_hal_rcc.h:207
uint32_t AHBCLKDivider
Definition: stm32f4xx_hal_rcc.h:101
#define RCC_OSCILLATORTYPE_HSE
Definition: stm32f4xx_hal_rcc.h:125
#define RCC_SYSCLK_DIV1
Definition: stm32f4xx_hal_rcc.h:243
uint32_t LSIState
Definition: stm32f4xx_hal_rcc.h:84
uint32_t ClockType
Definition: stm32f4xx_hal_rcc.h:95
#define __HAL_RCC_PWR_CLK_ENABLE()
Definition: stm32f4xx_hal_rcc.h:528
#define RCC_SYSCLKSOURCE_PLLCLK
Definition: stm32f4xx_hal_rcc.h:221
HAL_StatusTypeDef HAL_RCC_ClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t FLatency)
uint32_t APB2CLKDivider
Definition: stm32f4xx_hal_rcc.h:107
RCC Internal/External Oscillator (HSE, HSI, LSE and LSI) configuration structure definition.
Definition: stm32f4xx_hal_rcc.h:67
#define PWR_REGULATOR_VOLTAGE_SCALE1
Definition: stm32f4xx_hal_pwr_ex.h:90
uint32_t PLLN
Definition: stm32f4xx_hal_rcc_ex.h:74
void Error_Handler(void)
This function is executed in case of error occurrence.
Definition: main.c:1057