git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1154 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2009-09-06 13:29:07 +00:00
parent 2a4b6ba47e
commit 6535195a33
3 changed files with 2 additions and 77 deletions

View File

@ -46,9 +46,9 @@
#if !defined (STM32F10X_LD) && !defined (STM32F10X_MD) && !defined (STM32F10X_HD) && !defined (STM32F10X_CL)
/* #define STM32F10X_LD */ /*!< STM32F10X_LD: STM32 Low density devices */
/* #define STM32F10X_MD */ /*!< STM32F10X_MD: STM32 Medium density devices */
#define STM32F10X_MD /*!< STM32F10X_MD: STM32 Medium density devices */
/* #define STM32F10X_HD */ /*!< STM32F10X_HD: STM32 High density devices */
#define STM32F10X_CL /*!< STM32F10X_CL: STM32 Connectivity line devices */
/* #define STM32F10X_CL */ /*!< STM32F10X_CL: STM32 Connectivity line devices */
#endif
/* Tip: To avoid modifying this file each time you need to switch between these
devices, you can define the device in your toolchain compiler preprocessor.

View File

@ -1,27 +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 STM32/stm32_can.c
* @brief STM32 CAN driver code
* @addtogroup STM32_CAN
* @{
*/
/** @} */

View File

@ -1,48 +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 STM32/stm32_can.h
* @brief STM32 CAN driver header file
* @addtogroup STM32_CAN
* @{
*/
#ifndef _STM32_CAN_H_
#define _STM32_CAN_H_
typedef struct {
} CANConfig;
typedef struct {
} CANMessage;
#ifdef __cplusplus
extern "C" {
#endif
void canInit(CANConfig *config);
bool_t canReceive(CANMessage *canmsg);
bool_t canTransmit(CANMessage *canmsg);
#ifdef __cplusplus
}
#endif
#endif /* _STM32_CAN_H_ */
/** @} */