aversive_10-03-12/modules/base/time_ext/time_ext.c File Reference

#include <aversive.h>
#include <aversive/error.h>
#include <aversive/wait.h>
#include <time_ext.h>
#include <time_ext_config.h>

Go to the source code of this file.

Functions

void SIG_OVERFLOW2 (void)
void time_ext_init (void)
void time_ext_set_prescaler (uint8_t p)
uint8_t time_ext_get_prescaler (void)
uint32_t time_ext_get_s (void)
uint32_t time_ext_get_ns (void)
time_ext_t time_ext_get (void)
void time_ext_set (uint32_t sec, uint32_t nano)


Function Documentation

void SIG_OVERFLOW2 ( void   ) 

time_ext_t time_ext_get ( void   ) 

Definition at line 297 of file time_ext.c.

References _time_ext::nano, NANO_PER_S, _time_ext::sec, time_ext_get_ns(), and time_ext_get_s().

Referenced by main(), and mylog().

uint32_t time_ext_get_ns ( void   )  [inline]

Definition at line 285 of file time_ext.c.

References _time_ext::nano, NANO_PER_QUARTZ_TICK, and time_ext_get_prescaler().

Referenced by time_ext_get().

uint8_t time_ext_get_prescaler ( void   )  [inline]

Definition at line 232 of file time_ext.c.

Referenced by SIG_OVERFLOW2(), and time_ext_get_ns().

uint32_t time_ext_get_s ( void   )  [inline]

Definition at line 280 of file time_ext.c.

References _time_ext::sec.

Referenced by time_ext_get().

void time_ext_init ( void   ) 

Definition at line 175 of file time_ext.c.

References E_TIME_EXT, _time_ext::nano, NOTICE, and _time_ext::sec.

Referenced by main().

void time_ext_set ( uint32_t  sec,
uint32_t  nano 
) [inline]

Definition at line 314 of file time_ext.c.

References E_TIME_EXT, _time_ext::nano, NOTICE, and _time_ext::sec.

Referenced by main().

void time_ext_set_prescaler ( uint8_t  p  )  [inline]

Definition at line 223 of file time_ext.c.


Generated on Fri Mar 12 06:32:05 2010 for AVR by  doxygen 1.5.6