Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configuration register #3

Open
wants to merge 30 commits into
base: master
Choose a base branch
from

Commits on Dec 2, 2022

  1. Bump edition and versions

    This removes byteorder as it is no longer needed (now provided by std).
    Also no longer needed is extern crate.
    
    This makes it easier to add the changes for the configuration register.
    tdittr committed Dec 2, 2022
    Configuration menu
    Copy the full SHA
    7259b5d View commit details
    Browse the repository at this point in the history
  2. Add configuration register

    This allows users to change the way the INA219 operates.
    tdittr committed Dec 2, 2022
    Configuration menu
    Copy the full SHA
    caa0057 View commit details
    Browse the repository at this point in the history
  3. Run cargo-fmt

    This makes the coding style consistent.
    tdittr committed Dec 2, 2022
    Configuration menu
    Copy the full SHA
    34ee03e View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2022

  1. Add register descriptions

    Not sure yet about the calibration calculations...
    tdittr committed Dec 5, 2022
    Configuration menu
    Copy the full SHA
    d2a870a View commit details
    Browse the repository at this point in the history
  2. Listen to clippy and add docs and annotations

    Also add reading of registers to driver
    tdittr committed Dec 5, 2022
    Configuration menu
    Copy the full SHA
    59cf550 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2023

  1. Update examples and tests

    tdittr committed Apr 21, 2023
    Configuration menu
    Copy the full SHA
    e1beb18 View commit details
    Browse the repository at this point in the history
  2. Add Address encoding

    This avoids looking up the pin mappings in the datasheet every time.
    tdittr committed Apr 21, 2023
    Configuration menu
    Copy the full SHA
    f47cd60 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2023

  1. Make Address easier to use

    Added documentation, TryFrom and nicer error
    tdittr committed May 8, 2023
    Configuration menu
    Copy the full SHA
    7f4c58a View commit details
    Browse the repository at this point in the history
  2. Make another attempt for calibration

    This should allow zero-cost usage of the uncalibrated device.
    tdittr committed May 8, 2023
    Configuration menu
    Copy the full SHA
    c228f8e View commit details
    Browse the repository at this point in the history
  3. Fix clippy warnings

    tdittr committed May 8, 2023
    Configuration menu
    Copy the full SHA
    ae5d77d View commit details
    Browse the repository at this point in the history
  4. Fix rustdoc warnings

    tdittr committed May 8, 2023
    Configuration menu
    Copy the full SHA
    6665648 View commit details
    Browse the repository at this point in the history
  5. Split out errors

    This makes it so that only the errors that happen in a function can also
    be returned and handled.
    tdittr committed May 8, 2023
    Configuration menu
    Copy the full SHA
    a186cfa View commit details
    Browse the repository at this point in the history
  6. Split out errors into a module

    This makes the docs a bit more structured.
    tdittr committed May 8, 2023
    Configuration menu
    Copy the full SHA
    1c8a1b2 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2023

  1. Add round-trip tests and add missing methods

    This should give us more confidence about future changes to not break
    anything.
    tdittr committed May 9, 2023
    Configuration menu
    Copy the full SHA
    8bb540a View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2023

  1. Remove dust from PR, update embedded-hal to 1.0.0-rc1

    This should make it easy to later update to the full eh1
    tdittr committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    2501279 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bda32c2 View commit details
    Browse the repository at this point in the history
  3. Add myself to the manifest

    tdittr committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    3eaa0a3 View commit details
    Browse the repository at this point in the history
  4. Make paranoid behavior optional

    This introduces a feature to make all the paranoid checks optional at
     compile time. So users who do not care can just not have the overhead.
    tdittr committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    db7c75f View commit details
    Browse the repository at this point in the history
  5. Improve error handling during initialization

    This allows users to retry initialization, because we are now not just
    dropping the I2C device we were passed.
    tdittr committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    a91bf6e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0a75f11 View commit details
    Browse the repository at this point in the history
  7. Add todo for later

    tdittr committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    732d93d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f97e817 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. Update to embedded-hal 1.0

    tdittr committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    6814058 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f567686 View commit details
    Browse the repository at this point in the history
  3. Clean up old CI

    tdittr committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    801584b View commit details
    Browse the repository at this point in the history
  4. Fix broken docs links

    tdittr committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    0b13baf View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2024

  1. Configuration menu
    Copy the full SHA
    ba3cffe View commit details
    Browse the repository at this point in the history
  2. Write a readme

    tdittr committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    bbacd2b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3e49e98 View commit details
    Browse the repository at this point in the history
  4. Add readme as crate docs

    tdittr committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    5337823 View commit details
    Browse the repository at this point in the history