#include <inc/hw_types.h>
#include <driverlib/flash.h>
#include <driverlib/rom.h>
#include <driverlib/chipinfo.h>
Go to the source code of this file.
Typedefs | |
typedef uint32_t(* | FlashPrgPointer_t) (uint8_t *, uint32_t, uint32_t) |
typedef uint32_t(* | FlashSectorErasePointer_t) (uint32_t) |
Functions | |
static void | SetReadMode (void) |
void | FlashPowerModeSet (uint32_t ui32PowerMode, uint32_t ui32BankGracePeriode, uint32_t ui32PumpGracePeriode) |
Set power mode. More... | |
uint32_t | FlashPowerModeGet (void) |
Get current configured power mode. More... | |
void | FlashProtectionSet (uint32_t ui32SectorAddress, uint32_t ui32ProtectMode) |
Set sector protection. More... | |
uint32_t | FlashProtectionGet (uint32_t ui32SectorAddress) |
Get sector protection. More... | |
uint32_t | FlashProtectionSave (uint32_t ui32SectorAddress) |
Save sector protection to make it permanent. More... | |
uint32_t | FlashSectorErase (uint32_t ui32SectorAddress) |
Erase a flash sector. More... | |
uint32_t | FlashProgram (uint8_t *pui8DataBuffer, uint32_t ui32Address, uint32_t ui32Count) |
Programs unprotected main bank flash sectors. More... | |
bool | FlashEfuseReadRow (uint32_t *pui32EfuseData, uint32_t ui32RowAddress) |
Reads efuse data from specified row. More... | |
void | FlashDisableSectorsForWrite (void) |
Disables all sectors for erase and programming on the active bank. More... | |
uint32_t | MemBusWrkAroundHapiProgramFlash (uint8_t *pui8DataBuffer, uint32_t ui32Address, uint32_t ui32Count) |
uint32_t | MemBusWrkAroundHapiEraseSector (uint32_t ui32Address) |
Variables | |
const uint8_t | g_pui8CcfgDefaultSec [] |
typedef uint32_t(* FlashPrgPointer_t) (uint8_t *, uint32_t, uint32_t) |
uint32_t MemBusWrkAroundHapiEraseSector | ( | uint32_t | ui32Address | ) |
uint32_t MemBusWrkAroundHapiProgramFlash | ( | uint8_t * | pui8DataBuffer, |
uint32_t | ui32Address, | ||
uint32_t | ui32Count | ||
) |
|
static |
Definition at line 561 of file flash.c.
Referenced by FlashDisableSectorsForWrite().