Git Product home page Git Product logo

libdriver / at24cxx Goto Github PK

View Code? Open in Web Editor NEW
53.0 7.0 35.0 10.95 MB

AT24CXX(AT24C01, AT24C02, AT24C04, AT24C08, AT24C16, AT24C32, AT24C64, AT24C128, AT24C256) full function driver library for general MCU and Linux.

Home Page: https://www.libdriver.com

License: MIT License

C 99.50% Makefile 0.03% Assembly 0.38% Batchfile 0.01% CMake 0.09%
c linux mcu full-function-driver iic eeprom at24c02 at24c08 at24c04 at24c16

at24cxx's People

Contributors

libdriver avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

at24cxx's Issues

Code Question

Please ask your question

reference to datasheet:

The AT24C01C is internally organized as 16 pages of 8 bytes each. The AT24C02C is internally
organized as 32 pages of 8 bytes each.

why make AT24Cxx_type = memorysize - 1, rather than memorysize? which make it cannot access to the last word of eeprom.

typedef enum
{
    AT24C01  = 127,          /**< AT24C01 type */
    AT24C02  = 255,          /**< AT24C02 type */
    AT24C04  = 511,          /**< AT24C04 type */
    AT24C08  = 1023,         /**< AT24C08 type */
    AT24C16  = 2047,         /**< AT24C16 type */
    AT24C32  = 4095,         /**< AT24C32 type */
    AT24C64  = 8191,         /**< AT24C64 type */
    AT24C128 = 16383,        /**< AT24C128 type */
    AT24C256 = 32767,        /**< AT24C256 type */
} at24cxx_t;

Additional context

No response

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.