From a8b66f318dda3cc18dfcedaa3af3d01ab68b82e8 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 26 Dec 2010 14:55:26 +0000 Subject: Documentation improvements - put driver example code into its own section, fix incorrect and missing section names. --- LUFA/Drivers/Board/Temperature.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'LUFA/Drivers/Board/Temperature.h') diff --git a/LUFA/Drivers/Board/Temperature.h b/LUFA/Drivers/Board/Temperature.h index c8b36f586..fa86ccd24 100644 --- a/LUFA/Drivers/Board/Temperature.h +++ b/LUFA/Drivers/Board/Temperature.h @@ -41,13 +41,16 @@ * The following files must be built with any user project that uses this module: * - LUFA/Drivers/Board/Temperature.c (Makefile source module name: LUFA_SRC_TEMPERATURE) * - * \section Module Description + * \section Sec_ModDescription Module Description * Temperature sensor driver. This provides an easy to use interface for the hardware temperature sensor located * on many boards. It provides an interface to configure the sensor and appropriate ADC channel, plus read out the * current temperature in degrees C. It is designed for and will only work with the temperature sensor located on the * official Atmel USB AVR boards, as each sensor has different characteristics. * - * Example Usage: + * \section Sec_ExampleUsage Example Usage + * The following snippet is an example of how this module may be used within a typical + * application. + * * \code * // Initialise the ADC and board temperature sensor drivers before first use * ADC_Init(ADC_FREE_RUNNING | ADC_PRESCALE_128); -- cgit v1.2.3