Automatic commit. Mon Sep 10 12:00:04 WST 2012
[matches/honours.git] / research / TCS / apparatus / source_code / timer.h
1 \r
2 #include <stdint.h>\r
3 #include <avr/io.h>\r
4 #include <avr/interrupt.h>\r
5 #include "main.h"\r
6 \r
7 #define SCK 3 //Clock is on PB3s\r
8 \r
9 void Timer0_Init(void);\r
10 \r
11 #define SCK_ON  ((PORTB & (1<<SCK)) != 0x00)\r
12 #define SCK_OFF ((PORTB & (1<<SCK)) == 0x00)\r

UCC git Repository :: git.ucc.asn.au