EasyManua.ls Logo

ST STM32F31xx

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
UM1581
FLASH Memory (FLASH)
DocID023800 Rev 1
217/584
__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.

Table of Contents

Related product manuals