GPIB_AVR
Defines | Functions | Variables
timer16.h File Reference
#include "defs.h"

Go to the source code of this file.

Defines

#define DEBOUNCE   256L
 number of calls per second for timer ISR

Functions

void timer16_init (void)
 Timer initialisation.

Variables

volatile uchar s
 second value, increased by one every second

Define Documentation

#define DEBOUNCE   256L

number of calls per second for timer ISR

Referenced by ISR(), and timer16_init().


Function Documentation

void timer16_init ( void  )

Timer initialisation.

initializes all registers ands sets second value 's' to zero. Timer is immediately started.

References DEBOUNCE, s, and timer.

Referenced by main().


Variable Documentation

volatile uchar s

second value, increased by one every second

Referenced by _gpib_write(), gpib_receive(), ISR(), main(), and timer16_init().