pub unsafe extern "C" fn timer_query_freqs_numof(
dev: tim_t,
) -> uword_t
Expand description
@brief Get the number of different frequencies supported by the given timer
If calling @ref timer_query_freqs_numof for the same timer with an index smaller this number, it hence MUST return a frequency (and not zero).
@details This function is marked with attribute pure to tell the compiler that this function has no side affects and will return the same value when called with the same parameter. (E.g. to not call this function in every loop iteration when iterating over all supported frequencies.)