include/led_driver.h
author etisserant
Tue, 20 Jun 2006 22:43:37 +0200
changeset 38 9b5bb1dcb4f5
parent 15 e930a0e817de
permissions -rw-r--r--
Cygwin port. Still untested. Compiles and link.
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 __led_driver_h__
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
    24
#define __led_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
void led_set_redgreen(CO_Data *d, unsigned char bits);
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
    29
e930a0e817de Re-orginized led and nvram related code, for generic target.
etisserant
parents:
diff changeset
    30
#endif