Project

General

Profile

Statistics
| Revision:

root / branches / simulator / projects / simulator / libsim / dio.c @ 1006

History | View | Annotate | Download (516 Bytes)

1
#include "dio.h"
2
#include "util.h"
3

    
4
int digital_input(int port)
5
{
6
        UNIMPLEMENTED
7
        return -1;
8
}
9

    
10
void digital_output(int port, int val)
11
{
12
        UNIMPLEMENTED
13
}
14

    
15
void digital_pull_up(int port)
16
{
17
        UNIMPLEMENTED
18
}
19

    
20
int button1_read(void)
21
{
22
        UNIMPLEMENTED
23
        return -1;
24
}
25

    
26
int button1_click(void)
27
{
28
        UNIMPLEMENTED
29
        return -1;
30
}
31

    
32
void button1_wait(void)
33
{
34
        UNIMPLEMENTED
35
}
36

    
37
int button2_read(void)
38
{
39
        UNIMPLEMENTED
40
        return -1;
41
}
42

    
43
int button2_click(void)
44
{
45
        UNIMPLEMENTED
46
        return -1;
47
}
48

    
49
void button2_wait(void)
50
{
51
        UNIMPLEMENTED
52
}
53