clock.c File Reference

Do stuff periodically. More...

#include "clock.h"
#include <avr/pgmspace.h>
#include <stdint.h>
#include <avr/io.h>
#include "config.h"
#include "timer.h"
#include "arduino.h"
#include <util/atomic.h>
#include <avr/version.h>

Functions

void clock_250ms ()
 do stuff every 1/4 second
void clock_10ms ()
 do stuff every 10 milliseconds

Detailed Description

Do stuff periodically.


Function Documentation

void clock_10ms ( void   ) 

do stuff every 10 milliseconds

call from ifclock(clock_flag_10ms) in busy loops

Referenced by main(), process_gcode_command(), and queue_wait().

void clock_250ms ( void   ) 

do stuff every 1/4 second

called from clock_10ms(), do not call directly

Referenced by clock_10ms().

 All Data Structures Files Functions Variables Defines
Generated on Mon Jul 30 16:33:58 2012 for Teacup by  doxygen 1.6.3