Home

Functions

dwengoTimer.h File Reference

Timer routines. More...

#include "dwengoBoard.h"
#include "dwengoInterrupt.h"
#include "dwengoLCD.h"

Functions

unsigned long getTime (void)
 Get the time since power up.
unsigned long getCycles (void)
 Get the time since power up.
void initTimer (void)
 Initialize the timer.
void timeISR (void)

Detailed Description

Timer routines.

Time since power up in microseconds.


Function Documentation

unsigned long getCycles ( void  )

Get the time since power up.

This function returns the number of cycles since initTimer().

unsigned long getTime ( void  )

Get the time since power up.

This function returns the number of microseconds since initTimer().

void initTimer ( void  )

Initialize the timer.

This routine initializes the timer functionality. It configures timer0 and dispatches the timer interrupt service routine using the Dwengo interrupt library.

 All Data Structures Files Functions Variables Defines

Generated on Wed Dec 25 2013 23:03:08 for Dwengo library by doxygen 1.7.3