HAL + 0/3 examples
CodeScope will show references to __HAL_TIM_SET_COUNTER from the following samples and libraries:
Examples
STM32F4-Discovery
STM32F401-Discovery
STM32F411E-Discovery
 
Symbols
loading...
Files
loading...

__HAL_TIM_SET_COUNTER macro

Set the TIM Counter Register value on runtime.

Syntax

#define __HAL_TIM_SET_COUNTER(__HANDLE__, __COUNTER__) ((__HANDLE__)->Instance->CNT = (__COUNTER__))

Arguments

__HANDLE__

TIM handle.

__COUNTER__

specifies the Counter register new value.

Return value

None

Examples

__HAL_TIM_SET_COUNTER is referenced by 3 libraries and example projects.

References

LocationText
stm32f4xx_hal_tim.h:1282
#define __HAL_TIM_SET_COUNTER(__HANDLE__, __COUNTER__) ((__HANDLE__)->Instance->CNT = (__COUNTER__))