ChibiOS/RT Architecture - Reference Manual - Guides |
00001 /* 00002 ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio. 00003 00004 This file is part of ChibiOS/RT. 00005 00006 ChibiOS/RT is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation; either version 3 of the License, or 00009 (at your option) any later version. 00010 00011 ChibiOS/RT is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 GNU General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with this program. If not, see <http://www.gnu.org/licenses/>. 00018 00019 --- 00020 00021 A special exception to the GPL can be applied should you wish to distribute 00022 a combined work that includes ChibiOS/RT, without being obliged to provide 00023 the source code for any proprietary components. See the file exception.txt 00024 for full details of how and when the exception can be applied. 00025 */ 00026 00027 /** 00028 * @file hal.h 00029 * @brief HAL subsystem header. 00030 * 00031 * @addtogroup HAL 00032 * @{ 00033 */ 00034 00035 #ifndef _HAL_H_ 00036 #define _HAL_H_ 00037 00038 #include "board.h" 00039 #include "halconf.h" 00040 00041 #include "hal_lld.h" 00042 00043 #include "pal.h" 00044 #include "adc.h" 00045 #include "can.h" 00046 #include "mac.h" 00047 #include "pwm.h" 00048 #include "serial.h" 00049 #include "spi.h" 00050 #include "mmc_spi.h" 00051 00052 /*===========================================================================*/ 00053 /* External declarations. */ 00054 /*===========================================================================*/ 00055 00056 #ifdef __cplusplus 00057 extern "C" { 00058 #endif 00059 void halInit(void); 00060 #ifdef __cplusplus 00061 } 00062 #endif 00063 00064 #endif /* _HAL_H_ */ 00065 00066 /** @} */