binary Clock
Functions
timer_4313.h File Reference

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)
 

Detailed Description

Exposes public timer functions.

Function Documentation

◆ timer_init()

void timer_init ( volatile uint8_t *  counter_var_ptr)

Initializes the timer structure variables and individual timers.

Parameters
[in]counter_var_ptr(volatile uint8_t *): pointer to the counter's count variable.

◆ timer_millis_get()

uint32_t timer_millis_get ( void  )

Returns the current value of the millisecond counter.

Parameters
[out]millis_count(uint32_t): current value of the millis counter.