Commit 7623d972 authored by deroo's avatar deroo
Browse files

Update README.md

parent 665fba58
......@@ -7,19 +7,19 @@ The Nano 33 BLE uses a nRF52840 microcontroller chip
The Flash on the nRF52840 has 256 pages of 1024 words, each word is 4 bytes.
Each page is individually erasable; each word is individually writable.
This library defines 2 functions:<br>
int flashErasePage(byte page);<br>
void flashMode(_flashModeEnum mode);<br>
where mode is one of<br>
FLASH_READONLY <br>
FLASH_WRITE <br>
FLASH_ERASE <br>
This library defines 2 functions:
int flashErasePage(byte page);
void flashMode(_flashModeEnum mode);
where mode is one of
FLASH_READONLY
FLASH_WRITE
FLASH_ERASE
it also declares 3 constants<br>
flashBytesPerPage<br>
flashBytesPerWord<br>
flashNumberOfPages<br>
with the values given above, or derived from it.
it also declares 3 constants
flashBytesPerPage
flashBytesPerWord
flashNumberOfPages
with the values of 4096, 4 and 256, respectively.
This code is most useful for implementing non-volatile arrays,
particularly when the datatype is of the size of a flash word or larger
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment