Ignore:
Timestamp:
Jan 10, 2025, 4:18:37 PM (6 days ago)
Author:
Zed
Message:

HAL library was updated.
SD DETECT pin is working.

Location:
ctrl/firmware/Main/CubeMX/Drivers/STM32H7xx_HAL_Driver/Src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ctrl/firmware/Main/CubeMX/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal.c

    r11 r59  
    5252#define __STM32H7xx_HAL_VERSION_MAIN   (0x01UL) /*!< [31:24] main version */
    5353#define __STM32H7xx_HAL_VERSION_SUB1   (0x0BUL) /*!< [23:16] sub1 version */
    54 #define __STM32H7xx_HAL_VERSION_SUB2   (0x04UL) /*!< [15:8]  sub2 version */
     54#define __STM32H7xx_HAL_VERSION_SUB2   (0x05UL) /*!< [15:8]  sub2 version */
    5555#define __STM32H7xx_HAL_VERSION_RC     (0x00UL) /*!< [7:0]  release candidate */
    5656#define __STM32H7xx_HAL_VERSION         ((__STM32H7xx_HAL_VERSION_MAIN << 24)\
  • ctrl/firmware/Main/CubeMX/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pwr_ex.c

    r11 r59  
    309309  *         PWR_SMPS_2V5_SUPPLIES_EXT are used only for lines that supports SMPS
    310310  *         regulator.
     311  * @note   This API is deprecated and is kept only for backward compatibility's sake.
     312  *         The power supply configuration is handled as part of the system initialization
     313  *         process during startup.
     314  *         For more details, please refer to the power control chapter in the reference manual
    311315  * @retval HAL status.
    312316  */
  • ctrl/firmware/Main/CubeMX/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rtc.c

    r43 r59  
    113113    (+) WakeUpTimerEventCallback     : RTC WakeUpTimer Event callback.
    114114    (+) Tamper1EventCallback         : RTC Tamper 1 Event callback.
    115     (+) Tamper2EventCallback         : RTC Tamper 2 Event callback.
     115    (+) Tamper2EventCallback         : RTC Tamper 2 Event callback. (*)
    116116    (+) Tamper3EventCallback         : RTC Tamper 3 Event callback.
     117    (+) InternalTamper1EventCallback : RTC Internal Tamper 1 Callback ID (*)
     118    (+) InternalTamper2EventCallback : RTC Internal Tamper 2 Callback ID (*)
     119    (+) InternalTamper3EventCallback : RTC Internal Tamper 3 Callback ID (*)
     120    (+) InternalTamper4EventCallback : RTC Internal Tamper 4 Callback ID (*)
     121    (+) InternalTamper5EventCallback : RTC Internal Tamper 5 Callback ID (*)
     122    (+) InternalTamper6EventCallback : RTC Internal Tamper 6 Callback ID (*)
     123    (+) InternalTamper8EventCallback : RTC Internal Tamper 8 Callback ID (*)
    117124    (+) MspInitCallback              : RTC MspInit callback.
    118125    (+) MspDeInitCallback            : RTC MspDeInit callback.
     126
     127  (*) Not applicable to all devices.
     128
    119129  This function takes as parameters the HAL peripheral handle, the Callback ID
    120130  and a pointer to the user callback function.
     
    130140    (+) WakeUpTimerEventCallback     : RTC WakeUpTimer Event callback.
    131141    (+) Tamper1EventCallback         : RTC Tamper 1 Event callback.
    132     (+) Tamper2EventCallback         : RTC Tamper 2 Event callback.
     142    (+) Tamper2EventCallback         : RTC Tamper 2 Event callback. (*)
    133143    (+) Tamper3EventCallback         : RTC Tamper 3 Event callback.
     144    (+) InternalTamper1EventCallback : RTC Internal Tamper 1 Callback ID (*)
     145    (+) InternalTamper2EventCallback : RTC Internal Tamper 2 Callback ID (*)
     146    (+) InternalTamper3EventCallback : RTC Internal Tamper 3 Callback ID (*)
     147    (+) InternalTamper4EventCallback : RTC Internal Tamper 4 Callback ID (*)
     148    (+) InternalTamper5EventCallback : RTC Internal Tamper 5 Callback ID (*)
     149    (+) InternalTamper6EventCallback : RTC Internal Tamper 6 Callback ID (*)
     150    (+) InternalTamper8EventCallback : RTC Internal Tamper 8 Callback ID (*)
    134151    (+) MspInitCallback              : RTC MspInit callback.
    135152    (+) MspDeInitCallback            : RTC MspDeInit callback.
     153
     154  (*) Not applicable to all devices.
    136155
    137156  By default, after the HAL_RTC_Init() and when the state is HAL_RTC_STATE_RESET,
     
    255274      hrtc->WakeUpTimerEventCallback     =  HAL_RTCEx_WakeUpTimerEventCallback;      /* Legacy weak WakeUpTimerEventCallback */
    256275      hrtc->Tamper1EventCallback         =  HAL_RTCEx_Tamper1EventCallback;          /* Legacy weak Tamper1EventCallback     */
     276#if defined(RTC_TAMPER2_SUPPORT)
    257277      hrtc->Tamper2EventCallback         =  HAL_RTCEx_Tamper2EventCallback;          /* Legacy weak Tamper2EventCallback     */
     278#endif /* RTC_TAMPER2_SUPPORT */
    258279      hrtc->Tamper3EventCallback         =  HAL_RTCEx_Tamper3EventCallback;          /* Legacy weak Tamper3EventCallback     */
    259280
     
    484505  *          @arg @ref HAL_RTC_WAKEUPTIMER_EVENT_CB_ID      WakeUp Timer Event Callback ID
    485506  *          @arg @ref HAL_RTC_TAMPER1_EVENT_CB_ID          Tamper 1 Callback ID
    486   *          @arg @ref HAL_RTC_TAMPER2_EVENT_CB_ID          Tamper 2 Callback ID
     507  *          @arg @ref HAL_RTC_TAMPER2_EVENT_CB_ID          Tamper 2 Callback ID (*)
    487508  *          @arg @ref HAL_RTC_TAMPER3_EVENT_CB_ID          Tamper 3 Callback ID
    488   *          @arg @ref HAL_RTC_INTERNAL_TAMPER1_EVENT_CB_ID Internal Tamper 1 Callback ID
    489   *          @arg @ref HAL_RTC_INTERNAL_TAMPER2_EVENT_CB_ID Internal Tamper 2 Callback ID
    490   *          @arg @ref HAL_RTC_INTERNAL_TAMPER3_EVENT_CB_ID Internal Tamper 3 Callback ID
    491   *          @arg @ref HAL_RTC_INTERNAL_TAMPER4_EVENT_CB_ID Internal Tamper 4 Callback ID
    492   *          @arg @ref HAL_RTC_INTERNAL_TAMPER5_EVENT_CB_ID Internal Tamper 5 Callback ID
    493   *          @arg @ref HAL_RTC_INTERNAL_TAMPER6_EVENT_CB_ID Internal Tamper 6 Callback ID
    494   *          @arg @ref HAL_RTC_INTERNAL_TAMPER8_EVENT_CB_ID Internal Tamper 8 Callback ID
     509  *          @arg @ref HAL_RTC_INTERNAL_TAMPER1_EVENT_CB_ID Internal Tamper 1 Callback ID (*)
     510  *          @arg @ref HAL_RTC_INTERNAL_TAMPER2_EVENT_CB_ID Internal Tamper 2 Callback ID (*)
     511  *          @arg @ref HAL_RTC_INTERNAL_TAMPER3_EVENT_CB_ID Internal Tamper 3 Callback ID (*)
     512  *          @arg @ref HAL_RTC_INTERNAL_TAMPER4_EVENT_CB_ID Internal Tamper 4 Callback ID (*)
     513  *          @arg @ref HAL_RTC_INTERNAL_TAMPER5_EVENT_CB_ID Internal Tamper 5 Callback ID (*)
     514  *          @arg @ref HAL_RTC_INTERNAL_TAMPER6_EVENT_CB_ID Internal Tamper 6 Callback ID (*)
     515  *          @arg @ref HAL_RTC_INTERNAL_TAMPER8_EVENT_CB_ID Internal Tamper 8 Callback ID (*)
    495516  *          @arg @ref HAL_RTC_MSPINIT_CB_ID                Msp Init callback ID
    496517  *          @arg @ref HAL_RTC_MSPDEINIT_CB_ID              Msp DeInit callback ID
     518  *        (*) Not applicable to all devices.
    497519  * @param  pCallback pointer to the Callback function
    498520  * @retval HAL status
     
    534556        break;
    535557
     558#if defined(RTC_TAMPER2_SUPPORT)
    536559      case HAL_RTC_TAMPER2_EVENT_CB_ID :
    537560        hrtc->Tamper2EventCallback = pCallback;
    538561        break;
     562#endif /* RTC_TAMPER2_SUPPORT */
    539563
    540564      case HAL_RTC_TAMPER3_EVENT_CB_ID :
     
    627651  *          @arg @ref HAL_RTC_WAKEUPTIMER_EVENT_CB_ID      WakeUp Timer Event Callback ID
    628652  *          @arg @ref HAL_RTC_TAMPER1_EVENT_CB_ID          Tamper 1 Callback ID
    629   *          @arg @ref HAL_RTC_TAMPER2_EVENT_CB_ID          Tamper 2 Callback ID
     653  *          @arg @ref HAL_RTC_TAMPER2_EVENT_CB_ID          Tamper 2 Callback ID (*)
    630654  *          @arg @ref HAL_RTC_TAMPER3_EVENT_CB_ID          Tamper 3 Callback ID
    631   *          @arg @ref HAL_RTC_INTERNAL_TAMPER1_EVENT_CB_ID Internal Tamper 1 Callback ID
    632   *          @arg @ref HAL_RTC_INTERNAL_TAMPER2_EVENT_CB_ID Internal Tamper 2 Callback ID
    633   *          @arg @ref HAL_RTC_INTERNAL_TAMPER3_EVENT_CB_ID Internal Tamper 3 Callback ID
    634   *          @arg @ref HAL_RTC_INTERNAL_TAMPER4_EVENT_CB_ID Internal Tamper 4 Callback ID
    635   *          @arg @ref HAL_RTC_INTERNAL_TAMPER5_EVENT_CB_ID Internal Tamper 5 Callback ID
    636   *          @arg @ref HAL_RTC_INTERNAL_TAMPER6_EVENT_CB_ID Internal Tamper 6 Callback ID
    637   *          @arg @ref HAL_RTC_INTERNAL_TAMPER8_EVENT_CB_ID Internal Tamper 8 Callback ID
     655  *          @arg @ref HAL_RTC_INTERNAL_TAMPER1_EVENT_CB_ID Internal Tamper 1 Callback ID (*)
     656  *          @arg @ref HAL_RTC_INTERNAL_TAMPER2_EVENT_CB_ID Internal Tamper 2 Callback ID (*)
     657  *          @arg @ref HAL_RTC_INTERNAL_TAMPER3_EVENT_CB_ID Internal Tamper 3 Callback ID (*)
     658  *          @arg @ref HAL_RTC_INTERNAL_TAMPER4_EVENT_CB_ID Internal Tamper 4 Callback ID (*)
     659  *          @arg @ref HAL_RTC_INTERNAL_TAMPER5_EVENT_CB_ID Internal Tamper 5 Callback ID (*)
     660  *          @arg @ref HAL_RTC_INTERNAL_TAMPER6_EVENT_CB_ID Internal Tamper 6 Callback ID (*)
     661  *          @arg @ref HAL_RTC_INTERNAL_TAMPER8_EVENT_CB_ID Internal Tamper 8 Callback ID (*)
    638662  *          @arg @ref HAL_RTC_MSPINIT_CB_ID Msp Init callback ID
    639663  *          @arg @ref HAL_RTC_MSPDEINIT_CB_ID Msp DeInit callback ID
     664  *        (*) Not applicable to all devices.
    640665  * @retval HAL status
    641666  */
     
    671696        break;
    672697
     698#if defined(RTC_TAMPER2_SUPPORT)
    673699      case HAL_RTC_TAMPER2_EVENT_CB_ID :
    674700        hrtc->Tamper2EventCallback = HAL_RTCEx_Tamper2EventCallback;         /* Legacy weak Tamper2EventCallback         */
    675701        break;
     702#endif /* RTC_TAMPER2_SUPPORT */
    676703
    677704      case HAL_RTC_TAMPER3_EVENT_CB_ID :
Note: See TracChangeset for help on using the changeset viewer.