#include <io.h>
#include <sig-avr.h>
#include <interrupt.h>
#include <progmem.h>
#include "global.h"
#include "timer.h"
Go to the source code of this file.
Typedefs | |
typedef void (* | voidFuncPtr )(void) |
Functions | |
short | __attribute__ ((progmem)) TimerPrescaleFactor[]= |
void | delay (unsigned short us) |
void | timerInit (void) |
void | timer0Init () |
void | timer1Init (void) |
void | timer2Init (void) |
void | timer0SetPrescaler (u08 prescale) |
void | timer1SetPrescaler (u08 prescale) |
void | timer2SetPrescaler (u08 prescale) |
void | timerAttach (u08 interruptNum, void(*userFunc)(void)) |
void | timerDetach (u08 interruptNum) |
void | timerPause (unsigned short pause_ms) |
void | timer0ClearOverflowCount (void) |
long | timer0GetOverflowCount (void) |
void | timer2ClearOverflowCount (void) |
long | timer2GetOverflowCount (void) |
void | timer1PWMInit (u08 bitRes) |
void | timer1PWMOff (void) |
void | timer1PWMASet (u16 pwmDuty) |
void | timer1PWMBSet (u16 pwmDuty) |
SIGNAL (SIG_OVERFLOW0) | |
void | timer2SetRTCMode (void) |
void | timer2EnableOutputCompare (void) |
void | timer2SetOutCompare (u08 compare) |
Variables | |
volatile unsigned long | Timer0PauseReg |
volatile unsigned long | Timer0Reg0 |
volatile unsigned long | Timer0Reg1 |
volatile unsigned long | Timer2Reg0 |
volatile unsigned long | Timer2Reg1 |
volatile voidFuncPtr | TimerIntFunc [TIMER_NUM_INTERRUPTS] |
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 73 of file timer.c. Referenced by timerInit().
|
|
|
|
Definition at line 84 of file timer.c. Referenced by timerInit().
|
|
|
|
|
|
|
|
Definition at line 222 of file timer.c. Referenced by pulseT1Init().
|
|
|
|
|
|
|
|
|
|
Definition at line 93 of file timer.c. Referenced by rtcInit(), and timerInit().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|