Kaynağa Gözat

[HAL][PWR] Add a note to the HAL_PWREx_ConfigSupply() API documentation to clarify that this API comes obsolete after deploying "how to exit from Run* recommended sequence.

Rania JMAI 1 yıl önce
ebeveyn
işleme
b5fe554b9c
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. 4 0
      Src/stm32h7xx_hal_pwr_ex.c

+ 4 - 0
Src/stm32h7xx_hal_pwr_ex.c

@@ -308,6 +308,10 @@
   *         PWR_SMPS_2V5_SUPPLIES_EXT_AND_LDO, PWR_SMPS_1V8_SUPPLIES_EXT and
   *         PWR_SMPS_2V5_SUPPLIES_EXT are used only for lines that supports SMPS
   *         regulator.
+  * @note   This API is deprecated and is kept only for backward compatibility's sake.
+  *         The power supply configuration is handled as part of the system initialization
+  *         process during startup.
+  *         For more details, please refer to the power control chapter in the reference manual
   * @retval HAL status.
   */
 HAL_StatusTypeDef HAL_PWREx_ConfigSupply (uint32_t SupplySource)