1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-27 07:21:18 +01:00

driver/timer: adjusted doxygen for speed value

This commit is contained in:
Hauke Petersen 2014-12-16 16:36:36 +01:00
parent 17d2f57473
commit f80c4a4d7e

View File

@ -59,13 +59,13 @@ typedef enum {
* The timer will be started automatically after initialization with interrupts enabled.
*
* @param[in] dev the timer to initialize
* @param[in] ticks_per_us the timers speed in ticks per us
* @param[in] us_per_tick number of us passed for one timer tick
* @param[in] callback this callback is called in interrupt context, the emitting channel is
* passed as argument
*
* @return returns 0 on success, -1 if speed not applicable of unknown device given
*/
int timer_init(tim_t dev, unsigned int ticks_per_us, void (*callback)(int));
int timer_init(tim_t dev, unsigned int us_per_tick, void (*callback)(int));
/**
* @brief Set a given timer channel for the given timer device. The callback given during