STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Macros

Macros

#define __HAL_RCC_HSI_ENABLE()   (RCC->CR |= (RCC_CR_HSION))
 Macros to enable or disable the Internal High Speed oscillator (HSI). More...
 
#define __HAL_RCC_HSI_DISABLE()   (RCC->CR &= ~(RCC_CR_HSION))
 
#define __HAL_RCC_HSI_CALIBRATIONVALUE_ADJUST(__HSICALIBRATIONVALUE__)
 Macro to adjust the Internal High Speed oscillator (HSI) calibration value. More...
 

Detailed Description

Macro Definition Documentation

#define __HAL_RCC_HSI_CALIBRATIONVALUE_ADJUST (   __HSICALIBRATIONVALUE__)
Value:
RCC_CR_HSITRIM, (uint32_t)(__HSICALIBRATIONVALUE__) << POSITION_VAL(RCC_CR_HSITRIM)))
#define MODIFY_REG(REG, CLEARMASK, SETMASK)
Definition: stm32f7xx.h:190
#define RCC
Definition: stm32f745xx.h:1325
#define POSITION_VAL(VAL)
Definition: stm32f7xx.h:192
#define RCC_CR_HSITRIM
Definition: stm32f745xx.h:5179

Macro to adjust the Internal High Speed oscillator (HSI) calibration value.

Note
The calibration is used to compensate for the variations in voltage and temperature that influence the frequency of the internal HSI RC.
Parameters
<strong>HSICALIBRATIONVALUE</strong>specifies the calibration trimming value. (default is RCC_HSICALIBRATION_DEFAULT).

Definition at line 700 of file stm32f7xx_hal_rcc.h.

#define __HAL_RCC_HSI_DISABLE ( )    (RCC->CR &= ~(RCC_CR_HSION))

Definition at line 692 of file stm32f7xx_hal_rcc.h.

#define __HAL_RCC_HSI_ENABLE ( )    (RCC->CR |= (RCC_CR_HSION))

Macros to enable or disable the Internal High Speed oscillator (HSI).

Note
The HSI is stopped by hardware when entering STOP and STANDBY modes. It is used (enabled by hardware) as system clock source after startup from Reset, wakeup from STOP and STANDBY mode, or in case of failure of the HSE used directly or indirectly as system clock (if the Clock Security System CSS is enabled).
HSI can not be stopped if it is used as system clock source. In this case, you have to select another source of the system clock then stop the HSI.
After enabling the HSI, the application software should wait on HSIRDY flag to be set indicating that HSI clock is stable and can be used as system clock source.
When the HSI is stopped, HSIRDY flag goes low after 6 HSI oscillator clock cycles.

Definition at line 691 of file stm32f7xx_hal_rcc.h.