Can_open_slavenode

Dependencies:   mbed

Committer:
sam_grove
Date:
Mon May 30 07:14:41 2011 +0000
Revision:
0:6219434a0cb5
Initial public release of slave node framework port

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sam_grove 0:6219434a0cb5 1 /*
sam_grove 0:6219434a0cb5 2 This file is part of CanFestival, a library implementing CanOpen Stack.
sam_grove 0:6219434a0cb5 3
sam_grove 0:6219434a0cb5 4 Copyright (C): Andreas GLAUSER
sam_grove 0:6219434a0cb5 5
sam_grove 0:6219434a0cb5 6 See COPYING file for copyrights details.
sam_grove 0:6219434a0cb5 7
sam_grove 0:6219434a0cb5 8 This library is free software; you can redistribute it and/or
sam_grove 0:6219434a0cb5 9 modify it under the terms of the GNU Lesser General Public
sam_grove 0:6219434a0cb5 10 License as published by the Free Software Foundation; either
sam_grove 0:6219434a0cb5 11 version 2.1 of the License, or (at your option) any later version.
sam_grove 0:6219434a0cb5 12
sam_grove 0:6219434a0cb5 13 This library is distributed in the hope that it will be useful,
sam_grove 0:6219434a0cb5 14 but WITHOUT ANY WARRANTY; without even the implied warranty of
sam_grove 0:6219434a0cb5 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
sam_grove 0:6219434a0cb5 16 Lesser General Public License for more details.
sam_grove 0:6219434a0cb5 17
sam_grove 0:6219434a0cb5 18 You should have received a copy of the GNU Lesser General Public
sam_grove 0:6219434a0cb5 19 License along with this library; if not, write to the Free Software
sam_grove 0:6219434a0cb5 20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
sam_grove 0:6219434a0cb5 21 */
sam_grove 0:6219434a0cb5 22
sam_grove 0:6219434a0cb5 23 // DS 401 Digital IO handling according DS 401 V2.1 "Device Profile for Generic I/O Modules"
sam_grove 0:6219434a0cb5 24
sam_grove 0:6219434a0cb5 25 #ifndef __DS401_H__
sam_grove 0:6219434a0cb5 26 #define __DS401_H__
sam_grove 0:6219434a0cb5 27
sam_grove 0:6219434a0cb5 28 // Includes for the Canfestival
sam_grove 0:6219434a0cb5 29 #include "canfestival.h"
sam_grove 0:6219434a0cb5 30 #include "canopen_timer.h"
sam_grove 0:6219434a0cb5 31 #include "mbed_slave.h"
sam_grove 0:6219434a0cb5 32
sam_grove 0:6219434a0cb5 33 #ifdef __cplusplus
sam_grove 0:6219434a0cb5 34 extern "C" {
sam_grove 0:6219434a0cb5 35 #endif
sam_grove 0:6219434a0cb5 36
sam_grove 0:6219434a0cb5 37 unsigned char digital_input_handler(CO_Data* d, unsigned char *newInput, unsigned char size);
sam_grove 0:6219434a0cb5 38
sam_grove 0:6219434a0cb5 39 unsigned char digital_output_handler(CO_Data* d, unsigned char *newOuput, unsigned char size);
sam_grove 0:6219434a0cb5 40
sam_grove 0:6219434a0cb5 41 unsigned char analog_input_handler(CO_Data* d, unsigned int *newInput, unsigned char size);
sam_grove 0:6219434a0cb5 42
sam_grove 0:6219434a0cb5 43 unsigned char analog_output_handler(CO_Data* d, unsigned int *newOutput, unsigned char size);
sam_grove 0:6219434a0cb5 44
sam_grove 0:6219434a0cb5 45 #ifdef __cplusplus
sam_grove 0:6219434a0cb5 46 }
sam_grove 0:6219434a0cb5 47 #endif
sam_grove 0:6219434a0cb5 48
sam_grove 0:6219434a0cb5 49 #endif //__DS_401_h__