ï‚· __IO uint16_t RDP
ï‚· __IO uint16_t USER
ï‚· uint16_t RESERVED0
ï‚· uint16_t RESERVED1
ï‚· __IO uint16_t WRP0
ï‚· __IO uint16_t WRP1
ï‚· __IO uint16_t WRP2
ï‚· __IO uint16_t WRP3
Field Documentation
ï‚· __IO uint16_t OB_TypeDef::RDP
ï€ FLASH option byte Read protection, Address offset: 0x00
ï‚· __IO uint16_t OB_TypeDef::USER
ï€ FLASH option byte user options, Address offset: 0x02
ï‚· uint16_t OB_TypeDef::RESERVED0
ï€ Reserved, 0x04
ï‚· uint16_t OB_TypeDef::RESERVED1
ï€ Reserved, 0x06
ï‚· __IO uint16_t OB_TypeDef::WRP0
ï€ FLASH option byte write protection 0, Address offset: 0x08
ï‚· __IO uint16_t OB_TypeDef::WRP1
ï€ FLASH option byte write protection 1, Address offset: 0x0C
ï‚· __IO uint16_t OB_TypeDef::WRP2
ï€ FLASH option byte write protection 2, Address offset: 0x10
ï‚· __IO uint16_t OB_TypeDef::WRP3
ï€ FLASH option byte write protection 3, Address offset: 0x12
11.2 FLASH Firmware driver API description
The following section lists the various functions of the FLASH library.
11.2.1 How to use this driver
This driver provides functions to configure and program the FLASH memory of all
STM32F30x devices. These functions are split in 4 groups:
1. FLASH Interface configuration functions: this group includes the management of
following features:
ï€ Set the latency.
ï€ Enable/Disable the Half Cycle Access.
ï€ Enable/Disable the prefetch buffer.
2. FLASH Memory Programming functions: this group includes all needed functions to
erase and program the main memory:
ï€ Lock and Unlock the FLASH interface.
ï€ Erase function: Erase page, erase all pages.
ï€ Program functions: Half Word and Word write.
3. FLASH Option Bytes Programming functions: this group includes all needed functions
to manage the Option Bytes:
ï€ Lock and Unlock the Flash Option bytes.