mbed library sources for TON Board V1.2

Fork of mbed-dev by mbed official

Revision:
167:e84263d55307
Parent:
160:d5399cc887bb
diff -r c97ed07ec1a8 -r e84263d55307 drivers/FlashIAP.h
--- a/drivers/FlashIAP.h	Thu Jun 08 15:02:37 2017 +0100
+++ b/drivers/FlashIAP.h	Wed Jun 21 17:46:44 2017 +0100
@@ -22,7 +22,7 @@
 #ifndef MBED_FLASHIAP_H
 #define MBED_FLASHIAP_H
 
-#ifdef DEVICE_FLASH
+#if defined (DEVICE_FLASH) || defined(DOXYGEN_ONLY)
 
 #include "flash_api.h"
 #include "platform/SingletonPtr.h"
@@ -31,11 +31,11 @@
 namespace mbed {
 
 /** \addtogroup drivers */
-/** @{*/
 
 /** Flash IAP driver. It invokes flash HAL functions.
  *
- * Note Synchronization level: Thread safe
+ * @note Synchronization level: Thread safe
+ * @ingroup drivers
  */
 class FlashIAP {
 public:
@@ -117,7 +117,7 @@
 
 private:
 
-    /** Check if address and size are aligned to a sector
+    /* Check if address and size are aligned to a sector
      *
      *  @param addr Address of block to check for alignment
      *  @param size Size of block to check for alignment
@@ -134,5 +134,3 @@
 #endif  /* DEVICE_FLASH */
 
 #endif  /* MBED_FLASHIAP_H */
-
-/** @}*/