CC26xx Driver Library |

- Main Page
- Related Pages
- CC26xx APIs
- Register Descriptions
- Online Resources

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Functions
flashsafe.c File Reference
`#include <inc/hw_types.h>`
`#include <driverlib/flashsafe.h>`

Go to the source code of this file.

## Functions
uint32_t | FlashsafeSizeGet (void)
| Get the size of the flash. More...
uint32_t | FlashsafeSectorSizeGet (void)
| Get size of a flash sector in no of bytes. More...
uint32_t | FlashsafePowerModeSet (uint32_t ui32PowerMode, uint32_t ui32BankGracePeriode, uint32_t ui32PumpGracePeriode)
| Set power mode. More...
uint32_t | FlashsafePowerModeGet (void)
| Get current configured power mode. More...
uint32_t | FlashsafeProtectionSet (uint32_t ui32SectorAddress, uint32_t ui32ProtectMode)
| Set sector protection. More...
uint32_t | FlashsafeProtectionGet (uint32_t ui32SectorAddress)
| Get sector protection. More...
uint32_t | FlashsafeProtectionSave (uint32_t ui32SectorAddress)
| Save sector protection to make it permanent. More...
uint32_t | FlashsafeCheckFsmForError (void)
| Checks if the Flashsafe state machine has detected an error. More...
uint32_t | FlashsafeCheckFsmForReady (void)
| Checks if the Flash state machine is ready. More...
uint32_t | FlashsafeIntRegister (void(*pfnHandler)(void))
| Registers an interrupt handler for the flash interrupt. More...
uint32_t | FlashsafeIntUnregister (void)
| Unregisters the interrupt handler for the flash interrupt. More...
uint32_t | FlashsafeIntEnable (uint32_t ui32IntFlags)
| Enables flash controller interrupt sources. More...
uint32_t | FlashsafeIntDisable (uint32_t ui32IntFlags)
| Disables individual flash controller interrupt sources. More...
uint32_t | FlashsafeIntStatus (void)
| Gets the current interrupt status. More...
uint32_t | FlashsafeIntClear (uint32_t ui32IntFlags)
| Clears flash controller interrupt source. More...
uint32_t | FlashsafeSectorErase (uint32_t ui32SectorAddress)
| Erase a flash sector. More...
uint32_t | FlashsafeProgram (uint8_t *pui8DataBuffer, uint32_t ui32Address, uint32_t ui32Count)
| Programs unprotected main bank flash sectors. More...
uint32_t | FlashsafeDisableSectorsForWrite (void)
| Disables all sectors for erase and programming on the active bank. More...