3
|
1 |
/*
|
|
2 |
This file is part of CanFestival, a library implementing CanOpen Stack.
|
|
3 |
____ _ _ _
|
|
4 |
/ ___| / \ | \ | | ___ _ __ ___ _ __
|
|
5 |
| | / _ \ | \| |/ _ \| '_ \ / _ \ '_ \
|
|
6 |
| |___ / ___ \| |\ | (_) | |_) | __/ | | |
|
|
7 |
\____/_/ \_\_| \_|\___/| .__/ \___|_| |_|
|
|
8 |
|_|
|
|
9 |
____ _
|
|
10 |
/ ___|__ _ _ __ __ _ __| | __ _
|
|
11 |
| | / _` | '_ \ / _` |/ _` |/ _` |
|
|
12 |
| |__| (_| | | | | (_| | (_| | (_| |
|
|
13 |
\____\__,_|_| |_|\__,_|\__,_|\__,_|
|
|
14 |
|
|
15 |
canfestival@canopencanada.ca
|
|
16 |
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
|
|
17 |
|
|
18 |
See COPYING file for copyrights details.
|
|
19 |
|
|
20 |
This library is free software; you can redistribute it and/or
|
|
21 |
modify it under the terms of the GNU Lesser General Public
|
|
22 |
License as published by the Free Software Foundation; either
|
|
23 |
version 2.1 of the License, or (at your option) any later version.
|
|
24 |
|
|
25 |
This library is distributed in the hope that it will be useful,
|
|
26 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
27 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
28 |
Lesser General Public License for more details.
|
|
29 |
|
|
30 |
You should have received a copy of the GNU Lesser General Public
|
|
31 |
License along with this library; if not, write to the Free Software
|
|
32 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
33 |
*/
|
|
34 |
|
|
35 |
#if !defined(_NVRAM_IO_H_)
|
|
36 |
#define _NVRAM_IO_H_
|
|
37 |
|
|
38 |
|
|
39 |
int nvram_open(void);
|
|
40 |
void nvram_close(void);
|
|
41 |
|
|
42 |
char nvram_write_data(int type, int access_attr, void *data);
|
|
43 |
char nvram_read_data(int type, int access_attr, void *data);
|
|
44 |
|
|
45 |
void nvram_write_regs(void);
|
|
46 |
void nvram_read_regs(void);
|
|
47 |
|
|
48 |
#endif
|
|
49 |
|