FLASH_Private_Defines
[FLASH]

Defines

#define ACR_HLFCYA_Mask   ((uint32_t)0xFFFFFFF7)
#define ACR_LATENCY_Mask   ((uint32_t)0x00000038)
#define ACR_PRFTBE_Mask   ((uint32_t)0xFFFFFFEF)
#define ACR_PRFTBS_Mask   ((uint32_t)0x00000020)
#define CR_LOCK_Set   ((uint32_t)0x00000080)
#define CR_MER_Reset   ((uint32_t)0x00001FFB)
#define CR_MER_Set   ((uint32_t)0x00000004)
#define CR_OPTER_Reset   ((uint32_t)0x00001FDF)
#define CR_OPTER_Set   ((uint32_t)0x00000020)
#define CR_OPTPG_Reset   ((uint32_t)0x00001FEF)
#define CR_OPTPG_Set   ((uint32_t)0x00000010)
#define CR_PER_Reset   ((uint32_t)0x00001FFD)
#define CR_PER_Set   ((uint32_t)0x00000002)
#define CR_PG_Reset   ((uint32_t)0x00001FFE)
#define CR_PG_Set   ((uint32_t)0x00000001)
#define CR_STRT_Set   ((uint32_t)0x00000040)
#define EraseTimeout   ((uint32_t)0x000B0000)
#define FLASH_BANK1_END_ADDRESS   ((uint32_t)0x807FFFF)
#define FLASH_KEY1   ((uint32_t)0x45670123)
#define FLASH_KEY2   ((uint32_t)0xCDEF89AB)
#define OB_USER_BFB2   ((uint16_t)0x0008)
#define ProgramTimeout   ((uint32_t)0x00002000)
#define RDP_Key   ((uint16_t)0x00A5)
#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 Documentation

#define ACR_HLFCYA_Mask   ((uint32_t)0xFFFFFFF7)

Definition at line 47 of file stm32f10x_flash.c.

Referenced by FLASH_HalfCycleAccessCmd().

#define ACR_LATENCY_Mask   ((uint32_t)0x00000038)

Definition at line 46 of file stm32f10x_flash.c.

Referenced by FLASH_SetLatency().

#define ACR_PRFTBE_Mask   ((uint32_t)0xFFFFFFEF)

Definition at line 48 of file stm32f10x_flash.c.

Referenced by FLASH_PrefetchBufferCmd().

#define ACR_PRFTBS_Mask   ((uint32_t)0x00000020)

Definition at line 51 of file stm32f10x_flash.c.

Referenced by FLASH_GetPrefetchBufferStatus().

#define CR_LOCK_Set   ((uint32_t)0x00000080)

Definition at line 65 of file stm32f10x_flash.c.

Referenced by FLASH_Lock(), and FLASH_LockBank1().

#define CR_MER_Reset   ((uint32_t)0x00001FFB)

Definition at line 59 of file stm32f10x_flash.c.

Referenced by FLASH_EraseAllBank1Pages(), and FLASH_EraseAllPages().

#define CR_MER_Set   ((uint32_t)0x00000004)

Definition at line 58 of file stm32f10x_flash.c.

Referenced by FLASH_EraseAllBank1Pages(), and FLASH_EraseAllPages().

#define CR_OPTER_Reset   ((uint32_t)0x00001FDF)

Definition at line 63 of file stm32f10x_flash.c.

Referenced by FLASH_EraseOptionBytes(), and FLASH_ReadOutProtection().

#define CR_OPTER_Set   ((uint32_t)0x00000020)

Definition at line 62 of file stm32f10x_flash.c.

Referenced by FLASH_EraseOptionBytes(), and FLASH_ReadOutProtection().

#define CR_OPTPG_Reset   ((uint32_t)0x00001FEF)
#define CR_OPTPG_Set   ((uint32_t)0x00000010)
#define CR_PER_Reset   ((uint32_t)0x00001FFD)

Definition at line 57 of file stm32f10x_flash.c.

Referenced by FLASH_ErasePage().

#define CR_PER_Set   ((uint32_t)0x00000002)

Definition at line 56 of file stm32f10x_flash.c.

Referenced by FLASH_ErasePage().

#define CR_PG_Reset   ((uint32_t)0x00001FFE)

Definition at line 55 of file stm32f10x_flash.c.

Referenced by FLASH_ProgramHalfWord(), and FLASH_ProgramWord().

#define CR_PG_Set   ((uint32_t)0x00000001)

Definition at line 54 of file stm32f10x_flash.c.

Referenced by FLASH_ProgramHalfWord(), and FLASH_ProgramWord().

#define CR_STRT_Set   ((uint32_t)0x00000040)
#define EraseTimeout   ((uint32_t)0x000B0000)
#define FLASH_BANK1_END_ADDRESS   ((uint32_t)0x807FFFF)

Definition at line 81 of file stm32f10x_flash.c.

Referenced by FLASH_ErasePage(), FLASH_ProgramHalfWord(), and FLASH_ProgramWord().

#define FLASH_KEY1   ((uint32_t)0x45670123)
#define FLASH_KEY2   ((uint32_t)0xCDEF89AB)
#define OB_USER_BFB2   ((uint16_t)0x0008)

Definition at line 73 of file stm32f10x_flash.c.

#define ProgramTimeout   ((uint32_t)0x00002000)
#define RDP_Key   ((uint16_t)0x00A5)

Definition at line 76 of file stm32f10x_flash.c.

Referenced by FLASH_EraseOptionBytes(), and FLASH_ReadOutProtection().

#define RDPRT_Mask   ((uint32_t)0x00000002)

Definition at line 68 of file stm32f10x_flash.c.

Referenced by FLASH_GetReadOutProtectionStatus().

#define WRP0_Mask   ((uint32_t)0x000000FF)

Definition at line 69 of file stm32f10x_flash.c.

Referenced by FLASH_EnableWriteProtection().

#define WRP1_Mask   ((uint32_t)0x0000FF00)

Definition at line 70 of file stm32f10x_flash.c.

Referenced by FLASH_EnableWriteProtection().

#define WRP2_Mask   ((uint32_t)0x00FF0000)

Definition at line 71 of file stm32f10x_flash.c.

Referenced by FLASH_EnableWriteProtection().

#define WRP3_Mask   ((uint32_t)0xFF000000)

Definition at line 72 of file stm32f10x_flash.c.

Referenced by FLASH_EnableWriteProtection().

STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32