Contiki 2.6

hal.h

Go to the documentation of this file.
00001 /** @file hal/hal.h
00002  * @brief Generic set of HAL includes for all platforms.
00003  *
00004  * See also @ref hal for more documentation.
00005  *  
00006  * <!--(C) COPYRIGHT 2010 STMicroelectronics. All rights reserved.        -->
00007  */
00008   
00009 /** @addtogroup hal 
00010  *  @if STM32W10XX
00011  *    <center><h1>STM32W108xx Microprocessors</h1></center>
00012  *  @endif
00013  *
00014  * HAL function names have the following conventions:
00015  *
00016  *  <b>HAL which SimpleMAC library depends upon:</b>  API that is required for proper operation of the SimpleMAC library.  As with all of the HAL, it is provided as source and it is possible for the end customer to modify this code.  However, unlike other portions of the HAL, if the customer does modify this code,  it must ensure that equivalent functionality is still provided to ensure proper operation of the SimpleMAC library.
00017  *
00018  *
00019  *  <b>HAL for other chip capabilities:</b>   API which SimpleMAC does not directly depend on. However, much of this functionality may be required for proper operation of all features of the chip. 
00020  *
00021  *  <b>Additional HAL for sample applications:</b>  API which is included to assist the development of the included sample applications. This functionality may be very useful, but is not required for proper operation of the chip. This code and functionality may be freely modified by the end customer.
00022  *
00023  * <br><br>
00024  *
00025  * See also hal.h.
00026  */
00027 
00028 
00029 #ifndef __HAL_H__
00030 #define __HAL_H__
00031 
00032 // Keep micro first for specifics used by other headers
00033 #include "micro/micro-common.h"
00034 #include "micro/led.h"
00035 #include "micro/button.h"
00036 #include "micro/system-timer.h"
00037 #include "micro/cortexm3/nvm.h"
00038 #include "hal/micro/cortexm3/uart.h"
00039 #include "hal/micro/adc.h"
00040 
00041 #endif //__HAL_H__
00042