31 OPTION_REG = (
unsigned char) (OPTION_REG & 0b11010000) | TIMER0_PRESCALE_BITS;
45 timer0->
ms += TIMER0_MS_INC;
47 if ((timer0->
us += TIMER0_US_INC) > 1000) {
48 timer0->
ms += timer0->
us / 1000;
void timer0_ih(Timer0 *timer0)
void timer0_init(Timer0 *timer0)
Coarse timing library for measuring times in the background.
Global timing definitions used for timing critical library components.