Project

General

Profile

Statistics
| Revision:

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

History | View | Annotate | Download (516 Bytes)

1 906 bcoltin
#include "dio.h"
2 942 bcoltin
#include "util.h"
3 906 bcoltin
4
int digital_input(int port)
5
{
6 933 bcoltin
        UNIMPLEMENTED
7 942 bcoltin
        return -1;
8 906 bcoltin
}
9
10
void digital_output(int port, int val)
11
{
12 933 bcoltin
        UNIMPLEMENTED
13 906 bcoltin
}
14
15
void digital_pull_up(int port)
16
{
17 933 bcoltin
        UNIMPLEMENTED
18 906 bcoltin
}
19
20
int button1_read(void)
21
{
22 933 bcoltin
        UNIMPLEMENTED
23 942 bcoltin
        return -1;
24 906 bcoltin
}
25
26
int button1_click(void)
27
{
28 933 bcoltin
        UNIMPLEMENTED
29 942 bcoltin
        return -1;
30 906 bcoltin
}
31
32
void button1_wait(void)
33
{
34 933 bcoltin
        UNIMPLEMENTED
35 906 bcoltin
}
36
37
int button2_read(void)
38
{
39 933 bcoltin
        UNIMPLEMENTED
40 942 bcoltin
        return -1;
41 906 bcoltin
}
42
43
int button2_click(void)
44
{
45 942 bcoltin
        UNIMPLEMENTED
46
        return -1;
47 906 bcoltin
}
48
49
void button2_wait(void)
50
{
51 942 bcoltin
        UNIMPLEMENTED
52 906 bcoltin
}