diff options
Diffstat (limited to 'LUFA/Drivers/Board/Temperature.h')
-rw-r--r-- | LUFA/Drivers/Board/Temperature.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/LUFA/Drivers/Board/Temperature.h b/LUFA/Drivers/Board/Temperature.h index 40d8e9890e..ba9752e5a0 100644 --- a/LUFA/Drivers/Board/Temperature.h +++ b/LUFA/Drivers/Board/Temperature.h @@ -1,7 +1,7 @@ /* LUFA Library Copyright (C) Dean Camera, 2010. - + dean [at] fourwalledcubicle [dot] com www.fourwalledcubicle.com */ @@ -9,13 +9,13 @@ /* Copyright 2010 Dean Camera (dean [at] fourwalledcubicle [dot] com) - Permission to use, copy, modify, distribute, and sell this + Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted - without fee, provided that the above copyright notice appear in + without fee, provided that the above copyright notice appear in all copies and that both that the copyright notice and this - permission notice and warranty disclaimer appear in supporting - documentation, and that the name of the author not be used in - advertising or publicity pertaining to distribution of the + permission notice and warranty disclaimer appear in supporting + documentation, and that the name of the author not be used in + advertising or publicity pertaining to distribution of the software without specific, written prior permission. The author disclaim all warranties with regard to this @@ -31,7 +31,7 @@ /** \file * \brief Master include file for the board temperature sensor driver. * - * Master include file for the board temperature sensor driver, for the USB boards which contain a temperature sensor. + * Master include file for the board temperature sensor driver, for the USB boards which contain a temperature sensor. */ /** \ingroup Group_BoardDrivers @@ -58,7 +58,7 @@ #include "../../Common/Common.h" #include "../Peripheral/ADC.h" - + #if (BOARD == BOARD_NONE) #error The Board Temperature Sensor driver cannot be used if the makefile BOARD option is not set. #elif ((BOARD != BOARD_USBKEY) && (BOARD != BOARD_STK525) && \ @@ -76,7 +76,7 @@ /* Macros: */ /** ADC channel number for the temperature sensor. */ #define TEMP_ADC_CHANNEL 0 - + /** ADC channel MUX mask for the temperature sensor. */ #define TEMP_ADC_CHANNEL_MASK ADC_CHANNEL0 @@ -85,7 +85,7 @@ /** Maximum returnable temperature from the \ref Temperature_GetTemperature() function. */ #define TEMP_MAX_TEMP ((TEMP_TABLE_SIZE - 1) + TEMP_TABLE_OFFSET) - + /* Inline Functions: */ /** Initialises the temperature sensor driver, including setting up the appropriate ADC channel. * This must be called before any other temperature sensor routines. @@ -118,7 +118,8 @@ #if defined(__cplusplus) } #endif - + #endif /** @} */ + |