STM32F429 on-chip flash module class.
More...
#include <FLASH_STM32F429.h>
STM32F429 on-chip flash module class.
◆ Done()
VOID TFLASH_STM32F429::Done |
( |
| ) |
|
|
virtual |
Flash chip finalisation method.
- Note
- None
- Returns
- None
- Override
- Not allowed
- Attention
- None
◆ Erase_Block_By_Index()
BOOL TFLASH_STM32F429::Erase_Block_By_Index |
( |
U32 |
u32_Block_Index | ) |
|
Erase block referenced by index.
- Note
- None
- Parameters
-
[in] | u32_Block_Index | - Block index to erase |
- Returns
- BOOL - Erase operation status
- Return values
-
false | - Erase operation failed |
true | - Erase operation successed |
- Override
- Not requered
- Attention
- None
- Todo:
- ANVILEX GG: Add timeout
References Lock(), and Unlock().
◆ Init()
VOID TFLASH_STM32F429::Init |
( |
| ) |
|
|
virtual |
Flash chip initialisation method.
- Note
- None
- Returns
- None
- Override
- Not allowed
- Attention
- None
◆ Lock()
VOID TFLASH_STM32F429::Lock |
( |
| ) |
|
|
private |
◆ Read_Buffer()
BOOL TFLASH_STM32F429::Read_Buffer |
( |
U32 |
u32_Address, |
|
|
U32 |
u32_Size, |
|
|
U8 * |
u8_Data_Buffer |
|
) |
| |
Read data from memory into buffer.
- Note
- None
- Parameters
-
[in] | u32_Address | - Address of the data in memory |
[in] | u32_Size | - Size of the data to read |
[out] | *u8_Data_Buffer | - Pointer to the data buffer |
- Returns
- BOOL - Data read operation status
- Return values
-
false | - Read operation failed |
true | - Read operation successed |
- Override
- Not requered
- Attention
- None
◆ Unlock()
VOID TFLASH_STM32F429::Unlock |
( |
| ) |
|
|
private |
◆ Write_Buffer()
BOOL TFLASH_STM32F429::Write_Buffer |
( |
U32 |
u32_Address, |
|
|
U32 |
u32_Size, |
|
|
U8 * |
u8_Data_Buffer |
|
) |
| |
Write data from buffer into memory.
- Note
- None
- Parameters
-
[in] | u32_Address | - Address of the data in memory |
[in] | u32_Size | - Size of the data to write |
[in] | *u8_Data_Buffer | - Pointer to the data buffer |
- Returns
- BOOL - Data write operation status
- Return values
-
false | - Write operation failed |
true | - Write operation successed |
- Override
- Not requered
- Attention
- None
- Todo:
- ANVILEX GG: Add timeout
References Lock(), and Unlock().
The documentation for this class was generated from the following files: