![]() |
RTEMS 6.3
|
Functions | |
| ALT_STATUS_CODE | alt_qspi_erase_subsector (const uint32_t addr) |
| ALT_STATUS_CODE | alt_qspi_erase_sector (const uint32_t addr) |
| ALT_STATUS_CODE | alt_qspi_erase_chip (void) |
The functions in this group are used to erase selected portions of a flash device.
| ALT_STATUS_CODE alt_qspi_erase_chip | ( | void | ) |
This function erases the entire flash device.
| ALT_E_SUCCESS | Indicates successful completion. |
| ALT_E_ERROR | Indicates an error occurred. |
| ALT_STATUS_CODE alt_qspi_erase_sector | ( | const uint32_t | addr | ) |
This function erases the designated flash device sector.
This function erases the flash device sector containing the designated flash address. Any address within the sector is valid.
| addr | A flash address contained within the the sector to be erased. |
| ALT_E_SUCCESS | Indicates successful completion. |
| ALT_E_ERROR | Indicates an error occurred. |
| ALT_STATUS_CODE alt_qspi_erase_subsector | ( | const uint32_t | addr | ) |
This function erases the designated flash device subsector.
This function erases the flash device subsector containing the designated flash address. Any address within the subsector is valid.
| addr | A flash address contained within the the subsector to be erased. |
| ALT_E_SUCCESS | Indicates successful completion. |
| ALT_E_ERROR | Indicates an error occurred. |