2019-07-17 02:12 AM
Hello,
is there any way to find out by the CMSIS headers if some given Timer has the RCR (Repeat Count) Register? Is it possible to find out at runtime? Or do all TIM1/8/20 15/16/17 Timers do have the RCR register?
Solved! Go to Solution.
2019-07-17 08:03 AM
Hi Uwe,
In the CMSIS-mandated device headers found in the individual Cubes (i.e. not the older ones in SPL), it appears that the IS_TIM_REPETITION_COUNTER_INSTANCE() macro could indicate presence of RCR in a given timer.
Is this what you are looking for?
Jan
2019-07-17 08:03 AM
Hi Uwe,
In the CMSIS-mandated device headers found in the individual Cubes (i.e. not the older ones in SPL), it appears that the IS_TIM_REPETITION_COUNTER_INSTANCE() macro could indicate presence of RCR in a given timer.
Is this what you are looking for?
Jan
2019-07-17 08:22 AM
Thanks, that looks good. I should have searched for REPETITION and not RCR :)