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/Dataflash.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'LUFA/Drivers/Board/Dataflash.h') diff --git a/LUFA/Drivers/Board/Dataflash.h b/LUFA/Drivers/Board/Dataflash.h index d443c8f5a..45654c000 100644 --- a/LUFA/Drivers/Board/Dataflash.h +++ b/LUFA/Drivers/Board/Dataflash.h @@ -50,7 +50,7 @@ * The following files must be built with any user project that uses this module: * - None * - * \section Module Description + * \section Sec_ModDescription Module Description * Dataflash driver. This module provides an easy to use interface for the Dataflash ICs located on many boards, * for the storage of large amounts of data into the Dataflash's non-volatile memory. * @@ -59,7 +59,10 @@ * * For possible BOARD makefile values, see \ref Group_BoardTypes. * - * 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 SPI and board Dataflash drivers before first use * SPI_Init(SPI_SPEED_FCPU_DIV_2 | SPI_ORDER_MSB_FIRST | SPI_SCK_LEAD_FALLING | -- cgit v1.2.3