dram 2.1.0.0
|
DRAM Click example. More...
Macros | |
#define | DEMO_TEXT_MESSAGE_1 "MikroE" |
#define | DEMO_TEXT_MESSAGE_2 "DRAM click" |
#define | STARTING_ADDRESS 0x012345ul |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
DRAM Click example.
This example demonstrates the use of DRAM click board by writing specified data to the memory and reading it back.
The demo application is composed of two sections :
Initializes the driver, resets the device 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.
#define DEMO_TEXT_MESSAGE_1 "MikroE" |
#define DEMO_TEXT_MESSAGE_2 "DRAM 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 | ) |