X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/d4ca7fb44c7d326b96cf391f0275dc323dbe24de..254a0c1ae83750a3c3e4e5ebfd390146f8ac36e0:/LUFA/Drivers/Board/Temperature.h diff --git a/LUFA/Drivers/Board/Temperature.h b/LUFA/Drivers/Board/Temperature.h index 84e26933a..1b2baf2fb 100644 --- a/LUFA/Drivers/Board/Temperature.h +++ b/LUFA/Drivers/Board/Temperature.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2009. + Copyright (C) Dean Camera, 2010. dean [at] fourwalledcubicle [dot] com www.fourwalledcubicle.com */ /* - Copyright 2009 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2010 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -79,13 +79,16 @@ /* Public Interface - May be used in end-application: */ /* Macros: */ /** ADC channel number for the temperature sensor. */ - #define TEMP_ADC_CHANNEL 0 + #define TEMP_ADC_CHANNEL 0 + /** ADC channel MUX mask for the temperature sensor. */ + #define TEMP_ADC_CHANNEL_MASK ADC_CHANNEL0 + /** Minimum returnable temperature from the \ref Temperature_GetTemperature() function. */ - #define TEMP_MIN_TEMP TEMP_TABLE_OFFSET + #define TEMP_MIN_TEMP TEMP_TABLE_OFFSET /** Maximum returnable temperature from the \ref Temperature_GetTemperature() function. */ - #define TEMP_MAX_TEMP ((TEMP_TABLE_SIZE - 1) + TEMP_TABLE_OFFSET) + #define TEMP_MAX_TEMP ((TEMP_TABLE_SIZE - 1) + TEMP_TABLE_OFFSET) /* Pseudo-Function Macros: */ #if defined(__DOXYGEN__)