HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
Loading...
Searching...
No Matches
StmPeriodicTimer.cpp File Reference

STM32 Periodic Timer implementation — HAL TIM base with ISR dispatch. More...

#include "StmPeriodicTimer.h"
#include <cstring>
Include dependency graph for StmPeriodicTimer.cpp:

Namespaces

namespace  anonymous_namespace{StmPeriodicTimer.cpp}
 

Functions

uint32_t HAL_TIM_Base_Start_IT (TIM_HandleTypeDef *htim)
 
uint32_t HAL_TIM_Base_Stop_IT (TIM_HandleTypeDef *htim)
 
uint32_t HAL_GetTick (void)
 

Variables

constexpr uint32_t anonymous_namespace{StmPeriodicTimer.cpp}::kTimPscOffset = 0x28
 
constexpr uint32_t anonymous_namespace{StmPeriodicTimer.cpp}::kTimArrOffset = 0x2C
 
constexpr uint32_t anonymous_namespace{StmPeriodicTimer.cpp}::kTimEgrOffset = 0x14
 
constexpr uint32_t anonymous_namespace{StmPeriodicTimer.cpp}::kTimEgrUgBit = 0x01
 

Detailed Description

STM32 Periodic Timer implementation — HAL TIM base with ISR dispatch.

Author
HardFOC
Date
2025

Function Documentation

◆ HAL_GetTick()

uint32_t HAL_GetTick ( void )
extern

◆ HAL_TIM_Base_Start_IT()

uint32_t HAL_TIM_Base_Start_IT ( TIM_HandleTypeDef * htim)
extern

◆ HAL_TIM_Base_Stop_IT()

uint32_t HAL_TIM_Base_Stop_IT ( TIM_HandleTypeDef * htim)
extern