meh

Fork of mbed by mbed official

Revision:
106:ba1f97679dad
Parent:
99:dbbf35b96557
Child:
110:165afa46840b
diff -r 8ed44a420e5c -r ba1f97679dad TARGET_MTS_MDOT_F405RG/stm32f4xx_hal_flash.h
--- a/TARGET_MTS_MDOT_F405RG/stm32f4xx_hal_flash.h	Tue Aug 18 12:47:28 2015 +0100
+++ b/TARGET_MTS_MDOT_F405RG/stm32f4xx_hal_flash.h	Wed Sep 02 14:17:43 2015 +0100
@@ -2,8 +2,8 @@
   ******************************************************************************
   * @file    stm32f4xx_hal_flash.h
   * @author  MCD Application Team
-  * @version V1.3.0
-  * @date    09-March-2015
+  * @version V1.3.2
+  * @date    26-June-2015
   * @brief   Header file of FLASH HAL module.
   ******************************************************************************
   * @attention
@@ -194,6 +194,13 @@
 #define __HAL_FLASH_SET_LATENCY(__LATENCY__) (*(__IO uint8_t *)ACR_BYTE0_ADDRESS = (uint8_t)(__LATENCY__))
 
 /**
+  * @brief  Get the FLASH Latency.
+  * @retval FLASH Latency
+  *          The value of this parameter depend on device used within the same series
+  */ 
+#define __HAL_FLASH_GET_LATENCY()     (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY))
+
+/**
   * @brief  Enable the FLASH prefetch buffer.
   * @retval none
   */