binary Clock
|
Exposes public timer functions. More...
#include <stdint.h>
Go to the source code of this file.
Functions | |
void | timer_init (volatile uint8_t *counter_var_ptr) |
uint32_t | timer_millis_get (void) |
Exposes public timer functions.
void timer_init | ( | volatile uint8_t * | counter_var_ptr | ) |
Initializes the timer structure variables and individual timers.
[in] | counter_var_ptr | (volatile uint8_t *): pointer to the counter's count variable. |
uint32_t timer_millis_get | ( | void | ) |
Returns the current value of the millisecond counter.
[out] | millis_count | (uint32_t): current value of the millis counter. |