repo.or.cz
/
avr-sim.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed problem in DeviceSettings::strParam, returned wrong string
[avr-sim.git]
/
test
/
deep_frame.c
blob
dec7f4d856095cf5c3142cb01c782b7bc7773b9f
1
#include <avr/io.h>
2
3
void
func4
(
void
)
4
{
5
static uint8_t
val
;
6
PORTC
=
val
++;
7
}
8
9
void
func3
(
void
)
10
{
11
func4
();
12
}
13
14
void
func2
(
void
)
15
{
16
func3
();
17
}
18
19
void
func1
(
void
)
20
{
21
func2
();
22
}
23
24
int
main
(
void
)
25
{
26
DDRC
=
0xff
;
27
28
while
(
1
)
29
{
30
func1
();
31
}
32
33
return
0
;
34
}