diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-11-29 20:06:48 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-11-29 20:06:48 +0000 |
commit | b21a96e14b7dba7e6d59beb946785c2f7fabc16e (patch) | |
tree | c488257e5a6c39bc0675414deb4f0659a57b6b16 /os/haltmp/include/can.h | |
parent | 3d87970a4d3f0f72560d725ecb284eaac1a69835 (diff) | |
download | ChibiOS-b21a96e14b7dba7e6d59beb946785c2f7fabc16e.tar.gz ChibiOS-b21a96e14b7dba7e6d59beb946785c2f7fabc16e.tar.bz2 ChibiOS-b21a96e14b7dba7e6d59beb946785c2f7fabc16e.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1365 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/haltmp/include/can.h')
-rw-r--r-- | os/haltmp/include/can.h | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/os/haltmp/include/can.h b/os/haltmp/include/can.h deleted file mode 100644 index 2a8ffc7e0..000000000 --- a/os/haltmp/include/can.h +++ /dev/null @@ -1,65 +0,0 @@ -/*
- ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
-
- This file is part of ChibiOS/RT.
-
- ChibiOS/RT is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS/RT is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file can.h
- * @brief CAN Driver macros and structures.
- * @addtogroup CAN
- * @{
- */
-
-#ifndef _CAN_H_
-#define _CAN_H_
-
-#if CH_HAL_USE_CAN
-
-/**
- * @brief Driver state machine possible states.
- */
-typedef enum {
- CAN_UNINIT = 0, /**< @brief Not initialized. */
- CAN_STOP = 1, /**< @brief Stopped. */
- CAN_READY = 2, /**< @brief Ready. */
- CAN_SLEEP = 3 /**< @brief Sleep state. */
-} canstate_t;
-
-#include "can_lld.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
- void canInit(void);
- void canObjectInit(CANDriver *canp);
- void canStart(CANDriver *canp, const CANConfig *config);
- void canStop(CANDriver *canp);
- msg_t canTransmit(CANDriver *canp, const CANFrame *cfp, systime_t timeout);
- msg_t canReceive(CANDriver *canp, CANFrame *cfp, systime_t timeout);
-#if CAN_USE_SLEEP_MODE
- void canSleep(CANDriver *canp);
- void canWakeup(CANDriver *canp);
-#endif /* CAN_USE_SLEEP_MODE */
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* CH_HAL_USE_CAN */
-
-#endif /* _CAN_H_ */
-
-/** @} */
|