GPIB_AVR
|
#include "timer16.h"
#include <avr/io.h>
#include <avr/interrupt.h>
#include <avr/pgmspace.h>
#include <stdlib.h>
#include <stdio.h>
#include "uart.h"
Functions | |
ISR (TIMER1_COMPA_vect) | |
Interrupt Service Routine - do not call directly This routine is called when the Timer Value TCNT1 reaches the Output Compare Register Value OCR1A. | |
void | timer16_init (void) |
Timer initialisation. | |
Variables | |
volatile uint8_t | timer |
timer value, increased by interrupt | |
volatile uint8_t | s |
second value, increased by one every second |
ISR | ( | TIMER1_COMPA_vect | ) |
void timer16_init | ( | void | ) |
volatile uint8_t s |
second value, increased by one every second
Referenced by _gpib_write(), gpib_receive(), ISR(), main(), and timer16_init().
volatile uint8_t timer |
timer value, increased by interrupt
Referenced by ISR(), and timer16_init().