|
flash13 2.2.0
|
Flash 13 Click example. More...
Macros | |
| #define | DEMO_TEXT_MESSAGE_1 "MIKROE" |
| #define | DEMO_TEXT_MESSAGE_2 "Flash 13 Click" |
| #define | STARTING_ADDRESS 0x012345ul |
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
Flash 13 Click example.
This example demonstrates the use of Flash 13 Click board by writing specified data to the memory and reading it back.
The demo application is composed of two sections :
Initializes the driver and checks the communication by reading and verifying the device ID.
Writes a desired number of bytes to the memory and then verifies if it is written correctly by reading from the same memory location and displaying the memory content on the USB UART. The whole 4KB sector of memory that contains the STARTING_ADDRESS will be erased before writing data.
| #define DEMO_TEXT_MESSAGE_1 "MIKROE" |
| #define DEMO_TEXT_MESSAGE_2 "Flash 13 Click" |
| #define STARTING_ADDRESS 0x012345ul |
| void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |