swieeprom
2.0.0.7
|
SWI EEPROM Click Example. More...
Macros | |
#define | WRITE_DATA_STRING "MikroE" |
#define | START_MEMORY_ADDRESS 0x10 |
Functions | |
void | application_init (void) |
void | main (void) |
SWI EEPROM Click Example.
This application shows capability of SWI EEPROM Click board. It checks if device is present, initializes it and show it's functionality to read from memory and write to memory.
The demo application is composed of two sections :
Initialization of log and communication pin. Checks if device is present and then it's slave address, and checks communication with checking devices ID.
Sends WRITE_DATA_STRING to the device, starting from START_MEMORY_ADDRESS. Then reads that written data and checks if it matches with written data. After that clears that same data and then reads it again to check if data is cleared.
note: This application is written for Legacy profiles for ARM{STM32F407ZG}, PIC{PIC18F97J94}, PIC32{PIC32MX975F512L} and specifically for MIKROBUS 1.
#define START_MEMORY_ADDRESS 0x10 |
#define WRITE_DATA_STRING "MikroE" |
void application_init | ( | void | ) |
void main | ( | void | ) |