STM32F10x Standard Peripherals Library  3.5.0
FLASH_Private_Defines

Defines

#define ACR_LATENCY_Mask   ((uint32_t)0x00000038)
#define ACR_HLFCYA_Mask   ((uint32_t)0xFFFFFFF7)
#define ACR_PRFTBE_Mask   ((uint32_t)0xFFFFFFEF)
#define ACR_PRFTBS_Mask   ((uint32_t)0x00000020)
#define CR_PG_Set   ((uint32_t)0x00000001)
#define CR_PG_Reset   ((uint32_t)0x00001FFE)
#define CR_PER_Set   ((uint32_t)0x00000002)
#define CR_PER_Reset   ((uint32_t)0x00001FFD)
#define CR_MER_Set   ((uint32_t)0x00000004)
#define CR_MER_Reset   ((uint32_t)0x00001FFB)
#define CR_OPTPG_Set   ((uint32_t)0x00000010)
#define CR_OPTPG_Reset   ((uint32_t)0x00001FEF)
#define CR_OPTER_Set   ((uint32_t)0x00000020)
#define CR_OPTER_Reset   ((uint32_t)0x00001FDF)
#define CR_STRT_Set   ((uint32_t)0x00000040)
#define CR_LOCK_Set   ((uint32_t)0x00000080)
#define RDPRT_Mask   ((uint32_t)0x00000002)
#define WRP0_Mask   ((uint32_t)0x000000FF)
#define WRP1_Mask   ((uint32_t)0x0000FF00)
#define WRP2_Mask   ((uint32_t)0x00FF0000)
#define WRP3_Mask   ((uint32_t)0xFF000000)
#define OB_USER_BFB2   ((uint16_t)0x0008)
#define RDP_Key   ((uint16_t)0x00A5)
#define FLASH_KEY1   ((uint32_t)0x45670123)
#define FLASH_KEY2   ((uint32_t)0xCDEF89AB)
#define FLASH_BANK1_END_ADDRESS   ((uint32_t)0x807FFFF)
#define EraseTimeout   ((uint32_t)0x000B0000)
#define ProgramTimeout   ((uint32_t)0x00002000)

Define Documentation

#define ACR_HLFCYA_Mask   ((uint32_t)0xFFFFFFF7)

Definition at line 48 of file stm32f10x_flash.c.

#define ACR_LATENCY_Mask   ((uint32_t)0x00000038)

Definition at line 47 of file stm32f10x_flash.c.

#define ACR_PRFTBE_Mask   ((uint32_t)0xFFFFFFEF)

Definition at line 49 of file stm32f10x_flash.c.

#define ACR_PRFTBS_Mask   ((uint32_t)0x00000020)

Definition at line 52 of file stm32f10x_flash.c.

#define CR_LOCK_Set   ((uint32_t)0x00000080)

Definition at line 66 of file stm32f10x_flash.c.

#define CR_MER_Reset   ((uint32_t)0x00001FFB)

Definition at line 60 of file stm32f10x_flash.c.

#define CR_MER_Set   ((uint32_t)0x00000004)

Definition at line 59 of file stm32f10x_flash.c.

#define CR_OPTER_Reset   ((uint32_t)0x00001FDF)

Definition at line 64 of file stm32f10x_flash.c.

#define CR_OPTER_Set   ((uint32_t)0x00000020)

Definition at line 63 of file stm32f10x_flash.c.

#define CR_OPTPG_Reset   ((uint32_t)0x00001FEF)

Definition at line 62 of file stm32f10x_flash.c.

#define CR_OPTPG_Set   ((uint32_t)0x00000010)

Definition at line 61 of file stm32f10x_flash.c.

#define CR_PER_Reset   ((uint32_t)0x00001FFD)

Definition at line 58 of file stm32f10x_flash.c.

#define CR_PER_Set   ((uint32_t)0x00000002)

Definition at line 57 of file stm32f10x_flash.c.

#define CR_PG_Reset   ((uint32_t)0x00001FFE)

Definition at line 56 of file stm32f10x_flash.c.

#define CR_PG_Set   ((uint32_t)0x00000001)

Definition at line 55 of file stm32f10x_flash.c.

#define CR_STRT_Set   ((uint32_t)0x00000040)

Definition at line 65 of file stm32f10x_flash.c.

#define EraseTimeout   ((uint32_t)0x000B0000)

Definition at line 85 of file stm32f10x_flash.c.

#define FLASH_BANK1_END_ADDRESS   ((uint32_t)0x807FFFF)

Definition at line 82 of file stm32f10x_flash.c.

#define FLASH_KEY1   ((uint32_t)0x45670123)

Definition at line 78 of file stm32f10x_flash.c.

#define FLASH_KEY2   ((uint32_t)0xCDEF89AB)

Definition at line 79 of file stm32f10x_flash.c.

#define OB_USER_BFB2   ((uint16_t)0x0008)

Definition at line 74 of file stm32f10x_flash.c.

#define ProgramTimeout   ((uint32_t)0x00002000)

Definition at line 86 of file stm32f10x_flash.c.

#define RDP_Key   ((uint16_t)0x00A5)

Definition at line 77 of file stm32f10x_flash.c.

#define RDPRT_Mask   ((uint32_t)0x00000002)

Definition at line 69 of file stm32f10x_flash.c.

#define WRP0_Mask   ((uint32_t)0x000000FF)

Definition at line 70 of file stm32f10x_flash.c.

#define WRP1_Mask   ((uint32_t)0x0000FF00)

Definition at line 71 of file stm32f10x_flash.c.

#define WRP2_Mask   ((uint32_t)0x00FF0000)

Definition at line 72 of file stm32f10x_flash.c.

#define WRP3_Mask   ((uint32_t)0xFF000000)

Definition at line 73 of file stm32f10x_flash.c.