nvsram3 2.0.0.0
|
nvSRAM3 Click example More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
nvSRAM3 Click example
The demo application shows how to write/read data to/from nvSRAM memory. It also sets RTC date and time, then reads it in an infinite loop and displays results on USB UART each second.
The demo application is composed of two sections :
Initializes device, reads the device ID, writes desired message to memory and sets RTC date and time.
Reads current date and time and then reads the message that we have previusly stored in the memory. All data is being logged on USB UART.
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 | ) |