Account
ArmsysApi 0.12.18 |
BFlash Class Reference
#include <BFlash.h>
Public Member Functions | |
BFlash () | |
BError | init () |
Initialise. More... | |
BError | programEnable (Bool on) |
Enable/disable programming. More... | |
BError | programErase (BUInt page) |
Erase the page. More... | |
BError | programWord (BUInt32 address, BUInt32 data) |
Program a 32bit wide memory location,. More... | |
BError | programWord (BUInt32 address, BUInt16 data) |
Program a 16bit wide memory location,. More... | |
BError | disableAccess () |
Disable access to FLASH to protect against program theft. More... | |
BError | enableAccess () |
Enable access to FLASH. More... | |
void | writeProtect (BUInt32 page, Bool on) |
Write protect the given page. More... | |
Bool | getWriteProtect (BUInt32 page) |
Gets write protect status for the given page. More... | |
BInt32 | page (BUInt32 address) |
Return page address is in. More... | |
BUInt32 | pageAddress (BUInt32 page) |
Return start address of page. More... | |
Protected Member Functions | |
BError | waitUntillReady (Bool quick=0) |
Waits while FLASH operation is on=going. More... | |
Private Attributes | |
BUInt32 | odummy |
To pad object to 32bit boundary. More... | |
Constructor & Destructor Documentation
◆ BFlash()
BFlash::BFlash | ( | ) |
Member Function Documentation
◆ disableAccess()
BError BFlash::disableAccess | ( | ) |
Disable access to FLASH to protect against program theft.
◆ enableAccess()
BError BFlash::enableAccess | ( | ) |
Enable access to FLASH.
◆ getWriteProtect()
◆ init()
BError BFlash::init | ( | ) |
Initialise.
◆ page()
◆ pageAddress()
◆ programEnable()
◆ programErase()
◆ programWord() [1/2]
◆ programWord() [2/2]
◆ waitUntillReady()
◆ writeProtect()
Member Data Documentation
◆ odummy
| private |
To pad object to 32bit boundary.
The documentation for this class was generated from the following files:
Generated by
