.
TARGET_NUCLEO_F072RB/stm32f0xx_hal_flash.h@0:88e313c910d0, 2015-08-13 (annotated)
- Committer:
- jhon309
- Date:
- Thu Aug 13 00:20:09 2015 +0000
- Revision:
- 0:88e313c910d0
RTC Example
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jhon309 | 0:88e313c910d0 | 1 | /** |
jhon309 | 0:88e313c910d0 | 2 | ****************************************************************************** |
jhon309 | 0:88e313c910d0 | 3 | * @file stm32f0xx_hal_flash.h |
jhon309 | 0:88e313c910d0 | 4 | * @author MCD Application Team |
jhon309 | 0:88e313c910d0 | 5 | * @version V1.2.0 |
jhon309 | 0:88e313c910d0 | 6 | * @date 11-December-2014 |
jhon309 | 0:88e313c910d0 | 7 | * @brief Header file of Flash HAL module. |
jhon309 | 0:88e313c910d0 | 8 | ****************************************************************************** |
jhon309 | 0:88e313c910d0 | 9 | * @attention |
jhon309 | 0:88e313c910d0 | 10 | * |
jhon309 | 0:88e313c910d0 | 11 | * <h2><center>© COPYRIGHT(c) 2014 STMicroelectronics</center></h2> |
jhon309 | 0:88e313c910d0 | 12 | * |
jhon309 | 0:88e313c910d0 | 13 | * Redistribution and use in source and binary forms, with or without modification, |
jhon309 | 0:88e313c910d0 | 14 | * are permitted provided that the following conditions are met: |
jhon309 | 0:88e313c910d0 | 15 | * 1. Redistributions of source code must retain the above copyright notice, |
jhon309 | 0:88e313c910d0 | 16 | * this list of conditions and the following disclaimer. |
jhon309 | 0:88e313c910d0 | 17 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
jhon309 | 0:88e313c910d0 | 18 | * this list of conditions and the following disclaimer in the documentation |
jhon309 | 0:88e313c910d0 | 19 | * and/or other materials provided with the distribution. |
jhon309 | 0:88e313c910d0 | 20 | * 3. Neither the name of STMicroelectronics nor the names of its contributors |
jhon309 | 0:88e313c910d0 | 21 | * may be used to endorse or promote products derived from this software |
jhon309 | 0:88e313c910d0 | 22 | * without specific prior written permission. |
jhon309 | 0:88e313c910d0 | 23 | * |
jhon309 | 0:88e313c910d0 | 24 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
jhon309 | 0:88e313c910d0 | 25 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
jhon309 | 0:88e313c910d0 | 26 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
jhon309 | 0:88e313c910d0 | 27 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
jhon309 | 0:88e313c910d0 | 28 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
jhon309 | 0:88e313c910d0 | 29 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
jhon309 | 0:88e313c910d0 | 30 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
jhon309 | 0:88e313c910d0 | 31 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
jhon309 | 0:88e313c910d0 | 32 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
jhon309 | 0:88e313c910d0 | 33 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
jhon309 | 0:88e313c910d0 | 34 | * |
jhon309 | 0:88e313c910d0 | 35 | ****************************************************************************** |
jhon309 | 0:88e313c910d0 | 36 | */ |
jhon309 | 0:88e313c910d0 | 37 | |
jhon309 | 0:88e313c910d0 | 38 | /* Define to prevent recursive inclusion -------------------------------------*/ |
jhon309 | 0:88e313c910d0 | 39 | #ifndef __STM32F0xx_HAL_FLASH_H |
jhon309 | 0:88e313c910d0 | 40 | #define __STM32F0xx_HAL_FLASH_H |
jhon309 | 0:88e313c910d0 | 41 | |
jhon309 | 0:88e313c910d0 | 42 | #ifdef __cplusplus |
jhon309 | 0:88e313c910d0 | 43 | extern "C" { |
jhon309 | 0:88e313c910d0 | 44 | #endif |
jhon309 | 0:88e313c910d0 | 45 | |
jhon309 | 0:88e313c910d0 | 46 | /* Includes ------------------------------------------------------------------*/ |
jhon309 | 0:88e313c910d0 | 47 | #include "stm32f0xx_hal_def.h" |
jhon309 | 0:88e313c910d0 | 48 | |
jhon309 | 0:88e313c910d0 | 49 | /** @addtogroup STM32F0xx_HAL_Driver |
jhon309 | 0:88e313c910d0 | 50 | * @{ |
jhon309 | 0:88e313c910d0 | 51 | */ |
jhon309 | 0:88e313c910d0 | 52 | |
jhon309 | 0:88e313c910d0 | 53 | /** @addtogroup FLASH |
jhon309 | 0:88e313c910d0 | 54 | * @{ |
jhon309 | 0:88e313c910d0 | 55 | */ |
jhon309 | 0:88e313c910d0 | 56 | |
jhon309 | 0:88e313c910d0 | 57 | /* Exported types ------------------------------------------------------------*/ |
jhon309 | 0:88e313c910d0 | 58 | |
jhon309 | 0:88e313c910d0 | 59 | /** @defgroup FLASH_Exported_Types FLASH Exported Types |
jhon309 | 0:88e313c910d0 | 60 | * @{ |
jhon309 | 0:88e313c910d0 | 61 | */ |
jhon309 | 0:88e313c910d0 | 62 | |
jhon309 | 0:88e313c910d0 | 63 | /** |
jhon309 | 0:88e313c910d0 | 64 | * @brief FLASH Erase structure definition |
jhon309 | 0:88e313c910d0 | 65 | */ |
jhon309 | 0:88e313c910d0 | 66 | typedef struct |
jhon309 | 0:88e313c910d0 | 67 | { |
jhon309 | 0:88e313c910d0 | 68 | uint32_t TypeErase; /*!< TypeErase: Mass erase or page erase. |
jhon309 | 0:88e313c910d0 | 69 | This parameter can be a value of @ref FLASH_Type_Erase */ |
jhon309 | 0:88e313c910d0 | 70 | |
jhon309 | 0:88e313c910d0 | 71 | uint32_t PageAddress; /*!< PageAdress: Initial FLASH page address to erase when mass erase is disabled |
jhon309 | 0:88e313c910d0 | 72 | This parameter must be a value of @ref FLASHEx_Address */ |
jhon309 | 0:88e313c910d0 | 73 | |
jhon309 | 0:88e313c910d0 | 74 | uint32_t NbPages; /*!< NbPages: Number of pagess to be erased. |
jhon309 | 0:88e313c910d0 | 75 | This parameter must be a value between 1 and (max number of pages - value of initial page)*/ |
jhon309 | 0:88e313c910d0 | 76 | |
jhon309 | 0:88e313c910d0 | 77 | } FLASH_EraseInitTypeDef; |
jhon309 | 0:88e313c910d0 | 78 | |
jhon309 | 0:88e313c910d0 | 79 | /** |
jhon309 | 0:88e313c910d0 | 80 | * @brief FLASH Options bytes program structure definition |
jhon309 | 0:88e313c910d0 | 81 | */ |
jhon309 | 0:88e313c910d0 | 82 | typedef struct |
jhon309 | 0:88e313c910d0 | 83 | { |
jhon309 | 0:88e313c910d0 | 84 | uint32_t OptionType; /*!< OptionType: Option byte to be configured. |
jhon309 | 0:88e313c910d0 | 85 | This parameter can be a value of @ref FLASH_OB_Type */ |
jhon309 | 0:88e313c910d0 | 86 | |
jhon309 | 0:88e313c910d0 | 87 | uint32_t WRPState; /*!< WRPState: Write protection activation or deactivation. |
jhon309 | 0:88e313c910d0 | 88 | This parameter can be a value of @ref FLASH_OB_WRP_State */ |
jhon309 | 0:88e313c910d0 | 89 | |
jhon309 | 0:88e313c910d0 | 90 | uint32_t WRPPage; /*!< WRPSector: specifies the page(s) to be write protected |
jhon309 | 0:88e313c910d0 | 91 | This parameter can be a value of @ref FLASHEx_OB_Write_Protection */ |
jhon309 | 0:88e313c910d0 | 92 | |
jhon309 | 0:88e313c910d0 | 93 | uint8_t RDPLevel; /*!< RDPLevel: Set the read protection level.. |
jhon309 | 0:88e313c910d0 | 94 | This parameter can be a value of @ref FLASH_OB_Read_Protection */ |
jhon309 | 0:88e313c910d0 | 95 | |
jhon309 | 0:88e313c910d0 | 96 | uint8_t USERConfig; /*!< USERConfig: Program the FLASH User Option Byte: |
jhon309 | 0:88e313c910d0 | 97 | IWDG / STOP / STDBY / BOOT1 / VDDA_ANALOG / SRAM_PARITY |
jhon309 | 0:88e313c910d0 | 98 | This parameter can be a combination of @ref FLASH_OB_Watchdog, @ref FLASH_OB_nRST_STOP, |
jhon309 | 0:88e313c910d0 | 99 | @ref FLASH_OB_nRST_STDBY, @ref FLASH_OB_BOOT1, @ref FLASH_OB_VDDA_Analog_Monitoring and |
jhon309 | 0:88e313c910d0 | 100 | @ref FLASH_OB_RAM_Parity_Check_Enable */ |
jhon309 | 0:88e313c910d0 | 101 | |
jhon309 | 0:88e313c910d0 | 102 | uint32_t DATAAddress; /*!< DATAAddress: Address of the option byte DATA to be prgrammed |
jhon309 | 0:88e313c910d0 | 103 | This parameter can be a value of @ref FLASH_OB_Data_Address */ |
jhon309 | 0:88e313c910d0 | 104 | |
jhon309 | 0:88e313c910d0 | 105 | uint8_t DATAData; /*!< DATAData: Data to be stored in the option byte DATA |
jhon309 | 0:88e313c910d0 | 106 | This parameter can have any value */ |
jhon309 | 0:88e313c910d0 | 107 | |
jhon309 | 0:88e313c910d0 | 108 | } FLASH_OBProgramInitTypeDef; |
jhon309 | 0:88e313c910d0 | 109 | |
jhon309 | 0:88e313c910d0 | 110 | /** |
jhon309 | 0:88e313c910d0 | 111 | * @brief FLASH Procedure structure definition |
jhon309 | 0:88e313c910d0 | 112 | */ |
jhon309 | 0:88e313c910d0 | 113 | typedef enum |
jhon309 | 0:88e313c910d0 | 114 | { |
jhon309 | 0:88e313c910d0 | 115 | FLASH_PROC_NONE = 0, |
jhon309 | 0:88e313c910d0 | 116 | FLASH_PROC_PAGEERASE = 1, |
jhon309 | 0:88e313c910d0 | 117 | FLASH_PROC_MASSERASE = 2, |
jhon309 | 0:88e313c910d0 | 118 | FLASH_PROC_PROGRAMHALFWORD = 3, |
jhon309 | 0:88e313c910d0 | 119 | FLASH_PROC_PROGRAMWORD = 4, |
jhon309 | 0:88e313c910d0 | 120 | FLASH_PROC_PROGRAMDOUBLEWORD = 5 |
jhon309 | 0:88e313c910d0 | 121 | } FLASH_ProcedureTypeDef; |
jhon309 | 0:88e313c910d0 | 122 | |
jhon309 | 0:88e313c910d0 | 123 | /** |
jhon309 | 0:88e313c910d0 | 124 | * @brief FLASH handle Structure definition |
jhon309 | 0:88e313c910d0 | 125 | */ |
jhon309 | 0:88e313c910d0 | 126 | typedef struct |
jhon309 | 0:88e313c910d0 | 127 | { |
jhon309 | 0:88e313c910d0 | 128 | __IO FLASH_ProcedureTypeDef ProcedureOnGoing; /*!< Internal variable to indicate which procedure is ongoing or not in IT context */ |
jhon309 | 0:88e313c910d0 | 129 | |
jhon309 | 0:88e313c910d0 | 130 | __IO uint32_t DataRemaining; /*!< Internal variable to save the remaining pages to erase or half-word to program in IT context */ |
jhon309 | 0:88e313c910d0 | 131 | |
jhon309 | 0:88e313c910d0 | 132 | __IO uint32_t Address; /*!< Internal variable to save address selected for program or erase */ |
jhon309 | 0:88e313c910d0 | 133 | |
jhon309 | 0:88e313c910d0 | 134 | __IO uint64_t Data; /*!< Internal variable to save data to be programmed */ |
jhon309 | 0:88e313c910d0 | 135 | |
jhon309 | 0:88e313c910d0 | 136 | HAL_LockTypeDef Lock; /*!< FLASH locking object */ |
jhon309 | 0:88e313c910d0 | 137 | |
jhon309 | 0:88e313c910d0 | 138 | __IO uint32_t ErrorCode; /*!< FLASH error code |
jhon309 | 0:88e313c910d0 | 139 | This parameter can be a value of @ref FLASH_Error */ |
jhon309 | 0:88e313c910d0 | 140 | |
jhon309 | 0:88e313c910d0 | 141 | } FLASH_ProcessTypeDef; |
jhon309 | 0:88e313c910d0 | 142 | |
jhon309 | 0:88e313c910d0 | 143 | /** |
jhon309 | 0:88e313c910d0 | 144 | * @} |
jhon309 | 0:88e313c910d0 | 145 | */ |
jhon309 | 0:88e313c910d0 | 146 | |
jhon309 | 0:88e313c910d0 | 147 | /* Exported constants --------------------------------------------------------*/ |
jhon309 | 0:88e313c910d0 | 148 | |
jhon309 | 0:88e313c910d0 | 149 | /** @defgroup FLASH_Exported_Constants FLASH Exported Constants |
jhon309 | 0:88e313c910d0 | 150 | * @{ |
jhon309 | 0:88e313c910d0 | 151 | */ |
jhon309 | 0:88e313c910d0 | 152 | |
jhon309 | 0:88e313c910d0 | 153 | /** @defgroup FLASH_Error FLASH Error |
jhon309 | 0:88e313c910d0 | 154 | * @{ |
jhon309 | 0:88e313c910d0 | 155 | */ |
jhon309 | 0:88e313c910d0 | 156 | #define FLASH_ERROR_NONE ((uint32_t)0x00000000) |
jhon309 | 0:88e313c910d0 | 157 | #define FLASH_ERROR_PG ((uint32_t)0x00000001) |
jhon309 | 0:88e313c910d0 | 158 | #define FLASH_ERROR_WRP ((uint32_t)0x00000002) |
jhon309 | 0:88e313c910d0 | 159 | /** |
jhon309 | 0:88e313c910d0 | 160 | * @} |
jhon309 | 0:88e313c910d0 | 161 | */ |
jhon309 | 0:88e313c910d0 | 162 | |
jhon309 | 0:88e313c910d0 | 163 | /** @defgroup FLASH_Type_Erase FLASH Type Erase |
jhon309 | 0:88e313c910d0 | 164 | * @{ |
jhon309 | 0:88e313c910d0 | 165 | */ |
jhon309 | 0:88e313c910d0 | 166 | #define TYPEERASE_PAGES ((uint32_t)0x00) /*!<Pages erase only*/ |
jhon309 | 0:88e313c910d0 | 167 | #define TYPEERASE_MASSERASE ((uint32_t)0x01) /*!<Flash mass erase activation*/ |
jhon309 | 0:88e313c910d0 | 168 | |
jhon309 | 0:88e313c910d0 | 169 | #define IS_TYPEERASE(VALUE) (((VALUE) == TYPEERASE_PAGES) || \ |
jhon309 | 0:88e313c910d0 | 170 | ((VALUE) == TYPEERASE_MASSERASE)) |
jhon309 | 0:88e313c910d0 | 171 | /** |
jhon309 | 0:88e313c910d0 | 172 | * @} |
jhon309 | 0:88e313c910d0 | 173 | */ |
jhon309 | 0:88e313c910d0 | 174 | |
jhon309 | 0:88e313c910d0 | 175 | /** @defgroup FLASH_Type_Program FLASH Type Program |
jhon309 | 0:88e313c910d0 | 176 | * @{ |
jhon309 | 0:88e313c910d0 | 177 | */ |
jhon309 | 0:88e313c910d0 | 178 | #define TYPEPROGRAM_HALFWORD ((uint32_t)0x01) /*!<Program a half-word (16-bit) at a specified address.*/ |
jhon309 | 0:88e313c910d0 | 179 | #define TYPEPROGRAM_WORD ((uint32_t)0x02) /*!<Program a word (32-bit) at a specified address.*/ |
jhon309 | 0:88e313c910d0 | 180 | #define TYPEPROGRAM_DOUBLEWORD ((uint32_t)0x03) /*!<Program a double word (64-bit) at a specified address*/ |
jhon309 | 0:88e313c910d0 | 181 | |
jhon309 | 0:88e313c910d0 | 182 | #define IS_TYPEPROGRAM(VALUE) (((VALUE) == TYPEPROGRAM_HALFWORD) || \ |
jhon309 | 0:88e313c910d0 | 183 | ((VALUE) == TYPEPROGRAM_WORD) || \ |
jhon309 | 0:88e313c910d0 | 184 | ((VALUE) == TYPEPROGRAM_DOUBLEWORD)) |
jhon309 | 0:88e313c910d0 | 185 | /** |
jhon309 | 0:88e313c910d0 | 186 | * @} |
jhon309 | 0:88e313c910d0 | 187 | */ |
jhon309 | 0:88e313c910d0 | 188 | |
jhon309 | 0:88e313c910d0 | 189 | /** @defgroup FLASH_OB_WRP_State FLASH WRP State |
jhon309 | 0:88e313c910d0 | 190 | * @{ |
jhon309 | 0:88e313c910d0 | 191 | */ |
jhon309 | 0:88e313c910d0 | 192 | #define WRPSTATE_DISABLE ((uint32_t)0x00) /*!<Disable the write protection of the desired pages*/ |
jhon309 | 0:88e313c910d0 | 193 | #define WRPSTATE_ENABLE ((uint32_t)0x01) /*!<Enable the write protection of the desired pagess*/ |
jhon309 | 0:88e313c910d0 | 194 | |
jhon309 | 0:88e313c910d0 | 195 | #define IS_WRPSTATE(VALUE) (((VALUE) == WRPSTATE_DISABLE) || \ |
jhon309 | 0:88e313c910d0 | 196 | ((VALUE) == WRPSTATE_ENABLE)) |
jhon309 | 0:88e313c910d0 | 197 | /** |
jhon309 | 0:88e313c910d0 | 198 | * @} |
jhon309 | 0:88e313c910d0 | 199 | */ |
jhon309 | 0:88e313c910d0 | 200 | |
jhon309 | 0:88e313c910d0 | 201 | /** @defgroup FLASH_OB_Type FLASH Option Bytes Type |
jhon309 | 0:88e313c910d0 | 202 | * @{ |
jhon309 | 0:88e313c910d0 | 203 | */ |
jhon309 | 0:88e313c910d0 | 204 | #define OPTIONBYTE_WRP ((uint32_t)0x01) /*!<WRP option byte configuration*/ |
jhon309 | 0:88e313c910d0 | 205 | #define OPTIONBYTE_RDP ((uint32_t)0x02) /*!<RDP option byte configuration*/ |
jhon309 | 0:88e313c910d0 | 206 | #define OPTIONBYTE_USER ((uint32_t)0x04) /*!<USER option byte configuration*/ |
jhon309 | 0:88e313c910d0 | 207 | #define OPTIONBYTE_DATA ((uint32_t)0x08) /*!<DATA option byte configuration*/ |
jhon309 | 0:88e313c910d0 | 208 | |
jhon309 | 0:88e313c910d0 | 209 | #define IS_OPTIONBYTE(VALUE) ((VALUE) <= (OPTIONBYTE_WRP | OPTIONBYTE_RDP | OPTIONBYTE_USER | OPTIONBYTE_DATA)) |
jhon309 | 0:88e313c910d0 | 210 | /** |
jhon309 | 0:88e313c910d0 | 211 | * @} |
jhon309 | 0:88e313c910d0 | 212 | */ |
jhon309 | 0:88e313c910d0 | 213 | |
jhon309 | 0:88e313c910d0 | 214 | /** @defgroup FLASH_Latency FLASH Latency |
jhon309 | 0:88e313c910d0 | 215 | * @{ |
jhon309 | 0:88e313c910d0 | 216 | */ |
jhon309 | 0:88e313c910d0 | 217 | #define FLASH_LATENCY_0 ((uint32_t)0x00000000) /*!< FLASH Zero Latency cycle */ |
jhon309 | 0:88e313c910d0 | 218 | #define FLASH_LATENCY_1 FLASH_ACR_LATENCY /*!< FLASH One Latency cycle */ |
jhon309 | 0:88e313c910d0 | 219 | |
jhon309 | 0:88e313c910d0 | 220 | #define IS_FLASH_LATENCY(LATENCY) (((LATENCY) == FLASH_LATENCY_0) || \ |
jhon309 | 0:88e313c910d0 | 221 | ((LATENCY) == FLASH_LATENCY_1)) |
jhon309 | 0:88e313c910d0 | 222 | /** |
jhon309 | 0:88e313c910d0 | 223 | * @} |
jhon309 | 0:88e313c910d0 | 224 | */ |
jhon309 | 0:88e313c910d0 | 225 | |
jhon309 | 0:88e313c910d0 | 226 | /** @defgroup FLASH_OB_Data_Address FLASH OB Data Address |
jhon309 | 0:88e313c910d0 | 227 | * @{ |
jhon309 | 0:88e313c910d0 | 228 | */ |
jhon309 | 0:88e313c910d0 | 229 | #define IS_OB_DATA_ADDRESS(ADDRESS) (((ADDRESS) == 0x1FFFF804) || ((ADDRESS) == 0x1FFFF806)) |
jhon309 | 0:88e313c910d0 | 230 | /** |
jhon309 | 0:88e313c910d0 | 231 | * @} |
jhon309 | 0:88e313c910d0 | 232 | */ |
jhon309 | 0:88e313c910d0 | 233 | |
jhon309 | 0:88e313c910d0 | 234 | /** @defgroup FLASH_OB_Read_Protection FLASH OB Read Protection |
jhon309 | 0:88e313c910d0 | 235 | * @{ |
jhon309 | 0:88e313c910d0 | 236 | */ |
jhon309 | 0:88e313c910d0 | 237 | #define OB_RDP_LEVEL_0 ((uint8_t)0xAA) |
jhon309 | 0:88e313c910d0 | 238 | #define OB_RDP_LEVEL_1 ((uint8_t)0xBB) |
jhon309 | 0:88e313c910d0 | 239 | #define OB_RDP_LEVEL_2 ((uint8_t)0xCC) /*!< Warning: When enabling read protection level 2 |
jhon309 | 0:88e313c910d0 | 240 | it's no more possible to go back to level 1 or 0 */ |
jhon309 | 0:88e313c910d0 | 241 | #define IS_OB_RDP_LEVEL(LEVEL) (((LEVEL) == OB_RDP_LEVEL_0) ||\ |
jhon309 | 0:88e313c910d0 | 242 | ((LEVEL) == OB_RDP_LEVEL_1))/*||\ |
jhon309 | 0:88e313c910d0 | 243 | ((LEVEL) == OB_RDP_LEVEL_2))*/ |
jhon309 | 0:88e313c910d0 | 244 | /** |
jhon309 | 0:88e313c910d0 | 245 | * @} |
jhon309 | 0:88e313c910d0 | 246 | */ |
jhon309 | 0:88e313c910d0 | 247 | |
jhon309 | 0:88e313c910d0 | 248 | /** @defgroup FLASH_OB_Watchdog FLASH OB Watchdog |
jhon309 | 0:88e313c910d0 | 249 | * @{ |
jhon309 | 0:88e313c910d0 | 250 | */ |
jhon309 | 0:88e313c910d0 | 251 | #define OB_WDG_SW ((uint8_t)0x01) /*!< Software WDG selected */ |
jhon309 | 0:88e313c910d0 | 252 | #define OB_WDG_HW ((uint8_t)0x00) /*!< Hardware WDG selected */ |
jhon309 | 0:88e313c910d0 | 253 | #define IS_OB_WDG_SOURCE(SOURCE) (((SOURCE) == OB_WDG_SW) || ((SOURCE) == OB_WDG_HW)) |
jhon309 | 0:88e313c910d0 | 254 | /** |
jhon309 | 0:88e313c910d0 | 255 | * @} |
jhon309 | 0:88e313c910d0 | 256 | */ |
jhon309 | 0:88e313c910d0 | 257 | |
jhon309 | 0:88e313c910d0 | 258 | /** @defgroup FLASH_OB_nRST_STOP FLASH OB nRST STOP |
jhon309 | 0:88e313c910d0 | 259 | * @{ |
jhon309 | 0:88e313c910d0 | 260 | */ |
jhon309 | 0:88e313c910d0 | 261 | #define OB_STOP_NO_RST ((uint8_t)0x02) /*!< No reset generated when entering in STOP */ |
jhon309 | 0:88e313c910d0 | 262 | #define OB_STOP_RST ((uint8_t)0x00) /*!< Reset generated when entering in STOP */ |
jhon309 | 0:88e313c910d0 | 263 | #define IS_OB_STOP_SOURCE(SOURCE) (((SOURCE) == OB_STOP_NO_RST) || ((SOURCE) == OB_STOP_RST)) |
jhon309 | 0:88e313c910d0 | 264 | /** |
jhon309 | 0:88e313c910d0 | 265 | * @} |
jhon309 | 0:88e313c910d0 | 266 | */ |
jhon309 | 0:88e313c910d0 | 267 | |
jhon309 | 0:88e313c910d0 | 268 | /** @defgroup FLASH_OB_nRST_STDBY FLASH OB nRST STDBY |
jhon309 | 0:88e313c910d0 | 269 | * @{ |
jhon309 | 0:88e313c910d0 | 270 | */ |
jhon309 | 0:88e313c910d0 | 271 | #define OB_STDBY_NO_RST ((uint8_t)0x04) /*!< No reset generated when entering in STANDBY */ |
jhon309 | 0:88e313c910d0 | 272 | #define OB_STDBY_RST ((uint8_t)0x00) /*!< Reset generated when entering in STANDBY */ |
jhon309 | 0:88e313c910d0 | 273 | #define IS_OB_STDBY_SOURCE(SOURCE) (((SOURCE) == OB_STDBY_NO_RST) || ((SOURCE) == OB_STDBY_RST)) |
jhon309 | 0:88e313c910d0 | 274 | /** |
jhon309 | 0:88e313c910d0 | 275 | * @} |
jhon309 | 0:88e313c910d0 | 276 | */ |
jhon309 | 0:88e313c910d0 | 277 | |
jhon309 | 0:88e313c910d0 | 278 | /** @defgroup FLASH_OB_BOOT1 FLASH OB BOOT1 |
jhon309 | 0:88e313c910d0 | 279 | * @{ |
jhon309 | 0:88e313c910d0 | 280 | */ |
jhon309 | 0:88e313c910d0 | 281 | #define OB_BOOT1_RESET ((uint8_t)0x00) /*!< BOOT1 Reset */ |
jhon309 | 0:88e313c910d0 | 282 | #define OB_BOOT1_SET ((uint8_t)0x10) /*!< BOOT1 Set */ |
jhon309 | 0:88e313c910d0 | 283 | #define IS_OB_BOOT1(BOOT1) (((BOOT1) == OB_BOOT1_RESET) || ((BOOT1) == OB_BOOT1_SET)) |
jhon309 | 0:88e313c910d0 | 284 | /** |
jhon309 | 0:88e313c910d0 | 285 | * @} |
jhon309 | 0:88e313c910d0 | 286 | */ |
jhon309 | 0:88e313c910d0 | 287 | |
jhon309 | 0:88e313c910d0 | 288 | /** @defgroup FLASH_OB_VDDA_Analog_Monitoring FLASH OB VDDA Analog Monitoring |
jhon309 | 0:88e313c910d0 | 289 | * @{ |
jhon309 | 0:88e313c910d0 | 290 | */ |
jhon309 | 0:88e313c910d0 | 291 | #define OB_VDDA_ANALOG_ON ((uint8_t)0x20) /*!< Analog monitoring on VDDA Power source ON */ |
jhon309 | 0:88e313c910d0 | 292 | #define OB_VDDA_ANALOG_OFF ((uint8_t)0x00) /*!< Analog monitoring on VDDA Power source OFF */ |
jhon309 | 0:88e313c910d0 | 293 | #define IS_OB_VDDA_ANALOG(ANALOG) (((ANALOG) == OB_VDDA_ANALOG_ON) || ((ANALOG) == OB_VDDA_ANALOG_OFF)) |
jhon309 | 0:88e313c910d0 | 294 | /** |
jhon309 | 0:88e313c910d0 | 295 | * @} |
jhon309 | 0:88e313c910d0 | 296 | */ |
jhon309 | 0:88e313c910d0 | 297 | |
jhon309 | 0:88e313c910d0 | 298 | /** @defgroup FLASH_OB_RAM_Parity_Check_Enable FLASH OB RAM Parity Check Enable |
jhon309 | 0:88e313c910d0 | 299 | * @{ |
jhon309 | 0:88e313c910d0 | 300 | */ |
jhon309 | 0:88e313c910d0 | 301 | #define OB_RAM_PARITY_CHECK_SET ((uint8_t)0x00) /*!< RAM parity check enable set */ |
jhon309 | 0:88e313c910d0 | 302 | #define OB_RAM_PARITY_CHECK_RESET ((uint8_t)0x40) /*!< RAM parity check enable reset */ |
jhon309 | 0:88e313c910d0 | 303 | #define IS_OB_SRAM_PARITY(PARITY) (((PARITY) == OB_RAM_PARITY_CHECK_SET) || ((PARITY) == OB_RAM_PARITY_CHECK_RESET)) |
jhon309 | 0:88e313c910d0 | 304 | /** |
jhon309 | 0:88e313c910d0 | 305 | * @} |
jhon309 | 0:88e313c910d0 | 306 | */ |
jhon309 | 0:88e313c910d0 | 307 | |
jhon309 | 0:88e313c910d0 | 308 | /** @defgroup FLASH_Flag_definition FLASH Flag definition |
jhon309 | 0:88e313c910d0 | 309 | * @{ |
jhon309 | 0:88e313c910d0 | 310 | */ |
jhon309 | 0:88e313c910d0 | 311 | #define FLASH_FLAG_BSY FLASH_SR_BSY /*!< FLASH Busy flag */ |
jhon309 | 0:88e313c910d0 | 312 | #define FLASH_FLAG_PGERR FLASH_SR_PGERR /*!< FLASH Programming error flag */ |
jhon309 | 0:88e313c910d0 | 313 | #define FLASH_FLAG_WRPERR FLASH_SR_WRPERR /*!< FLASH Write protected error flag */ |
jhon309 | 0:88e313c910d0 | 314 | #define FLASH_FLAG_EOP FLASH_SR_EOP /*!< FLASH End of Operation flag */ |
jhon309 | 0:88e313c910d0 | 315 | /** |
jhon309 | 0:88e313c910d0 | 316 | * @} |
jhon309 | 0:88e313c910d0 | 317 | */ |
jhon309 | 0:88e313c910d0 | 318 | |
jhon309 | 0:88e313c910d0 | 319 | /** @defgroup FLASH_Interrupt_definition FLASH Interrupt definition |
jhon309 | 0:88e313c910d0 | 320 | * @{ |
jhon309 | 0:88e313c910d0 | 321 | */ |
jhon309 | 0:88e313c910d0 | 322 | #define FLASH_IT_EOP FLASH_CR_EOPIE /*!< End of FLASH Operation Interrupt source */ |
jhon309 | 0:88e313c910d0 | 323 | #define FLASH_IT_ERR FLASH_CR_ERRIE /*!< Error Interrupt source */ |
jhon309 | 0:88e313c910d0 | 324 | /** |
jhon309 | 0:88e313c910d0 | 325 | * @} |
jhon309 | 0:88e313c910d0 | 326 | */ |
jhon309 | 0:88e313c910d0 | 327 | |
jhon309 | 0:88e313c910d0 | 328 | /** @defgroup FLASH_Timeout_definition FLASH Timeout definition |
jhon309 | 0:88e313c910d0 | 329 | * @brief FLASH Timeout definition |
jhon309 | 0:88e313c910d0 | 330 | * @{ |
jhon309 | 0:88e313c910d0 | 331 | */ |
jhon309 | 0:88e313c910d0 | 332 | #define HAL_FLASH_TIMEOUT_VALUE ((uint32_t)50000)/* 50 s */ |
jhon309 | 0:88e313c910d0 | 333 | /** |
jhon309 | 0:88e313c910d0 | 334 | * @} |
jhon309 | 0:88e313c910d0 | 335 | */ |
jhon309 | 0:88e313c910d0 | 336 | |
jhon309 | 0:88e313c910d0 | 337 | /** |
jhon309 | 0:88e313c910d0 | 338 | * @} |
jhon309 | 0:88e313c910d0 | 339 | */ |
jhon309 | 0:88e313c910d0 | 340 | |
jhon309 | 0:88e313c910d0 | 341 | /* Exported macro ------------------------------------------------------------*/ |
jhon309 | 0:88e313c910d0 | 342 | |
jhon309 | 0:88e313c910d0 | 343 | /** @defgroup FLASH_Exported_Macros FLASH Exported Macros |
jhon309 | 0:88e313c910d0 | 344 | * @brief macros to control FLASH features |
jhon309 | 0:88e313c910d0 | 345 | * @{ |
jhon309 | 0:88e313c910d0 | 346 | */ |
jhon309 | 0:88e313c910d0 | 347 | |
jhon309 | 0:88e313c910d0 | 348 | /** @defgroup FLASH_Latency FLASH Latency |
jhon309 | 0:88e313c910d0 | 349 | * @brief macros to handle FLASH Latency |
jhon309 | 0:88e313c910d0 | 350 | * @{ |
jhon309 | 0:88e313c910d0 | 351 | */ |
jhon309 | 0:88e313c910d0 | 352 | |
jhon309 | 0:88e313c910d0 | 353 | /** |
jhon309 | 0:88e313c910d0 | 354 | * @brief Set the FLASH Latency. |
jhon309 | 0:88e313c910d0 | 355 | * @param __LATENCY__: FLASH Latency |
jhon309 | 0:88e313c910d0 | 356 | * The value of this parameter depend on device used within the same series |
jhon309 | 0:88e313c910d0 | 357 | * @retval None |
jhon309 | 0:88e313c910d0 | 358 | */ |
jhon309 | 0:88e313c910d0 | 359 | #define __HAL_FLASH_SET_LATENCY(__LATENCY__) (FLASH->ACR = (FLASH->ACR&(~FLASH_ACR_LATENCY)) | (__LATENCY__)) |
jhon309 | 0:88e313c910d0 | 360 | /** |
jhon309 | 0:88e313c910d0 | 361 | * @} |
jhon309 | 0:88e313c910d0 | 362 | */ |
jhon309 | 0:88e313c910d0 | 363 | |
jhon309 | 0:88e313c910d0 | 364 | /** @defgroup FLASH_Prefetch FLASH Prefetch |
jhon309 | 0:88e313c910d0 | 365 | * @brief macros to handle FLASH Prefetch buffer |
jhon309 | 0:88e313c910d0 | 366 | * @{ |
jhon309 | 0:88e313c910d0 | 367 | */ |
jhon309 | 0:88e313c910d0 | 368 | /** |
jhon309 | 0:88e313c910d0 | 369 | * @brief Enable the FLASH prefetch buffer. |
jhon309 | 0:88e313c910d0 | 370 | * @retval None |
jhon309 | 0:88e313c910d0 | 371 | */ |
jhon309 | 0:88e313c910d0 | 372 | #define __HAL_FLASH_PREFETCH_BUFFER_ENABLE() (FLASH->ACR |= FLASH_ACR_PRFTBE) |
jhon309 | 0:88e313c910d0 | 373 | |
jhon309 | 0:88e313c910d0 | 374 | /** |
jhon309 | 0:88e313c910d0 | 375 | * @brief Disable the FLASH prefetch buffer. |
jhon309 | 0:88e313c910d0 | 376 | * @retval None |
jhon309 | 0:88e313c910d0 | 377 | */ |
jhon309 | 0:88e313c910d0 | 378 | #define __HAL_FLASH_PREFETCH_BUFFER_DISABLE() (FLASH->ACR &= (~FLASH_ACR_PRFTBE)) |
jhon309 | 0:88e313c910d0 | 379 | |
jhon309 | 0:88e313c910d0 | 380 | /** |
jhon309 | 0:88e313c910d0 | 381 | * @} |
jhon309 | 0:88e313c910d0 | 382 | */ |
jhon309 | 0:88e313c910d0 | 383 | |
jhon309 | 0:88e313c910d0 | 384 | /** @defgroup FLASH_Interrupt FLASH Interrupt |
jhon309 | 0:88e313c910d0 | 385 | * @brief macros to handle FLASH interrupts |
jhon309 | 0:88e313c910d0 | 386 | * @{ |
jhon309 | 0:88e313c910d0 | 387 | */ |
jhon309 | 0:88e313c910d0 | 388 | |
jhon309 | 0:88e313c910d0 | 389 | /** |
jhon309 | 0:88e313c910d0 | 390 | * @brief Enable the specified FLASH interrupt. |
jhon309 | 0:88e313c910d0 | 391 | * @param __INTERRUPT__ : FLASH interrupt |
jhon309 | 0:88e313c910d0 | 392 | * This parameter can be any combination of the following values: |
jhon309 | 0:88e313c910d0 | 393 | * @arg FLASH_IT_EOP: End of FLASH Operation Interrupt |
jhon309 | 0:88e313c910d0 | 394 | * @arg FLASH_IT_ERR: Error Interrupt |
jhon309 | 0:88e313c910d0 | 395 | * @retval none |
jhon309 | 0:88e313c910d0 | 396 | */ |
jhon309 | 0:88e313c910d0 | 397 | #define __HAL_FLASH_ENABLE_IT(__INTERRUPT__) (FLASH->CR |= (__INTERRUPT__)) |
jhon309 | 0:88e313c910d0 | 398 | |
jhon309 | 0:88e313c910d0 | 399 | /** |
jhon309 | 0:88e313c910d0 | 400 | * @brief Disable the specified FLASH interrupt. |
jhon309 | 0:88e313c910d0 | 401 | * @param __INTERRUPT__ : FLASH interrupt |
jhon309 | 0:88e313c910d0 | 402 | * This parameter can be any combination of the following values: |
jhon309 | 0:88e313c910d0 | 403 | * @arg FLASH_IT_EOP: End of FLASH Operation Interrupt |
jhon309 | 0:88e313c910d0 | 404 | * @arg FLASH_IT_ERR: Error Interrupt |
jhon309 | 0:88e313c910d0 | 405 | * @retval none |
jhon309 | 0:88e313c910d0 | 406 | */ |
jhon309 | 0:88e313c910d0 | 407 | #define __HAL_FLASH_DISABLE_IT(__INTERRUPT__) (FLASH->CR &= ~(uint32_t)(__INTERRUPT__)) |
jhon309 | 0:88e313c910d0 | 408 | |
jhon309 | 0:88e313c910d0 | 409 | /** |
jhon309 | 0:88e313c910d0 | 410 | * @brief Get the specified FLASH flag status. |
jhon309 | 0:88e313c910d0 | 411 | * @param __FLAG__: specifies the FLASH flag to check. |
jhon309 | 0:88e313c910d0 | 412 | * This parameter can be one of the following values: |
jhon309 | 0:88e313c910d0 | 413 | * @arg FLASH_FLAG_EOP : FLASH End of Operation flag |
jhon309 | 0:88e313c910d0 | 414 | * @arg FLASH_FLAG_WRPERR: FLASH Write protected error flag |
jhon309 | 0:88e313c910d0 | 415 | * @arg FLASH_FLAG_PGERR : FLASH Programming error flag |
jhon309 | 0:88e313c910d0 | 416 | * @arg FLASH_FLAG_BSY : FLASH Busy flag |
jhon309 | 0:88e313c910d0 | 417 | * @retval The new state of __FLAG__ (SET or RESET). |
jhon309 | 0:88e313c910d0 | 418 | */ |
jhon309 | 0:88e313c910d0 | 419 | #define __HAL_FLASH_GET_FLAG(__FLAG__) ((FLASH->SR & (__FLAG__)) == (__FLAG__)) |
jhon309 | 0:88e313c910d0 | 420 | |
jhon309 | 0:88e313c910d0 | 421 | /** |
jhon309 | 0:88e313c910d0 | 422 | * @brief Clear the specified FLASH flag. |
jhon309 | 0:88e313c910d0 | 423 | * @param __FLAG__: specifies the FLASH flags to clear. |
jhon309 | 0:88e313c910d0 | 424 | * This parameter can be any combination of the following values: |
jhon309 | 0:88e313c910d0 | 425 | * @arg FLASH_FLAG_EOP : FLASH End of Operation flag |
jhon309 | 0:88e313c910d0 | 426 | * @arg FLASH_FLAG_WRPERR: FLASH Write protected error flag |
jhon309 | 0:88e313c910d0 | 427 | * @arg FLASH_FLAG_PGERR : FLASH Programming error flag |
jhon309 | 0:88e313c910d0 | 428 | * @retval none |
jhon309 | 0:88e313c910d0 | 429 | */ |
jhon309 | 0:88e313c910d0 | 430 | #define __HAL_FLASH_CLEAR_FLAG(__FLAG__) (FLASH->SR = (__FLAG__)) |
jhon309 | 0:88e313c910d0 | 431 | |
jhon309 | 0:88e313c910d0 | 432 | /** |
jhon309 | 0:88e313c910d0 | 433 | * @} |
jhon309 | 0:88e313c910d0 | 434 | */ |
jhon309 | 0:88e313c910d0 | 435 | |
jhon309 | 0:88e313c910d0 | 436 | /** |
jhon309 | 0:88e313c910d0 | 437 | * @} |
jhon309 | 0:88e313c910d0 | 438 | */ |
jhon309 | 0:88e313c910d0 | 439 | |
jhon309 | 0:88e313c910d0 | 440 | /* Include FLASH HAL Extension module */ |
jhon309 | 0:88e313c910d0 | 441 | #include "stm32f0xx_hal_flash_ex.h" |
jhon309 | 0:88e313c910d0 | 442 | |
jhon309 | 0:88e313c910d0 | 443 | /* Exported functions --------------------------------------------------------*/ |
jhon309 | 0:88e313c910d0 | 444 | |
jhon309 | 0:88e313c910d0 | 445 | /** @addtogroup FLASH_Exported_Functions |
jhon309 | 0:88e313c910d0 | 446 | * @{ |
jhon309 | 0:88e313c910d0 | 447 | */ |
jhon309 | 0:88e313c910d0 | 448 | |
jhon309 | 0:88e313c910d0 | 449 | /** @addtogroup FLASH_Exported_Functions_Group1 |
jhon309 | 0:88e313c910d0 | 450 | * @brief Data transfers functions |
jhon309 | 0:88e313c910d0 | 451 | * @{ |
jhon309 | 0:88e313c910d0 | 452 | */ |
jhon309 | 0:88e313c910d0 | 453 | |
jhon309 | 0:88e313c910d0 | 454 | /* IO operation functions *****************************************************/ |
jhon309 | 0:88e313c910d0 | 455 | HAL_StatusTypeDef HAL_FLASH_Program(uint32_t TypeProgram, uint32_t Address, uint64_t Data); |
jhon309 | 0:88e313c910d0 | 456 | HAL_StatusTypeDef HAL_FLASH_Program_IT(uint32_t TypeProgram, uint32_t Address, uint64_t Data); |
jhon309 | 0:88e313c910d0 | 457 | |
jhon309 | 0:88e313c910d0 | 458 | /* FLASH IRQ handler method */ |
jhon309 | 0:88e313c910d0 | 459 | void HAL_FLASH_IRQHandler(void); |
jhon309 | 0:88e313c910d0 | 460 | /* Callbacks in non blocking modes */ |
jhon309 | 0:88e313c910d0 | 461 | void HAL_FLASH_EndOfOperationCallback(uint32_t ReturnValue); |
jhon309 | 0:88e313c910d0 | 462 | void HAL_FLASH_OperationErrorCallback(uint32_t ReturnValue); |
jhon309 | 0:88e313c910d0 | 463 | |
jhon309 | 0:88e313c910d0 | 464 | /** |
jhon309 | 0:88e313c910d0 | 465 | * @} |
jhon309 | 0:88e313c910d0 | 466 | */ |
jhon309 | 0:88e313c910d0 | 467 | |
jhon309 | 0:88e313c910d0 | 468 | /** @addtogroup FLASH_Exported_Functions_Group2 |
jhon309 | 0:88e313c910d0 | 469 | * @brief management functions |
jhon309 | 0:88e313c910d0 | 470 | * @{ |
jhon309 | 0:88e313c910d0 | 471 | */ |
jhon309 | 0:88e313c910d0 | 472 | |
jhon309 | 0:88e313c910d0 | 473 | /* FLASH Memory Programming functions *****************************************/ |
jhon309 | 0:88e313c910d0 | 474 | HAL_StatusTypeDef HAL_FLASH_Unlock(void); |
jhon309 | 0:88e313c910d0 | 475 | HAL_StatusTypeDef HAL_FLASH_Lock(void); |
jhon309 | 0:88e313c910d0 | 476 | |
jhon309 | 0:88e313c910d0 | 477 | /* Option Bytes Programming functions *****************************************/ |
jhon309 | 0:88e313c910d0 | 478 | HAL_StatusTypeDef HAL_FLASH_OB_Unlock(void); |
jhon309 | 0:88e313c910d0 | 479 | HAL_StatusTypeDef HAL_FLASH_OB_Lock(void); |
jhon309 | 0:88e313c910d0 | 480 | HAL_StatusTypeDef HAL_FLASH_OB_Launch(void); |
jhon309 | 0:88e313c910d0 | 481 | |
jhon309 | 0:88e313c910d0 | 482 | /** |
jhon309 | 0:88e313c910d0 | 483 | * @} |
jhon309 | 0:88e313c910d0 | 484 | */ |
jhon309 | 0:88e313c910d0 | 485 | |
jhon309 | 0:88e313c910d0 | 486 | /** @addtogroup FLASH_Exported_Functions_Group3 |
jhon309 | 0:88e313c910d0 | 487 | * @{ |
jhon309 | 0:88e313c910d0 | 488 | */ |
jhon309 | 0:88e313c910d0 | 489 | /* Peripheral State and Error functions ***************************************/ |
jhon309 | 0:88e313c910d0 | 490 | uint32_t HAL_FLASH_GetError(void); |
jhon309 | 0:88e313c910d0 | 491 | |
jhon309 | 0:88e313c910d0 | 492 | /** |
jhon309 | 0:88e313c910d0 | 493 | * @} |
jhon309 | 0:88e313c910d0 | 494 | */ |
jhon309 | 0:88e313c910d0 | 495 | |
jhon309 | 0:88e313c910d0 | 496 | /** |
jhon309 | 0:88e313c910d0 | 497 | * @} |
jhon309 | 0:88e313c910d0 | 498 | */ |
jhon309 | 0:88e313c910d0 | 499 | |
jhon309 | 0:88e313c910d0 | 500 | /** |
jhon309 | 0:88e313c910d0 | 501 | * @} |
jhon309 | 0:88e313c910d0 | 502 | */ |
jhon309 | 0:88e313c910d0 | 503 | |
jhon309 | 0:88e313c910d0 | 504 | /** |
jhon309 | 0:88e313c910d0 | 505 | * @} |
jhon309 | 0:88e313c910d0 | 506 | */ |
jhon309 | 0:88e313c910d0 | 507 | |
jhon309 | 0:88e313c910d0 | 508 | #ifdef __cplusplus |
jhon309 | 0:88e313c910d0 | 509 | } |
jhon309 | 0:88e313c910d0 | 510 | #endif |
jhon309 | 0:88e313c910d0 | 511 | |
jhon309 | 0:88e313c910d0 | 512 | #endif /* __STM32F0xx_HAL_FLASH_H */ |
jhon309 | 0:88e313c910d0 | 513 | |
jhon309 | 0:88e313c910d0 | 514 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |
jhon309 | 0:88e313c910d0 | 515 |