eeprom2 2.0.0.0
main.c File Reference

Eeprom2 Click example. More...

#include "board.h"
#include "log.h"
#include "eeprom2.h"

Functions

void application_init (void)
 
void application_task (void)
 
int main (void)
 

Variables

uint8_t text [7] = { 'M','i','k','r','o','e' }
 
uint8_t mem_value [7] = { 0 }
 

Detailed Description

Eeprom2 Click example.

Description

This application demonstrates the process of writing and reading of data from EEPROM.

The demo application is composed of two sections :

Application Init

Initializes EEPROM 2 driver.

Application Task

Writing data to EEPROM and then reading that data and writing it via UART.

Author
MikroE Team

Function Documentation

◆ application_init()

void application_init ( void )

Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG

Note
If USB_UART_RX and USB_UART_TX are defined as HAL_PIN_NC, you will need to define them manually for log to work. See LOG_MAP_USB_UART macro definition for detailed explanation.

◆ application_task()

void application_task ( void )

◆ main()

int main ( void )

Variable Documentation

◆ mem_value

uint8_t mem_value[7] = { 0 }

◆ text

uint8_t text[7] = { 'M','i','k','r','o','e' }