[HAL][HRTIM] Correct the typo in the HRTIMInterruptRequests structure member and add the legacy define in the stm32_hal_legacy.h file
diff --git a/Inc/Legacy/stm32_hal_legacy.h b/Inc/Legacy/stm32_hal_legacy.h
index 6e2d2d2..b11b9a9 100644
--- a/Inc/Legacy/stm32_hal_legacy.h
+++ b/Inc/Legacy/stm32_hal_legacy.h
@@ -860,6 +860,10 @@
 #define __HAL_HRTIM_SetCompare        __HAL_HRTIM_SETCOMPARE
 #define __HAL_HRTIM_GetCompare        __HAL_HRTIM_GETCOMPARE
 
+#if defined(STM32F3) || defined(STM32G4) || defined(STM32H7)
+#define HRTIMInterruptResquests  HRTIMInterruptRequests
+#endif /* STM32F3 || STM32G4 || STM32H7 */
+
 #if defined(STM32G4)
 #define HAL_HRTIM_ExternalEventCounterConfig    HAL_HRTIM_ExtEventCounterConfig
 #define HAL_HRTIM_ExternalEventCounterEnable    HAL_HRTIM_ExtEventCounterEnable
diff --git a/Inc/stm32h7xx_hal_hrtim.h b/Inc/stm32h7xx_hal_hrtim.h
index 7b709f3..e0b147e 100644
--- a/Inc/stm32h7xx_hal_hrtim.h
+++ b/Inc/stm32h7xx_hal_hrtim.h
@@ -60,7 +60,7 @@
   */
 typedef struct
 {
-  uint32_t HRTIMInterruptResquests;  /*!< Specifies which interrupts requests must enabled for the HRTIM instance.
+  uint32_t HRTIMInterruptRequests;  /*!< Specifies which interrupts requests must enabled for the HRTIM instance.
                                           This parameter can be any combination of  @ref HRTIM_Common_Interrupt_Enable */
   uint32_t SyncOptions;              /*!< Specifies how the HRTIM instance handles the external synchronization signals.
                                           The HRTIM instance can be configured to act as a slave (waiting for a trigger
diff --git a/Src/stm32h7xx_hal_hrtim.c b/Src/stm32h7xx_hal_hrtim.c
index 2e11610..51bfd19 100644
--- a/Src/stm32h7xx_hal_hrtim.c
+++ b/Src/stm32h7xx_hal_hrtim.c
@@ -531,7 +531,7 @@
 
   /* Check the parameters */
   assert_param(IS_HRTIM_ALL_INSTANCE(hhrtim->Instance));
-  assert_param(IS_HRTIM_IT(hhrtim->Init.HRTIMInterruptResquests));
+  assert_param(IS_HRTIM_IT(hhrtim->Init.HRTIMInterruptRequests));
 
 #if (USE_HAL_HRTIM_REGISTER_CALLBACKS == 1)
   if (hhrtim->State == HAL_HRTIM_STATE_RESET)
@@ -5202,7 +5202,7 @@
   hhrtim->State = HAL_HRTIM_STATE_BUSY;
 
   /* Enable HRTIM interrupts (if required) */
-  __HAL_HRTIM_ENABLE_IT(hhrtim, hhrtim->Init.HRTIMInterruptResquests);
+  __HAL_HRTIM_ENABLE_IT(hhrtim, hhrtim->Init.HRTIMInterruptRequests);
 
   /* Enable master timer related interrupts (if required) */
   if ((Timers & HRTIM_TIMERID_MASTER) != 0U)
@@ -5268,7 +5268,7 @@
   hhrtim->State = HAL_HRTIM_STATE_BUSY;
 
   /* Disable HRTIM interrupts (if required) */
-  __HAL_HRTIM_DISABLE_IT(hhrtim, hhrtim->Init.HRTIMInterruptResquests);
+  __HAL_HRTIM_DISABLE_IT(hhrtim, hhrtim->Init.HRTIMInterruptRequests);
 
   /* Disable master timer related interrupts (if required) */
   if ((Timers & HRTIM_TIMERID_MASTER) != 0U)