|
STM32H735xx HAL User Manual
|
Defines | |
| #define | LL_RCC_CALC_SYSCLK_FREQ(__SYSINPUTCLKFREQ__, __SYSPRESCALER__) ((__SYSINPUTCLKFREQ__) >> ((LL_RCC_PrescTable[((__SYSPRESCALER__) & RCC_D1CFGR_D1CPRE) >> RCC_D1CFGR_D1CPRE_Pos]) & 0x1FU)) |
| Helper macro to calculate the SYSCLK frequency. | |
| #define | LL_RCC_CALC_HCLK_FREQ(__SYSCLKFREQ__, __HPRESCALER__) ((__SYSCLKFREQ__) >> ((LL_RCC_PrescTable[((__HPRESCALER__) & RCC_D1CFGR_HPRE) >> RCC_D1CFGR_HPRE_Pos]) & 0x1FU)) |
| Helper macro to calculate the HCLK frequency. | |
| #define | LL_RCC_CALC_PCLK1_FREQ(__HCLKFREQ__, __APB1PRESCALER__) ((__HCLKFREQ__) >> ((LL_RCC_PrescTable[((__APB1PRESCALER__) & RCC_D2CFGR_D2PPRE1) >> RCC_D2CFGR_D2PPRE1_Pos]) & 0x1FU)) |
| Helper macro to calculate the PCLK1 frequency (ABP1) | |
| #define | LL_RCC_CALC_PCLK2_FREQ(__HCLKFREQ__, __APB2PRESCALER__) ((__HCLKFREQ__) >> ((LL_RCC_PrescTable[((__APB2PRESCALER__) & RCC_D2CFGR_D2PPRE2) >> RCC_D2CFGR_D2PPRE2_Pos]) & 0x1FU)) |
| Helper macro to calculate the PCLK2 frequency (ABP2) | |
| #define | LL_RCC_CALC_PCLK3_FREQ(__HCLKFREQ__, __APB3PRESCALER__) ((__HCLKFREQ__) >> ((LL_RCC_PrescTable[((__APB3PRESCALER__) & RCC_D1CFGR_D1PPRE) >> RCC_D1CFGR_D1PPRE_Pos]) & 0x1FU)) |
| Helper macro to calculate the PCLK3 frequency (APB3) | |
| #define | LL_RCC_CALC_PCLK4_FREQ(__HCLKFREQ__, __APB4PRESCALER__) ((__HCLKFREQ__) >> ((LL_RCC_PrescTable[((__APB4PRESCALER__) & RCC_D3CFGR_D3PPRE) >> RCC_D3CFGR_D3PPRE_Pos]) & 0x1FU)) |
| Helper macro to calculate the PCLK4 frequency (ABP4) | |
| #define LL_RCC_CALC_HCLK_FREQ | ( | __SYSCLKFREQ__, | |
| __HPRESCALER__ | |||
| ) | ((__SYSCLKFREQ__) >> ((LL_RCC_PrescTable[((__HPRESCALER__) & RCC_D1CFGR_HPRE) >> RCC_D1CFGR_HPRE_Pos]) & 0x1FU)) |
Helper macro to calculate the HCLK frequency.
| __SYSCLKFREQ__ | SYSCLK frequency. |
| __HPRESCALER__ | This parameter can be one of the following values: |
| HCLK | clock frequency (in Hz) |
Definition at line 1511 of file stm32h7xx_ll_rcc.h.
Referenced by RCC_GetHCLKClockFreq(), and UTILS_EnablePLLAndSwitchSystem().
| #define LL_RCC_CALC_PCLK1_FREQ | ( | __HCLKFREQ__, | |
| __APB1PRESCALER__ | |||
| ) | ((__HCLKFREQ__) >> ((LL_RCC_PrescTable[((__APB1PRESCALER__) & RCC_D2CFGR_D2PPRE1) >> RCC_D2CFGR_D2PPRE1_Pos]) & 0x1FU)) |
Helper macro to calculate the PCLK1 frequency (ABP1)
| __HCLKFREQ__ | HCLK frequency |
| __APB1PRESCALER__ | This parameter can be one of the following values: |
| PCLK1 | clock frequency (in Hz) |
Definition at line 1528 of file stm32h7xx_ll_rcc.h.
Referenced by RCC_GetPCLK1ClockFreq().
| #define LL_RCC_CALC_PCLK2_FREQ | ( | __HCLKFREQ__, | |
| __APB2PRESCALER__ | |||
| ) | ((__HCLKFREQ__) >> ((LL_RCC_PrescTable[((__APB2PRESCALER__) & RCC_D2CFGR_D2PPRE2) >> RCC_D2CFGR_D2PPRE2_Pos]) & 0x1FU)) |
Helper macro to calculate the PCLK2 frequency (ABP2)
| __HCLKFREQ__ | HCLK frequency |
| __APB2PRESCALER__ | This parameter can be one of the following values: |
| PCLK2 | clock frequency (in Hz) |
Definition at line 1545 of file stm32h7xx_ll_rcc.h.
Referenced by RCC_GetPCLK2ClockFreq().
| #define LL_RCC_CALC_PCLK3_FREQ | ( | __HCLKFREQ__, | |
| __APB3PRESCALER__ | |||
| ) | ((__HCLKFREQ__) >> ((LL_RCC_PrescTable[((__APB3PRESCALER__) & RCC_D1CFGR_D1PPRE) >> RCC_D1CFGR_D1PPRE_Pos]) & 0x1FU)) |
Helper macro to calculate the PCLK3 frequency (APB3)
| __HCLKFREQ__ | HCLK frequency |
| __APB3PRESCALER__ | This parameter can be one of the following values: |
| PCLK1 | clock frequency (in Hz) |
Definition at line 1562 of file stm32h7xx_ll_rcc.h.
Referenced by RCC_GetPCLK3ClockFreq().
| #define LL_RCC_CALC_PCLK4_FREQ | ( | __HCLKFREQ__, | |
| __APB4PRESCALER__ | |||
| ) | ((__HCLKFREQ__) >> ((LL_RCC_PrescTable[((__APB4PRESCALER__) & RCC_D3CFGR_D3PPRE) >> RCC_D3CFGR_D3PPRE_Pos]) & 0x1FU)) |
Helper macro to calculate the PCLK4 frequency (ABP4)
| __HCLKFREQ__ | HCLK frequency |
| __APB4PRESCALER__ | This parameter can be one of the following values: |
| PCLK1 | clock frequency (in Hz) |
Definition at line 1579 of file stm32h7xx_ll_rcc.h.
Referenced by RCC_GetPCLK4ClockFreq().
| #define LL_RCC_CALC_SYSCLK_FREQ | ( | __SYSINPUTCLKFREQ__, | |
| __SYSPRESCALER__ | |||
| ) | ((__SYSINPUTCLKFREQ__) >> ((LL_RCC_PrescTable[((__SYSPRESCALER__) & RCC_D1CFGR_D1CPRE) >> RCC_D1CFGR_D1CPRE_Pos]) & 0x1FU)) |
Helper macro to calculate the SYSCLK frequency.
| __SYSINPUTCLKFREQ__ | Frequency of the input of sys_ck (based on HSE/CSI/HSI/PLL1P) |
| __SYSPRESCALER__ | This parameter can be one of the following values: |
| SYSCLK | clock frequency (in Hz) |
Definition at line 1490 of file stm32h7xx_ll_rcc.h.
Referenced by LL_RCC_GetDFSDMClockFreq(), LL_RCC_GetFMCClockFreq(), LL_RCC_GetI2CClockFreq(), LL_RCC_GetLPTIMClockFreq(), LL_RCC_GetLPUARTClockFreq(), LL_RCC_GetOSPIClockFreq(), LL_RCC_GetSPIClockFreq(), LL_RCC_GetSWPClockFreq(), and LL_RCC_GetUSARTClockFreq().
1.7.6.1