sram 2.0.0.0
|
Sram Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Variables | |
char | send_buffer [17] = { 'm', 'i', 'k', 'r', 'o', 'E', 'l', 'e', 'k', 't', 'r', 'o', 'n', 'i', 'k', 'a', ' ' } |
char | mem_data [17] |
uint8_t | n_cnt |
Sram Click example.
SRAM Click presents additional 1Mbit SRAM memory that can be added to device.
The demo application is composed of two sections :
Application Init performs Logger and Click initialization.
SRAM Click communicates with register via SPI protocol by write data to and read data from 23LC1024 Serial RAM device. Results are being sent to the UART where you can track their changes. All data logs on USB UART for aproximetly every 1 sec.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |
char mem_data[17] |
uint8_t n_cnt |
char send_buffer[17] = { 'm', 'i', 'k', 'r', 'o', 'E', 'l', 'e', 'k', 't', 'r', 'o', 'n', 'i', 'k', 'a', ' ' } |