libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
CR Flash control register
Collaboration diagram for CR Flash control register:

Macros

#define FLASH_CR_LOCK   (1 << 31)
 FLASH_CR_LOCK FLASH_CR Lock. More...
 
#define FLASH_CR_OPTLOCK   (1 << 30)
 FLASH_CR_OPTLOCK Options Lock. More...
 
#define FLASH_CR_SEC_PROT   (1 << 28)
 FLASH_CR_SEC_PROT Securable memory area protection enable. More...
 
#define FLASH_CR_OBL_LAUNCH   (1 << 27)
 FLASH_CR_OBL_LAUNCH Force the option byte loading. More...
 
#define FLASH_CR_RDERRIE   (1 << 26)
 FLASH_CR_RDERRIE PCROP read error interrupt enable. More...
 
#define FLASH_CR_ERRIE   (1 << 25)
 FLASH_CR_ERRIE Error interrupt enable. More...
 
#define FLASH_CR_EOPIE   (1 << 24)
 FLASH_CR_EOPIE End of operation interrupt enable. More...
 
#define FLASH_CR_FSTPG   (1 << 18)
 FLASH_CR_FSTPG Fast programming. More...
 
#define FLASH_CR_OPTSTRT   (1 << 17)
 FLASH_CR_OPTSTRT Options modification start. More...
 
#define FLASH_CR_STRT   (1 << 16)
 FLASH_CR_STRT Start. More...
 
#define FLASH_CR_PNB_SHIFT   3
 
#define FLASH_CR_PNB_MASK   0x3f
 
#define FLASH_CR_MER   (1 << 2)
 FLASH_CR_MER Mass erase. More...
 
#define FLASH_CR_PER   (1 << 1)
 FLASH_CR_PER Page erase. More...
 
#define FLASH_CR_PG   (1 << 0)
 FLASH_CR_PG Programming. More...
 

Detailed Description

Macro Definition Documentation

◆ FLASH_CR_EOPIE

#define FLASH_CR_EOPIE   (1 << 24)

FLASH_CR_EOPIE End of operation interrupt enable.

Definition at line 147 of file g0/flash.h.

◆ FLASH_CR_ERRIE

#define FLASH_CR_ERRIE   (1 << 25)

FLASH_CR_ERRIE Error interrupt enable.

Definition at line 145 of file g0/flash.h.

◆ FLASH_CR_FSTPG

#define FLASH_CR_FSTPG   (1 << 18)

FLASH_CR_FSTPG Fast programming.

Definition at line 149 of file g0/flash.h.

◆ FLASH_CR_LOCK

#define FLASH_CR_LOCK   (1 << 31)

FLASH_CR_LOCK FLASH_CR Lock.

Definition at line 135 of file g0/flash.h.

◆ FLASH_CR_MER

#define FLASH_CR_MER   (1 << 2)

FLASH_CR_MER Mass erase.

Definition at line 159 of file g0/flash.h.

◆ FLASH_CR_OBL_LAUNCH

#define FLASH_CR_OBL_LAUNCH   (1 << 27)

FLASH_CR_OBL_LAUNCH Force the option byte loading.

Definition at line 141 of file g0/flash.h.

◆ FLASH_CR_OPTLOCK

#define FLASH_CR_OPTLOCK   (1 << 30)

FLASH_CR_OPTLOCK Options Lock.

Definition at line 137 of file g0/flash.h.

◆ FLASH_CR_OPTSTRT

#define FLASH_CR_OPTSTRT   (1 << 17)

FLASH_CR_OPTSTRT Options modification start.

Definition at line 151 of file g0/flash.h.

◆ FLASH_CR_PER

#define FLASH_CR_PER   (1 << 1)

FLASH_CR_PER Page erase.

Definition at line 161 of file g0/flash.h.

◆ FLASH_CR_PG

#define FLASH_CR_PG   (1 << 0)

FLASH_CR_PG Programming.

Definition at line 163 of file g0/flash.h.

◆ FLASH_CR_PNB_MASK

#define FLASH_CR_PNB_MASK   0x3f

Definition at line 156 of file g0/flash.h.

◆ FLASH_CR_PNB_SHIFT

#define FLASH_CR_PNB_SHIFT   3

Definition at line 155 of file g0/flash.h.

◆ FLASH_CR_RDERRIE

#define FLASH_CR_RDERRIE   (1 << 26)

FLASH_CR_RDERRIE PCROP read error interrupt enable.

Definition at line 143 of file g0/flash.h.

◆ FLASH_CR_SEC_PROT

#define FLASH_CR_SEC_PROT   (1 << 28)

FLASH_CR_SEC_PROT Securable memory area protection enable.

Definition at line 139 of file g0/flash.h.

◆ FLASH_CR_STRT

#define FLASH_CR_STRT   (1 << 16)

FLASH_CR_STRT Start.

Definition at line 153 of file g0/flash.h.