library for C++ CANOpen implementation. mbed independant, but is easy to attach into with mbed.

Dependents:   ppCANOpen_Example DISCO-F746NG_rtos_test

Example:

Import programppCANOpen_Example

I am no longer actively working on the ppCANOpen library, however, I want to publish this project so that anyone who wants to pick up any of the pieces can have a good example. This is a a project I was working on using the ppCANOpen library. It has a pretty in deep use of the object dictionary structure. And a number of functions to control high voltage pinball drivers, if you're into that sort of thing.

Committer:
ptpaterson
Date:
Sat Feb 13 20:22:59 2016 +0000
Revision:
5:22a337cdc0e3
Parent:
3:12b3c25bdeba
PDO receive complete

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ptpaterson 3:12b3c25bdeba 1 /**
ptpaterson 3:12b3c25bdeba 2 ******************************************************************************
ptpaterson 3:12b3c25bdeba 3 * @file
ptpaterson 3:12b3c25bdeba 4 * @author Paul Paterson
ptpaterson 3:12b3c25bdeba 5 * @version
ptpaterson 3:12b3c25bdeba 6 * @date 2015-12-14
ptpaterson 3:12b3c25bdeba 7 * @brief CANOpen api for STM32 Nucleo-F091RC in mbed
ptpaterson 3:12b3c25bdeba 8 ******************************************************************************
ptpaterson 3:12b3c25bdeba 9 * @attention
ptpaterson 3:12b3c25bdeba 10 *
ptpaterson 3:12b3c25bdeba 11 * <h2><center>&copy; COPYRIGHT(c) 2015 Paul Paterson
ptpaterson 3:12b3c25bdeba 12 *
ptpaterson 3:12b3c25bdeba 13 * All rights reserved.
ptpaterson 3:12b3c25bdeba 14
ptpaterson 3:12b3c25bdeba 15 This program is free software: you can redistribute it and/or modify
ptpaterson 3:12b3c25bdeba 16 it under the terms of the GNU General Public License as published by
ptpaterson 3:12b3c25bdeba 17 the Free Software Foundation, either version 3 of the License, or
ptpaterson 3:12b3c25bdeba 18 (at your option) any later version.
ptpaterson 3:12b3c25bdeba 19
ptpaterson 3:12b3c25bdeba 20 This program is distributed in the hope that it will be useful,
ptpaterson 3:12b3c25bdeba 21 but WITHOUT ANY WARRANTY; without even the implied warranty of
ptpaterson 3:12b3c25bdeba 22 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
ptpaterson 3:12b3c25bdeba 23 GNU General Public License for more details.
ptpaterson 3:12b3c25bdeba 24
ptpaterson 3:12b3c25bdeba 25 You should have received a copy of the GNU General Public License
ptpaterson 3:12b3c25bdeba 26 along with this program. If not, see <http://www.gnu.org/licenses/>.
ptpaterson 3:12b3c25bdeba 27 */
ptpaterson 3:12b3c25bdeba 28
ptpaterson 3:12b3c25bdeba 29 #ifndef PPCAN_CANOPEN_HANDLE_API_H
ptpaterson 3:12b3c25bdeba 30 #define PPCAN_CANOPEN_HANDLE_API_H
ptpaterson 3:12b3c25bdeba 31
ptpaterson 3:12b3c25bdeba 32 namespace mbed {
ptpaterson 3:12b3c25bdeba 33 class CAN;
ptpaterson 3:12b3c25bdeba 34 }
ptpaterson 3:12b3c25bdeba 35
ptpaterson 3:12b3c25bdeba 36 /** object to pass in and out of API */
ptpaterson 3:12b3c25bdeba 37 struct CanOpenHandle {
ptpaterson 3:12b3c25bdeba 38 mbed::CAN * can;
ptpaterson 3:12b3c25bdeba 39 };
ptpaterson 3:12b3c25bdeba 40
ptpaterson 3:12b3c25bdeba 41 #endif /* PPCAN_CANOPEN_HANDLE_API_H */