include/nvram_driver.h
author frdupin
Wed, 07 Feb 2007 12:29:52 +0100
changeset 89 11dda1450e09
parent 15 e930a0e817de
permissions -rw-r--r--
pointer bogue for *(d->iam_a_slave)
15
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
     1
/*
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
     2
This file is part of CanFestival, a library implementing CanOpen Stack. 
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
     3
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
     4
Copyright (C): Edouard TISSERANT and Francis DUPIN
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
     5
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
     6
See COPYING file for copyrights details.
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
     7
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
     8
This library is free software; you can redistribute it and/or
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
     9
modify it under the terms of the GNU Lesser General Public
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
    10
License as published by the Free Software Foundation; either
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
    11
version 2.1 of the License, or (at your option) any later version.
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
    12
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
    13
This library is distributed in the hope that it will be useful,
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
    14
but WITHOUT ANY WARRANTY; without even the implied warranty of
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
    15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
    16
Lesser General Public License for more details.
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
    17
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
    18
You should have received a copy of the GNU Lesser General Public
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
    19
License along with this library; if not, write to the Free Software
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
    20
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
    21
*/
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
    22
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
    23
#ifndef __nvram_driver_h__
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
    24
#define __nvram_driver_h__
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
    25
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
    26
#include "data.h"
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
    27
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
    28
int nvram_open(void);
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
    29
void nvram_close(void);
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
    30
char nvram_write(int type, int access_attr, void *data);
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
    31
char nvram_read(int type, int access_attr, void *data);
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
    32
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
    33
#endif