Giter Club home page Giter Club logo

eeprom-driver-for-tiva-c-tm4c123g's Introduction

EEPROM-Driver-For-Tiva-C-TM4C123G

Driver for using the on-board EEPROM of Tiva C TM4C123G.

Deployment

Add the files in your project and use the functions declared in the header file.

Usage/Examples

Initialization

After initializing the requisite ports call the following function.

  eeprom_init();

Write to memory

To write to EEPROM you need to provide block number (0 - 31) and address (0 - 15) along with data. For example to store 10 at the beginning of block number 1, we can call the write funnction as follows.

  eeprom_write(10,0,1);

Read from memory

To read from EEPROM you need to provide block number (0 - 31) and address (0 - 15). Data stored at the location is then returned. For example to read data from address number 5 of block 2, we can call the read function as follows. The returned data is stored in 'value' variable.

  data = eeprom_read(5,2);

eeprom-driver-for-tiva-c-tm4c123g's People

Contributors

rohan-10xe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.