From 786138dc6f95db06baa56b97333264435c8f47db Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Tue, 8 May 2012 11:41:03 -0400 Subject: libmaple/stm32.h: Doxygen. Signed-off-by: Marti Bolivar --- libmaple/include/libmaple/stm32.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'libmaple') diff --git a/libmaple/include/libmaple/stm32.h b/libmaple/include/libmaple/stm32.h index 80d0777..6b8e905 100644 --- a/libmaple/include/libmaple/stm32.h +++ b/libmaple/include/libmaple/stm32.h @@ -145,6 +145,23 @@ extern "C" { */ #define STM32_SRAM_END +/** + * @brief 1 if the target MCU has the FSMC peripheral, and 0 otherwise. + * + * Note that the feature set of the FSMC peripheral is restricted on + * some MCUs. + */ +#define STM32_HAVE_FSMC + +/** + * @brief 1 if the target MCU has a USB peripheral, and 0 otherwise. + * + * Note that a variety of USB peripherals are available across the + * different series, with widely varying feature sets and programming + * interfaces. This macro will be 1 if any such peripheral is present. + */ +#define STM32_HAVE_USB + #endif /* __DOXYGEN_PREDEFINED_HACK */ /* -- cgit v1.2.3