Skip to Content

Flash Erase Block Description

This block enables erasing data from the microcontroller’s internal Flash memory.



Flash Erase block

Table of Contents

Inputs

Input NameTypeDescription
Sectorsuint8An array vector specifying the indices of the Flash memory pages or sectors designated to be erased.

Outputs

Output NameTypeDescription
Statusuint8Outlines the final operational execution status of the Flash erase command sequence:
1 – operation completed successfully
0 – operation failed

Block Parameters

ParameterDescription
Sample time [s]Specifies the software cyclic refresh execution update interval for the block in seconds.


Parameters for Flash Erase block

CubeMX Configuration for a Given MCU Model

This block does not require any additional setup inside CubeMX.

See Also

Last updated on