Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Releases: UnderLogic/ina3221

v0.4.5

20 Feb 02:58
Compare
Choose a tag to compare

[0.4.5] - 2023-02-19

Changed

  • Update ohms version to 0.2.0

v0.4.4

03 Feb 09:14
Compare
Choose a tag to compare

[0.4.4] - 2023-02-03

Fixed

  • Update ohms version for prelude

v0.4.3

03 Feb 09:00
Compare
Choose a tag to compare

[0.4.3] - 2023-02-03

Fixed

  • Include INA3221 in prelude

v0.4.2

03 Feb 08:56
Compare
Choose a tag to compare

[0.4.2] - 2023-02-03

Fixed

  • Made prelude public

v0.4.1

03 Feb 08:44
Compare
Choose a tag to compare

[0.4.1] - 2023-02-03

Added

  • Prelude via ina3221::prelude::* for convenience

v0.4.0

03 Feb 08:22
4c61d68
Compare
Choose a tag to compare

[0.4.0] - 2023-02-03

Added

  • Re-exported ohms crate

Changed

  • Voltage now comes from ohms crate

v0.3.0

01 Feb 22:10
Compare
Choose a tag to compare

[0.3.0] - 2023-02-01

Added

  • MaskEnableFlags bitflags struct
  • set_critical_alert_latch(bool) mutator method
  • set_warning_alert_latch(bool) mutator method
  • get_channels_enabled(&[bool]) method
  • set_channels_enabled(&mut [bool]) mutator method

Changed

  • read_alert_flags() method now returns MaskEnableFlags bitflags struct
  • read_alert_flags() method now allows preserving the alert flags
  • Documentation

v0.2.1

01 Feb 18:55
bb63908
Compare
Choose a tag to compare

[0.2.1] - 2023-02-01

Fixed

  • set_mode(OperatingMode) should now operate correctly
  • Documentation

v0.2.0

01 Feb 08:28
2af0bb9
Compare
Choose a tag to compare

[0.2.0] - 2023-02-01

Added

  • Voltage immutable struct
  • read_alert_flags() mutator method
  • get_critical_limit(u8) method
  • set_critical_limit(u8, Voltage) mutator method
  • get_warning_limit(u8) method
  • set_warning_limit(u8, Voltage) mutator method
  • get_power_valid_limits() method
  • set_power_valid_limits(Voltage, Voltage) mutator method
  • get_mode() method
  • set_mode(OperatingMode) mutator method
  • Inline documentation

Changed

  • get_shunt_voltage(u8) method now returns Voltage struct
  • get_bus_voltage(u8) method now returns Voltage struct

Removed

  • get_shunt_voltage_mv(u8) method
  • get_bus_voltage_mv(u8) method
  • get_shunt_voltage_uv(u8) method
  • get_bus_voltage_uv(u8) method

v0.1.0

01 Feb 03:31
Compare
Choose a tag to compare

[0.1.0] - 2023-01-31

Added

  • reset() mutator method
  • get_die_id() method
  • get_manufacturer_id() method
  • get_bus_voltage(u8) method
  • get_bus_voltage_mv(u8) method
  • get_shunt_voltage_uv(u8) method
  • get_shunt_voltage_mv(u8) method
  • set_channel_enabled(u8, bool) mutator method
  • is_channel_enabled(u8) method
  • get_configuration() method
  • INA3221 driver structure for device access