libkovan  1
The kovan standard library
analog.h
Go to the documentation of this file.
1 /**************************************************************************
2  * Copyright 2012 KISS Institute for Practical Robotics *
3  * *
4  * This file is part of libkovan. *
5  * *
6  * libkovan is free software: you can redistribute it and/or modify *
7  * it under the terms of the GNU General Public License as published by *
8  * the Free Software Foundation, either version 2 of the License, or *
9  * (at your option) any later version. *
10  * *
11  * libkovan is distributed in the hope that it will be useful, *
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14  * GNU General Public License for more details. *
15  * *
16  * You should have received a copy of the GNU General Public License *
17  * along with libkovan. Check the LICENSE file in the project root. *
18  * If not, see <http://www.gnu.org/licenses/>. *
19  **************************************************************************/
20 
21 #ifndef _ANALOG_H_
22 #define _ANALOG_H_
23 
24 #include "export.h"
25 #include "vtable.h"
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
38 VF EXPORT_SYM int analog(int port);
39 
47 VF EXPORT_SYM int analog10(int port);
48 
56 VF EXPORT_SYM int analog_et(int port);
57 
65 VF EXPORT_SYM int analog8(int port);
66 
67 VF void set_analog_pullup(int port, int pullup);
68 
69 VF int get_analog_pullup(int port);
70 
71 VFL
72 
73 #ifdef __cplusplus
74 }
75 #endif
76 
77 #endif
VF EXPORT_SYM int analog8(int port)
VF int get_analog_pullup(int port)
VF EXPORT_SYM int analog(int port)
#define VF
Definition: vtable.h:10
#define VFL
Definition: vtable.h:11
#define EXPORT_SYM
Definition: export.h:7
VF EXPORT_SYM int analog10(int port)
VF EXPORT_SYM int analog_et(int port)
VF void set_analog_pullup(int port, int pullup)