|
STM32L4xx_HAL_Driver
1.14.0
|
Header file of RCC HAL module. More...
Go to the source code of this file.
Data Structures | |
| struct | RCC_OscInitTypeDef |
| RCC Internal/External Oscillator (HSE, HSI, MSI, LSE and LSI) configuration structure definition. More... | |
| struct | RCC_ClkInitTypeDef |
| RCC System, AHB and APB busses clock configuration structure definition. More... | |
Functions | |
| HAL_StatusTypeDef | HAL_RCC_DeInit (void) |
| Reset the RCC clock configuration to the default reset state. More... | |
| HAL_StatusTypeDef | HAL_RCC_OscConfig (RCC_OscInitTypeDef *RCC_OscInitStruct) |
| Initialize the RCC Oscillators according to the specified parameters in the RCC_OscInitTypeDef. More... | |
| HAL_StatusTypeDef | HAL_RCC_ClockConfig (RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t FLatency) |
| Initialize the CPU, AHB and APB busses clocks according to the specified parameters in the RCC_ClkInitStruct. More... | |
| void | HAL_RCC_MCOConfig (uint32_t RCC_MCOx, uint32_t RCC_MCOSource, uint32_t RCC_MCODiv) |
| Select the clock source to output on MCO pin(PA8). More... | |
| void | HAL_RCC_EnableCSS (void) |
| Enable the Clock Security System. More... | |
| uint32_t | HAL_RCC_GetSysClockFreq (void) |
| Return the SYSCLK frequency. More... | |
| uint32_t | HAL_RCC_GetHCLKFreq (void) |
| Return the HCLK frequency. More... | |
| uint32_t | HAL_RCC_GetPCLK1Freq (void) |
| Return the PCLK1 frequency. More... | |
| uint32_t | HAL_RCC_GetPCLK2Freq (void) |
| Return the PCLK2 frequency. More... | |
| void | HAL_RCC_GetOscConfig (RCC_OscInitTypeDef *RCC_OscInitStruct) |
| Configure the RCC_OscInitStruct according to the internal RCC configuration registers. More... | |
| void | HAL_RCC_GetClockConfig (RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t *pFLatency) |
| Configure the RCC_ClkInitStruct according to the internal RCC configuration registers. More... | |
| void | HAL_RCC_NMI_IRQHandler (void) |
| Handle the RCC Clock Security System interrupt request. More... | |
| void | HAL_RCC_CSSCallback (void) |
| RCC Clock Security System interrupt callback. More... | |
Variables | |
| C | |
Header file of RCC HAL module.
This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause
Definition in file stm32l4xx_hal_rcc.h.
| struct RCC_OscInitTypeDef |
RCC Internal/External Oscillator (HSE, HSI, MSI, LSE and LSI) configuration structure definition.
Definition at line 80 of file stm32l4xx_hal_rcc.h.
| Data Fields | ||
|---|---|---|
| uint32_t | HSEState |
The new state of the HSE. This parameter can be a value of HSE Config |
| uint32_t | HSI48State |
The new state of the HSI48 (only applicable to STM32L43x/STM32L44x/STM32L49x/STM32L4Ax devices). This parameter can be a value of HSI48 Config |
| uint32_t | HSICalibrationValue |
The calibration trimming value (default is RCC_HSICALIBRATION_DEFAULT). This parameter must be a number between Min_Data = 0x00 and Max_Data = 0x1F on STM32L43x/STM32L44x/STM32L47x/STM32L48x devices. This parameter must be a number between Min_Data = 0x00 and Max_Data = 0x7F on the other devices |
| uint32_t | HSIState |
The new state of the HSI. This parameter can be a value of HSI Config |
| uint32_t | LSEState |
The new state of the LSE. This parameter can be a value of LSE Config |
| uint32_t | LSIDiv |
The division factor of the LSI. This parameter can be a value of LSI Div |
| uint32_t | LSIState |
The new state of the LSI. This parameter can be a value of LSI Config |
| uint32_t | MSICalibrationValue |
The calibration trimming value (default is RCC_MSICALIBRATION_DEFAULT). This parameter must be a number between Min_Data = 0x00 and Max_Data = 0xFF |
| uint32_t | MSIClockRange |
The MSI frequency range. This parameter can be a value of MSI Clock Range |
| uint32_t | MSIState |
The new state of the MSI. This parameter can be a value of MSI Config |
| uint32_t | OscillatorType |
The oscillators to be configured. This parameter can be a value of Oscillator Type |
| RCC_PLLInitTypeDef | PLL |
Main PLL structure parameters |
| struct RCC_ClkInitTypeDef |
RCC System, AHB and APB busses clock configuration structure definition.
Definition at line 125 of file stm32l4xx_hal_rcc.h.
| Data Fields | ||
|---|---|---|
| uint32_t | AHBCLKDivider |
The AHB clock (HCLK) divider. This clock is derived from the system clock (SYSCLK). This parameter can be a value of AHB Clock Source |
| uint32_t | APB1CLKDivider |
The APB1 clock (PCLK1) divider. This clock is derived from the AHB clock (HCLK). This parameter can be a value of APB1 APB2 Clock Source |
| uint32_t | APB2CLKDivider |
The APB2 clock (PCLK2) divider. This clock is derived from the AHB clock (HCLK). This parameter can be a value of APB1 APB2 Clock Source |
| uint32_t | ClockType |
The clock to be configured. This parameter can be a value of System Clock Type |
| uint32_t | SYSCLKSource |
The clock source used as system clock (SYSCLK). This parameter can be a value of System Clock Source |
| C |