git.ucc.asn.au
/
matches
/
honours.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
0cdafd13f495c26c597a5f5ce492d866cee7ab15
[matches/honours.git]
/
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