stm32: f24: doxygen updates for flash program width.

More doxygen, more better.
This commit is contained in:
Karl Palsson
2015-07-31 03:48:03 +00:00
parent ec15c1ca64
commit 40cde559a7
2 changed files with 6 additions and 2 deletions

View File

@@ -78,10 +78,15 @@
#define FLASH_CR_SNB_MASK 0x1f
#define FLASH_CR_PROGRAM_MASK 0x3
#define FLASH_CR_PROGRAM_SHIFT 8
/** @defgroup flash_cr_program_width Flash programming width
@ingroup flash_group
@{*/
#define FLASH_CR_PROGRAM_X8 0
#define FLASH_CR_PROGRAM_X16 1
#define FLASH_CR_PROGRAM_X32 2
#define FLASH_CR_PROGRAM_X64 3
/**@}*/
/* --- FLASH_OPTCR values -------------------------------------------------- */

View File

@@ -32,8 +32,7 @@
Set the programming word width. Note carefully the power supply voltage
restrictions under which the different word sizes may be used. See the
programming manual for more information.
@param psize: 0 (8-bit), 1 (16-bit), 2 (32-bit), 3 (64-bit)
@param[in] psize The programming word width one of: @ref flash_cr_program_width
*/
static inline void flash_set_program_size(uint32_t psize)