Go to the documentation of this file.
21 #ifndef __STM32F7xx_HAL_FLASH_EX_H
22 #define __STM32F7xx_HAL_FLASH_EX_H
52 #if defined (FLASH_OPTCR_nDBANK)
63 uint32_t VoltageRange;
98 #if defined (FLASH_OPTCR2_PCROP)
120 #define FLASH_TYPEERASE_SECTORS ((uint32_t)0x00U)
121 #define FLASH_TYPEERASE_MASSERASE ((uint32_t)0x01U)
129 #define FLASH_VOLTAGE_RANGE_1 ((uint32_t)0x00U)
130 #define FLASH_VOLTAGE_RANGE_2 ((uint32_t)0x01U)
131 #define FLASH_VOLTAGE_RANGE_3 ((uint32_t)0x02U)
132 #define FLASH_VOLTAGE_RANGE_4 ((uint32_t)0x03U)
140 #define OB_WRPSTATE_DISABLE ((uint32_t)0x00U)
141 #define OB_WRPSTATE_ENABLE ((uint32_t)0x01U)
149 #define OPTIONBYTE_WRP ((uint32_t)0x01U)
150 #define OPTIONBYTE_RDP ((uint32_t)0x02U)
151 #define OPTIONBYTE_USER ((uint32_t)0x04U)
152 #define OPTIONBYTE_BOR ((uint32_t)0x08U)
153 #define OPTIONBYTE_BOOTADDR_0 ((uint32_t)0x10U)
154 #define OPTIONBYTE_BOOTADDR_1 ((uint32_t)0x20U)
155 #if defined (FLASH_OPTCR2_PCROP)
156 #define OPTIONBYTE_PCROP ((uint32_t)0x40U)
157 #define OPTIONBYTE_PCROP_RDP ((uint32_t)0x80U)
166 #define OB_RDP_LEVEL_0 ((uint8_t)0xAAU)
167 #define OB_RDP_LEVEL_1 ((uint8_t)0x55U)
168 #define OB_RDP_LEVEL_2 ((uint8_t)0xCCU)
177 #define OB_WWDG_SW ((uint32_t)0x10U)
178 #define OB_WWDG_HW ((uint32_t)0x00U)
187 #define OB_IWDG_SW ((uint32_t)0x20U)
188 #define OB_IWDG_HW ((uint32_t)0x00U)
196 #define OB_STOP_NO_RST ((uint32_t)0x40U)
197 #define OB_STOP_RST ((uint32_t)0x00U)
205 #define OB_STDBY_NO_RST ((uint32_t)0x80U)
206 #define OB_STDBY_RST ((uint32_t)0x00U)
214 #define OB_IWDG_STOP_FREEZE ((uint32_t)0x00000000U)
215 #define OB_IWDG_STOP_ACTIVE ((uint32_t)0x80000000U)
223 #define OB_IWDG_STDBY_FREEZE ((uint32_t)0x00000000U)
224 #define OB_IWDG_STDBY_ACTIVE ((uint32_t)0x40000000U)
232 #define OB_BOR_LEVEL3 ((uint32_t)0x00U)
233 #define OB_BOR_LEVEL2 ((uint32_t)0x04U)
234 #define OB_BOR_LEVEL1 ((uint32_t)0x08U)
235 #define OB_BOR_OFF ((uint32_t)0x0CU)
240 #if defined (FLASH_OPTCR_nDBOOT)
244 #define OB_DUAL_BOOT_DISABLE ((uint32_t)0x10000000U)
245 #define OB_DUAL_BOOT_ENABLE ((uint32_t)0x00000000U)
252 #if defined (FLASH_OPTCR_nDBANK)
256 #define OB_NDBANK_SINGLE_BANK ((uint32_t)0x20000000U)
257 #define OB_NDBANK_DUAL_BANK ((uint32_t)0x00000000U)
266 #define OB_BOOTADDR_ITCM_RAM ((uint32_t)0x0000U)
267 #define OB_BOOTADDR_SYSTEM ((uint32_t)0x0040U)
268 #define OB_BOOTADDR_ITCM_FLASH ((uint32_t)0x0080U)
269 #define OB_BOOTADDR_AXIM_FLASH ((uint32_t)0x2000U)
270 #define OB_BOOTADDR_DTCM_RAM ((uint32_t)0x8000U)
271 #define OB_BOOTADDR_SRAM1 ((uint32_t)0x8004U)
272 #if (SRAM2_BASE == 0x2003C000U)
273 #define OB_BOOTADDR_SRAM2 ((uint32_t)0x800FU)
275 #define OB_BOOTADDR_SRAM2 ((uint32_t)0x8013U)
284 #define FLASH_LATENCY_0 FLASH_ACR_LATENCY_0WS
285 #define FLASH_LATENCY_1 FLASH_ACR_LATENCY_1WS
286 #define FLASH_LATENCY_2 FLASH_ACR_LATENCY_2WS
287 #define FLASH_LATENCY_3 FLASH_ACR_LATENCY_3WS
288 #define FLASH_LATENCY_4 FLASH_ACR_LATENCY_4WS
289 #define FLASH_LATENCY_5 FLASH_ACR_LATENCY_5WS
290 #define FLASH_LATENCY_6 FLASH_ACR_LATENCY_6WS
291 #define FLASH_LATENCY_7 FLASH_ACR_LATENCY_7WS
292 #define FLASH_LATENCY_8 FLASH_ACR_LATENCY_8WS
293 #define FLASH_LATENCY_9 FLASH_ACR_LATENCY_9WS
294 #define FLASH_LATENCY_10 FLASH_ACR_LATENCY_10WS
295 #define FLASH_LATENCY_11 FLASH_ACR_LATENCY_11WS
296 #define FLASH_LATENCY_12 FLASH_ACR_LATENCY_12WS
297 #define FLASH_LATENCY_13 FLASH_ACR_LATENCY_13WS
298 #define FLASH_LATENCY_14 FLASH_ACR_LATENCY_14WS
299 #define FLASH_LATENCY_15 FLASH_ACR_LATENCY_15WS
304 #if defined (FLASH_OPTCR_nDBANK)
308 #define FLASH_BANK_1 ((uint32_t)0x01U)
309 #define FLASH_BANK_2 ((uint32_t)0x02U)
310 #define FLASH_BANK_BOTH ((uint32_t)(FLASH_BANK_1 | FLASH_BANK_2))
319 #if defined (FLASH_OPTCR_nDBANK)
320 #define FLASH_MER_BIT (FLASH_CR_MER1 | FLASH_CR_MER2)
322 #define FLASH_MER_BIT (FLASH_CR_MER)
331 #if (FLASH_SECTOR_TOTAL == 24)
332 #define FLASH_SECTOR_8 ((uint32_t)8U)
333 #define FLASH_SECTOR_9 ((uint32_t)9U)
334 #define FLASH_SECTOR_10 ((uint32_t)10U)
335 #define FLASH_SECTOR_11 ((uint32_t)11U)
336 #define FLASH_SECTOR_12 ((uint32_t)12U)
337 #define FLASH_SECTOR_13 ((uint32_t)13U)
338 #define FLASH_SECTOR_14 ((uint32_t)14U)
339 #define FLASH_SECTOR_15 ((uint32_t)15U)
340 #define FLASH_SECTOR_16 ((uint32_t)16U)
341 #define FLASH_SECTOR_17 ((uint32_t)17U)
342 #define FLASH_SECTOR_18 ((uint32_t)18U)
343 #define FLASH_SECTOR_19 ((uint32_t)19U)
344 #define FLASH_SECTOR_20 ((uint32_t)20U)
345 #define FLASH_SECTOR_21 ((uint32_t)21U)
346 #define FLASH_SECTOR_22 ((uint32_t)22U)
347 #define FLASH_SECTOR_23 ((uint32_t)23U)
353 #if (FLASH_SECTOR_TOTAL == 24)
364 #define OB_WRP_SECTOR_0 ((uint32_t)0x00010000U)
365 #define OB_WRP_SECTOR_1 ((uint32_t)0x00020000U)
366 #define OB_WRP_SECTOR_2 ((uint32_t)0x00040000U)
367 #define OB_WRP_SECTOR_3 ((uint32_t)0x00080000U)
368 #define OB_WRP_SECTOR_4 ((uint32_t)0x00100000U)
369 #define OB_WRP_SECTOR_5 ((uint32_t)0x00200000U)
370 #define OB_WRP_SECTOR_6 ((uint32_t)0x00400000U)
371 #define OB_WRP_SECTOR_7 ((uint32_t)0x00800000U)
372 #define OB_WRP_SECTOR_8 ((uint32_t)0x01000000U)
373 #define OB_WRP_SECTOR_9 ((uint32_t)0x02000000U)
374 #define OB_WRP_SECTOR_10 ((uint32_t)0x04000000U)
375 #define OB_WRP_SECTOR_11 ((uint32_t)0x08000000U)
376 #define OB_WRP_SECTOR_All ((uint32_t)0x0FFF0000U)
379 #define OB_WRP_DB_SECTOR_0 ((uint32_t)0x00010000U)
380 #define OB_WRP_DB_SECTOR_1 ((uint32_t)0x00010000U)
381 #define OB_WRP_DB_SECTOR_2 ((uint32_t)0x00020000U)
382 #define OB_WRP_DB_SECTOR_3 ((uint32_t)0x00020000U)
383 #define OB_WRP_DB_SECTOR_4 ((uint32_t)0x00040000U)
384 #define OB_WRP_DB_SECTOR_5 ((uint32_t)0x00040000U)
385 #define OB_WRP_DB_SECTOR_6 ((uint32_t)0x00080000U)
386 #define OB_WRP_DB_SECTOR_7 ((uint32_t)0x00080000U)
387 #define OB_WRP_DB_SECTOR_8 ((uint32_t)0x00100000U)
388 #define OB_WRP_DB_SECTOR_9 ((uint32_t)0x00100000U)
389 #define OB_WRP_DB_SECTOR_10 ((uint32_t)0x00200000U)
390 #define OB_WRP_DB_SECTOR_11 ((uint32_t)0x00200000U)
391 #define OB_WRP_DB_SECTOR_12 ((uint32_t)0x00400000U)
392 #define OB_WRP_DB_SECTOR_13 ((uint32_t)0x00400000U)
393 #define OB_WRP_DB_SECTOR_14 ((uint32_t)0x00800000U)
394 #define OB_WRP_DB_SECTOR_15 ((uint32_t)0x00800000U)
395 #define OB_WRP_DB_SECTOR_16 ((uint32_t)0x01000000U)
396 #define OB_WRP_DB_SECTOR_17 ((uint32_t)0x01000000U)
397 #define OB_WRP_DB_SECTOR_18 ((uint32_t)0x02000000U)
398 #define OB_WRP_DB_SECTOR_19 ((uint32_t)0x02000000U)
399 #define OB_WRP_DB_SECTOR_20 ((uint32_t)0x04000000U)
400 #define OB_WRP_DB_SECTOR_21 ((uint32_t)0x04000000U)
401 #define OB_WRP_DB_SECTOR_22 ((uint32_t)0x08000000U)
402 #define OB_WRP_DB_SECTOR_23 ((uint32_t)0x08000000U)
403 #define OB_WRP_DB_SECTOR_All ((uint32_t)0x0FFF0000U)
409 #if (FLASH_SECTOR_TOTAL == 8)
413 #define OB_WRP_SECTOR_0 ((uint32_t)0x00010000U)
414 #define OB_WRP_SECTOR_1 ((uint32_t)0x00020000U)
415 #define OB_WRP_SECTOR_2 ((uint32_t)0x00040000U)
416 #define OB_WRP_SECTOR_3 ((uint32_t)0x00080000U)
417 #define OB_WRP_SECTOR_4 ((uint32_t)0x00100000U)
418 #define OB_WRP_SECTOR_5 ((uint32_t)0x00200000U)
419 #define OB_WRP_SECTOR_6 ((uint32_t)0x00400000U)
420 #define OB_WRP_SECTOR_7 ((uint32_t)0x00800000U)
421 #define OB_WRP_SECTOR_All ((uint32_t)0x00FF0000U)
427 #if (FLASH_SECTOR_TOTAL == 4)
431 #define OB_WRP_SECTOR_0 ((uint32_t)0x00010000U)
432 #define OB_WRP_SECTOR_1 ((uint32_t)0x00020000U)
433 #define OB_WRP_SECTOR_2 ((uint32_t)0x00040000U)
434 #define OB_WRP_SECTOR_3 ((uint32_t)0x00080000U)
435 #define OB_WRP_SECTOR_All ((uint32_t)0x000F0000U)
441 #if (FLASH_SECTOR_TOTAL == 2)
445 #define OB_WRP_SECTOR_0 ((uint32_t)0x00010000U)
446 #define OB_WRP_SECTOR_1 ((uint32_t)0x00020000U)
447 #define OB_WRP_SECTOR_All ((uint32_t)0x00030000U)
453 #if defined (FLASH_OPTCR2_PCROP)
454 #if (FLASH_SECTOR_TOTAL == 8)
458 #define OB_PCROP_SECTOR_0 ((uint32_t)0x00000001U)
459 #define OB_PCROP_SECTOR_1 ((uint32_t)0x00000002U)
460 #define OB_PCROP_SECTOR_2 ((uint32_t)0x00000004U)
461 #define OB_PCROP_SECTOR_3 ((uint32_t)0x00000008U)
462 #define OB_PCROP_SECTOR_4 ((uint32_t)0x00000010U)
463 #define OB_PCROP_SECTOR_5 ((uint32_t)0x00000020U)
464 #define OB_PCROP_SECTOR_6 ((uint32_t)0x00000040U)
465 #define OB_PCROP_SECTOR_7 ((uint32_t)0x00000080U)
466 #define OB_PCROP_SECTOR_All ((uint32_t)0x000000FFU)
472 #if (FLASH_SECTOR_TOTAL == 4)
476 #define OB_PCROP_SECTOR_0 ((uint32_t)0x00000001U)
477 #define OB_PCROP_SECTOR_1 ((uint32_t)0x00000002U)
478 #define OB_PCROP_SECTOR_2 ((uint32_t)0x00000004U)
479 #define OB_PCROP_SECTOR_3 ((uint32_t)0x00000008U)
480 #define OB_PCROP_SECTOR_All ((uint32_t)0x0000000FU)
489 #define OB_PCROP_RDP_ENABLE ((uint32_t)0x80000000U)
490 #define OB_PCROP_RDP_DISABLE ((uint32_t)0x00000000U)
510 #define __HAL_FLASH_CALC_BOOT_BASE_ADR(__ADDRESS__) ((__ADDRESS__) >> 14)
548 #define IS_FLASH_TYPEERASE(VALUE)(((VALUE) == FLASH_TYPEERASE_SECTORS) || \
549 ((VALUE) == FLASH_TYPEERASE_MASSERASE))
551 #define IS_VOLTAGERANGE(RANGE)(((RANGE) == FLASH_VOLTAGE_RANGE_1) || \
552 ((RANGE) == FLASH_VOLTAGE_RANGE_2) || \
553 ((RANGE) == FLASH_VOLTAGE_RANGE_3) || \
554 ((RANGE) == FLASH_VOLTAGE_RANGE_4))
556 #define IS_WRPSTATE(VALUE)(((VALUE) == OB_WRPSTATE_DISABLE) || \
557 ((VALUE) == OB_WRPSTATE_ENABLE))
559 #if defined (FLASH_OPTCR2_PCROP)
560 #define IS_OPTIONBYTE(VALUE)(((VALUE) <= (OPTIONBYTE_WRP | OPTIONBYTE_RDP | OPTIONBYTE_USER |\
561 OPTIONBYTE_BOR | OPTIONBYTE_BOOTADDR_0 | OPTIONBYTE_BOOTADDR_1 |\
562 OPTIONBYTE_PCROP | OPTIONBYTE_PCROP_RDP)))
564 #define IS_OPTIONBYTE(VALUE)(((VALUE) <= (OPTIONBYTE_WRP | OPTIONBYTE_RDP | OPTIONBYTE_USER |\
565 OPTIONBYTE_BOR | OPTIONBYTE_BOOTADDR_0 | OPTIONBYTE_BOOTADDR_1)))
568 #define IS_OB_BOOT_ADDRESS(ADDRESS) ((ADDRESS) <= 0x8013)
570 #define IS_OB_RDP_LEVEL(LEVEL) (((LEVEL) == OB_RDP_LEVEL_0) ||\
571 ((LEVEL) == OB_RDP_LEVEL_1) ||\
572 ((LEVEL) == OB_RDP_LEVEL_2))
574 #define IS_OB_WWDG_SOURCE(SOURCE) (((SOURCE) == OB_WWDG_SW) || ((SOURCE) == OB_WWDG_HW))
576 #define IS_OB_IWDG_SOURCE(SOURCE) (((SOURCE) == OB_IWDG_SW) || ((SOURCE) == OB_IWDG_HW))
578 #define IS_OB_STOP_SOURCE(SOURCE) (((SOURCE) == OB_STOP_NO_RST) || ((SOURCE) == OB_STOP_RST))
580 #define IS_OB_STDBY_SOURCE(SOURCE) (((SOURCE) == OB_STDBY_NO_RST) || ((SOURCE) == OB_STDBY_RST))
582 #define IS_OB_IWDG_STOP_FREEZE(FREEZE) (((FREEZE) == OB_IWDG_STOP_FREEZE) || ((FREEZE) == OB_IWDG_STOP_ACTIVE))
584 #define IS_OB_IWDG_STDBY_FREEZE(FREEZE) (((FREEZE) == OB_IWDG_STDBY_FREEZE) || ((FREEZE) == OB_IWDG_STDBY_ACTIVE))
586 #define IS_OB_BOR_LEVEL(LEVEL) (((LEVEL) == OB_BOR_LEVEL1) || ((LEVEL) == OB_BOR_LEVEL2) ||\
587 ((LEVEL) == OB_BOR_LEVEL3) || ((LEVEL) == OB_BOR_OFF))
589 #define IS_FLASH_LATENCY(LATENCY) (((LATENCY) == FLASH_LATENCY_0) || \
590 ((LATENCY) == FLASH_LATENCY_1) || \
591 ((LATENCY) == FLASH_LATENCY_2) || \
592 ((LATENCY) == FLASH_LATENCY_3) || \
593 ((LATENCY) == FLASH_LATENCY_4) || \
594 ((LATENCY) == FLASH_LATENCY_5) || \
595 ((LATENCY) == FLASH_LATENCY_6) || \
596 ((LATENCY) == FLASH_LATENCY_7) || \
597 ((LATENCY) == FLASH_LATENCY_8) || \
598 ((LATENCY) == FLASH_LATENCY_9) || \
599 ((LATENCY) == FLASH_LATENCY_10) || \
600 ((LATENCY) == FLASH_LATENCY_11) || \
601 ((LATENCY) == FLASH_LATENCY_12) || \
602 ((LATENCY) == FLASH_LATENCY_13) || \
603 ((LATENCY) == FLASH_LATENCY_14) || \
604 ((LATENCY) == FLASH_LATENCY_15))
606 #define IS_FLASH_ADDRESS(ADDRESS) ((((ADDRESS) >= FLASH_BASE) && ((ADDRESS) <= FLASH_END)) || \
607 (((ADDRESS) >= FLASH_OTP_BASE) && ((ADDRESS) <= FLASH_OTP_END)))
608 #define IS_FLASH_NBSECTORS(NBSECTORS) (((NBSECTORS) != 0U) && ((NBSECTORS) <= FLASH_SECTOR_TOTAL))
610 #if (FLASH_SECTOR_TOTAL == 8)
611 #define IS_FLASH_SECTOR(SECTOR) (((SECTOR) == FLASH_SECTOR_0) || ((SECTOR) == FLASH_SECTOR_1) ||\
612 ((SECTOR) == FLASH_SECTOR_2) || ((SECTOR) == FLASH_SECTOR_3) ||\
613 ((SECTOR) == FLASH_SECTOR_4) || ((SECTOR) == FLASH_SECTOR_5) ||\
614 ((SECTOR) == FLASH_SECTOR_6) || ((SECTOR) == FLASH_SECTOR_7))
616 #define IS_OB_WRP_SECTOR(SECTOR) ((((SECTOR) & 0xFF00FFFFU) == 0x00000000U) && ((SECTOR) != 0x00000000U))
619 #if (FLASH_SECTOR_TOTAL == 24)
620 #define IS_FLASH_SECTOR(SECTOR) (((SECTOR) == FLASH_SECTOR_0) || ((SECTOR) == FLASH_SECTOR_1) ||\
621 ((SECTOR) == FLASH_SECTOR_2) || ((SECTOR) == FLASH_SECTOR_3) ||\
622 ((SECTOR) == FLASH_SECTOR_4) || ((SECTOR) == FLASH_SECTOR_5) ||\
623 ((SECTOR) == FLASH_SECTOR_6) || ((SECTOR) == FLASH_SECTOR_7) ||\
624 ((SECTOR) == FLASH_SECTOR_8) || ((SECTOR) == FLASH_SECTOR_9) ||\
625 ((SECTOR) == FLASH_SECTOR_10) || ((SECTOR) == FLASH_SECTOR_11) ||\
626 ((SECTOR) == FLASH_SECTOR_12) || ((SECTOR) == FLASH_SECTOR_13) ||\
627 ((SECTOR) == FLASH_SECTOR_14) || ((SECTOR) == FLASH_SECTOR_15) ||\
628 ((SECTOR) == FLASH_SECTOR_16) || ((SECTOR) == FLASH_SECTOR_17) ||\
629 ((SECTOR) == FLASH_SECTOR_18) || ((SECTOR) == FLASH_SECTOR_19) ||\
630 ((SECTOR) == FLASH_SECTOR_20) || ((SECTOR) == FLASH_SECTOR_21) ||\
631 ((SECTOR) == FLASH_SECTOR_22) || ((SECTOR) == FLASH_SECTOR_23))
633 #define IS_OB_WRP_SECTOR(SECTOR) ((((SECTOR) & 0xF000FFFFU) == 0x00000000U) && ((SECTOR) != 0x00000000U))
636 #if (FLASH_SECTOR_TOTAL == 4)
637 #define IS_FLASH_SECTOR(SECTOR) (((SECTOR) == FLASH_SECTOR_0) || ((SECTOR) == FLASH_SECTOR_1) ||\
638 ((SECTOR) == FLASH_SECTOR_2) || ((SECTOR) == FLASH_SECTOR_3))
640 #define IS_OB_WRP_SECTOR(SECTOR) ((((SECTOR) & 0xFFF0FFFFU) == 0x00000000U) && ((SECTOR) != 0x00000000U))
643 #if (FLASH_SECTOR_TOTAL == 2)
644 #define IS_FLASH_SECTOR(SECTOR) (((SECTOR) == FLASH_SECTOR_0) || ((SECTOR) == FLASH_SECTOR_1))
646 #define IS_OB_WRP_SECTOR(SECTOR) ((((SECTOR) & 0xFFFCFFFFU) == 0x00000000U) && ((SECTOR) != 0x00000000U))
649 #if defined (FLASH_OPTCR_nDBANK)
650 #define IS_OB_NDBANK(VALUE) (((VALUE) == OB_NDBANK_SINGLE_BANK) || \
651 ((VALUE) == OB_NDBANK_DUAL_BANK))
653 #define IS_FLASH_BANK(BANK) (((BANK) == FLASH_BANK_1) || \
654 ((BANK) == FLASH_BANK_2) || \
655 ((BANK) == FLASH_BANK_BOTH))
658 #if defined (FLASH_OPTCR_nDBOOT)
659 #define IS_OB_NDBOOT(VALUE) (((VALUE) == OB_DUAL_BOOT_DISABLE) || \
660 ((VALUE) == OB_DUAL_BOOT_ENABLE))
663 #if defined (FLASH_OPTCR2_PCROP)
664 #define IS_OB_PCROP_SECTOR(SECTOR) (((SECTOR) & (uint32_t)0xFFFFFF00U) == 0x00000000U)
665 #define IS_OB_PCROP_RDP_VALUE(VALUE) (((VALUE) == OB_PCROP_RDP_DISABLE) || \
666 ((VALUE) == OB_PCROP_RDP_ENABLE))
HAL_StatusTypeDef
HAL Status structures definition
void FLASH_Erase_Sector(uint32_t Sector, uint8_t VoltageRange)
FLASH Option Bytes Program structure definition.
HAL_StatusTypeDef HAL_FLASHEx_Erase(FLASH_EraseInitTypeDef *pEraseInit, uint32_t *SectorError)
HAL_StatusTypeDef HAL_FLASHEx_OBProgram(FLASH_OBProgramInitTypeDef *pOBInit)
void HAL_FLASHEx_OBGetConfig(FLASH_OBProgramInitTypeDef *pOBInit)
This file contains HAL common defines, enumeration, macros and structures definitions.
HAL_StatusTypeDef HAL_FLASHEx_Erase_IT(FLASH_EraseInitTypeDef *pEraseInit)
FLASH Erase structure definition.