|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
HAL time base based on the hardware TIM. More...
Go to the source code of this file.
Functions | |
| HAL_StatusTypeDef | HAL_InitTick (uint32_t TickPriority) |
| This function configures the TIM6 as a time base source. | |
| void | HAL_SuspendTick (void) |
| Suspend Tick increment. | |
| void | HAL_ResumeTick (void) |
| Resume Tick increment. | |
Variables | |
| TIM_HandleTypeDef | htim6 |
HAL time base based on the hardware TIM.
Copyright (c) 2026 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.
| __weak HAL_StatusTypeDef HAL_InitTick | ( | uint32_t | TickPriority | ) |
This function configures the TIM6 as a time base source.
This function configures the source of the time base.
The time source is configured to have 1ms time base with a dedicated Tick interrupt priority.
| TickPriority | Tick interrupt priority. |
| HAL | status |
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.
References __HAL_RCC_TIM6_CLK_ENABLE, __NVIC_PRIO_BITS, RCC_ClkInitTypeDef::APB1CLKDivider, HAL_ERROR, HAL_NVIC_EnableIRQ(), HAL_NVIC_SetPriority(), HAL_OK, HAL_RCC_GetClockConfig(), HAL_RCC_GetPCLK1Freq(), HAL_TIM_Base_Init(), HAL_TIM_Base_Start_IT(), htim6, RCC_HCLK_DIV1, TIM6, TIM6_DAC_IRQn, TIM_COUNTERMODE_UP, and uwTickPrio.
Referenced by HAL_Init(), and HAL_SetTickFreq().
| TIM_HandleTypeDef htim6 |
Definition at line 28 of file stm32h7xx_hal_timebase_tim.c.
Referenced by HAL_InitTick(), HAL_ResumeTick(), HAL_SuspendTick(), and TIM6_DAC_IRQHandler().