diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-05-08 11:41:03 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-05-08 11:41:03 -0400 |
commit | 786138dc6f95db06baa56b97333264435c8f47db (patch) | |
tree | 6168b60cedc82b0511a1f6e55a2f2bc813834708 /libmaple/include | |
parent | d03ab7f8cfbf02ba68cfe1e3c28cfa6b37c3a8c6 (diff) | |
download | librambutan-786138dc6f95db06baa56b97333264435c8f47db.tar.gz librambutan-786138dc6f95db06baa56b97333264435c8f47db.zip |
libmaple/stm32.h: Doxygen.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple/include')
-rw-r--r-- | libmaple/include/libmaple/stm32.h | 17 |
1 files changed, 17 insertions, 0 deletions
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 */ /* |