![]() |
Da Vinci Firmware 1
Firmware for the DaVinci-M rocket avionics board.
|
HAL time base based on the hardware TIM. More...
#include "stm32h7xx_hal.h"#include "stm32h7xx_hal_tim.h"
Go to the source code of this file.
Functions | |
| HAL_StatusTypeDef | HAL_InitTick (uint32_t TickPriority) |
| This function configures the TIM4 as a time base source. The time source is configured to have 1ms time base with a dedicated Tick interrupt priority. | |
| void | HAL_SuspendTick (void) |
| Suspend Tick increment. | |
| void | HAL_ResumeTick (void) |
| Resume Tick increment. | |
Variables | |
| TIM_HandleTypeDef | htim4 |
HAL time base based on the hardware TIM.
Copyright (c) 2025 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
Definition in file stm32h7xx_hal_timebase_tim.c.
| HAL_StatusTypeDef HAL_InitTick | ( | uint32_t | TickPriority | ) |
This function configures the TIM4 as a time base source. The time source is configured to have 1ms time base with a dedicated Tick interrupt priority.
| TickPriority | Tick interrupt priority. |
| HAL | status |
Definition at line 41 of file stm32h7xx_hal_timebase_tim.c.
| void HAL_ResumeTick | ( | void | ) |
Resume Tick increment.
| None |
| None |
Definition at line 125 of file stm32h7xx_hal_timebase_tim.c.
References htim4.
| void HAL_SuspendTick | ( | void | ) |
Suspend Tick increment.
| None |
| None |
Definition at line 113 of file stm32h7xx_hal_timebase_tim.c.
References htim4.
| TIM_HandleTypeDef htim4 |
Definition at line 28 of file stm32h7xx_hal_timebase_tim.c.
Referenced by HAL_InitTick(), HAL_ResumeTick(), HAL_SuspendTick(), and TIM4_IRQHandler().