projects
/
my-code
/
atmel.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
corrected careless mistake
[my-code/atmel.git]
/
monolyzer
/
timer.asm
1
; timer functions
2
3
TIMER0_INIT:
4
5
; clock select, no prescaling
6
ldi tmp1,0x01
7
out TCCR0B,tmp1
8
9
ret
10
11
TIMER0_INT_INIT:
12
13
; overflow interrupt
14
ldi tmp1,0x02
15
out TIMSK,tmp1
16
17
ret
18
19
TIMER0_INT_END:
20
21
; overflow interrupt
22
ldi tmp1,0x00
23
out TIMSK,tmp1
24
25
ret
26