Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
deroo
Nano33BLE-flash
Commits
7623d972
Commit
7623d972
authored
Jul 27, 2020
by
deroo
Browse files
Update README.md
parent
665fba58
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
7623d972
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment