Changeset 59 for ctrl/firmware/Main/CubeMX/Drivers/STM32H7xx_HAL_Driver/Src
- Timestamp:
- Jan 10, 2025, 4:18:37 PM (6 days ago)
- 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 52 52 #define __STM32H7xx_HAL_VERSION_MAIN (0x01UL) /*!< [31:24] main version */ 53 53 #define __STM32H7xx_HAL_VERSION_SUB1 (0x0BUL) /*!< [23:16] sub1 version */ 54 #define __STM32H7xx_HAL_VERSION_SUB2 (0x0 4UL) /*!< [15:8] sub2 version */54 #define __STM32H7xx_HAL_VERSION_SUB2 (0x05UL) /*!< [15:8] sub2 version */ 55 55 #define __STM32H7xx_HAL_VERSION_RC (0x00UL) /*!< [7:0] release candidate */ 56 56 #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 309 309 * PWR_SMPS_2V5_SUPPLIES_EXT are used only for lines that supports SMPS 310 310 * 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 311 315 * @retval HAL status. 312 316 */ -
ctrl/firmware/Main/CubeMX/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rtc.c
r43 r59 113 113 (+) WakeUpTimerEventCallback : RTC WakeUpTimer Event callback. 114 114 (+) Tamper1EventCallback : RTC Tamper 1 Event callback. 115 (+) Tamper2EventCallback : RTC Tamper 2 Event callback. 115 (+) Tamper2EventCallback : RTC Tamper 2 Event callback. (*) 116 116 (+) 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 (*) 117 124 (+) MspInitCallback : RTC MspInit callback. 118 125 (+) MspDeInitCallback : RTC MspDeInit callback. 126 127 (*) Not applicable to all devices. 128 119 129 This function takes as parameters the HAL peripheral handle, the Callback ID 120 130 and a pointer to the user callback function. … … 130 140 (+) WakeUpTimerEventCallback : RTC WakeUpTimer Event callback. 131 141 (+) Tamper1EventCallback : RTC Tamper 1 Event callback. 132 (+) Tamper2EventCallback : RTC Tamper 2 Event callback. 142 (+) Tamper2EventCallback : RTC Tamper 2 Event callback. (*) 133 143 (+) 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 (*) 134 151 (+) MspInitCallback : RTC MspInit callback. 135 152 (+) MspDeInitCallback : RTC MspDeInit callback. 153 154 (*) Not applicable to all devices. 136 155 137 156 By default, after the HAL_RTC_Init() and when the state is HAL_RTC_STATE_RESET, … … 255 274 hrtc->WakeUpTimerEventCallback = HAL_RTCEx_WakeUpTimerEventCallback; /* Legacy weak WakeUpTimerEventCallback */ 256 275 hrtc->Tamper1EventCallback = HAL_RTCEx_Tamper1EventCallback; /* Legacy weak Tamper1EventCallback */ 276 #if defined(RTC_TAMPER2_SUPPORT) 257 277 hrtc->Tamper2EventCallback = HAL_RTCEx_Tamper2EventCallback; /* Legacy weak Tamper2EventCallback */ 278 #endif /* RTC_TAMPER2_SUPPORT */ 258 279 hrtc->Tamper3EventCallback = HAL_RTCEx_Tamper3EventCallback; /* Legacy weak Tamper3EventCallback */ 259 280 … … 484 505 * @arg @ref HAL_RTC_WAKEUPTIMER_EVENT_CB_ID WakeUp Timer Event Callback ID 485 506 * @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 (*) 487 508 * @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 (*) 495 516 * @arg @ref HAL_RTC_MSPINIT_CB_ID Msp Init callback ID 496 517 * @arg @ref HAL_RTC_MSPDEINIT_CB_ID Msp DeInit callback ID 518 * (*) Not applicable to all devices. 497 519 * @param pCallback pointer to the Callback function 498 520 * @retval HAL status … … 534 556 break; 535 557 558 #if defined(RTC_TAMPER2_SUPPORT) 536 559 case HAL_RTC_TAMPER2_EVENT_CB_ID : 537 560 hrtc->Tamper2EventCallback = pCallback; 538 561 break; 562 #endif /* RTC_TAMPER2_SUPPORT */ 539 563 540 564 case HAL_RTC_TAMPER3_EVENT_CB_ID : … … 627 651 * @arg @ref HAL_RTC_WAKEUPTIMER_EVENT_CB_ID WakeUp Timer Event Callback ID 628 652 * @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 (*) 630 654 * @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 (*) 638 662 * @arg @ref HAL_RTC_MSPINIT_CB_ID Msp Init callback ID 639 663 * @arg @ref HAL_RTC_MSPDEINIT_CB_ID Msp DeInit callback ID 664 * (*) Not applicable to all devices. 640 665 * @retval HAL status 641 666 */ … … 671 696 break; 672 697 698 #if defined(RTC_TAMPER2_SUPPORT) 673 699 case HAL_RTC_TAMPER2_EVENT_CB_ID : 674 700 hrtc->Tamper2EventCallback = HAL_RTCEx_Tamper2EventCallback; /* Legacy weak Tamper2EventCallback */ 675 701 break; 702 #endif /* RTC_TAMPER2_SUPPORT */ 676 703 677 704 case HAL_RTC_TAMPER3_EVENT_CB_ID :
Note: See TracChangeset
for help on using the changeset viewer.