pub unsafe extern "C" fn timer_query_channel_numof(
dev: tim_t,
) -> uword_t
Expand description
@brief Get the number of timer channels for the given timer
@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 timer as parameter.
@details There is a weak default implementation that returns the value of
TIMER_CHANNEL_NUMOF
. For some MCUs the number of supported
channels depends on @p dev - those are expected to provide there
own implementation of this function.