This repository has been archived by the owner on May 1, 2023. It is now read-only.
Releases: UnderLogic/ina3221
Releases · UnderLogic/ina3221
v0.4.5
v0.4.4
v0.4.3
v0.4.2
v0.4.1
v0.4.0
v0.3.0
[0.3.0] - 2023-02-01
Added
MaskEnableFlags
bitflags structset_critical_alert_latch(bool)
mutator methodset_warning_alert_latch(bool)
mutator methodget_channels_enabled(&[bool])
methodset_channels_enabled(&mut [bool])
mutator method
Changed
read_alert_flags()
method now returnsMaskEnableFlags
bitflags structread_alert_flags()
method now allows preserving the alert flags- Documentation
v0.2.1
v0.2.0
[0.2.0] - 2023-02-01
Added
Voltage
immutable structread_alert_flags()
mutator methodget_critical_limit(u8)
methodset_critical_limit(u8, Voltage)
mutator methodget_warning_limit(u8)
methodset_warning_limit(u8, Voltage)
mutator methodget_power_valid_limits()
methodset_power_valid_limits(Voltage, Voltage)
mutator methodget_mode()
methodset_mode(OperatingMode)
mutator method- Inline documentation
Changed
get_shunt_voltage(u8)
method now returnsVoltage
structget_bus_voltage(u8)
method now returnsVoltage
struct
Removed
get_shunt_voltage_mv(u8)
methodget_bus_voltage_mv(u8)
methodget_shunt_voltage_uv(u8)
methodget_bus_voltage_uv(u8)
method
v0.1.0
[0.1.0] - 2023-01-31
Added
reset()
mutator methodget_die_id()
methodget_manufacturer_id()
methodget_bus_voltage(u8)
methodget_bus_voltage_mv(u8)
methodget_shunt_voltage_uv(u8)
methodget_shunt_voltage_mv(u8)
methodset_channel_enabled(u8, bool)
mutator methodis_channel_enabled(u8)
methodget_configuration()
methodINA3221
driver structure for device access