Browse Source

stm32f0: flash: Add BOOT_SEL and nBOOT0 definitions for FLASH_OBR

Checked against RM0091rev8
pull/436/merge
Devan Lai 9 years ago
committed by Karl Palsson
parent
commit
c28d9727d7
  1. 2
      include/libopencm3/stm32/f0/flash.h

2
include/libopencm3/stm32/f0/flash.h

@ -84,9 +84,11 @@
#define FLASH_OBR_DATA0_SHIFT 16
#define FLASH_OBR_DATA0 (0xFF << FLASH_OBR_DATA0_SHIFT)
#define FLASH_OBR_BOOT_SEL (1 << 15)
#define FLASH_OBR_RAM_PARITY_CHECK (1 << 14)
#define FLASH_OBR_VDDA_MONITOR (1 << 13)
#define FLASH_OBR_NBOOT1 (1 << 12)
#define FLASH_OBR_NBOOT0 (1 << 11)
#define FLASH_OBR_NRST_STDBY (1 << 10)
#define FLASH_OBR_NRST_STOP (1 << 9)
#define FLASH_OBR_WDG_SW (1 << 8)

Loading…
Cancel
Save