fram2 2.0.0.0
|
FRAM2 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
FRAM2 Click example.
This example performs write & read operation to certain register.
The demo application is composed of two sections :
Initiazlize device and enable write operation.
Write value 42 to register 0x10 and check if operation was done properly.
note: data_to_write variable is declared as const, so compiler may warn user about 'suspisuous pointer conversion'. Note it is the case only with this code snippet but user has freedom to use driver functions as he wishes.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |