Searched refs:CapacitySensitivity (Results 1 – 2 of 2) sorted by relevance
93 get => fullChargeCapacity * CapacitySensitivity;94 set => fullChargeCapacity = (uint)(value / CapacitySensitivity).Clamp(0, uint.MaxValue);99 get => designCapacity * CapacitySensitivity;100 set => designCapacity = (uint)(value / CapacitySensitivity).Clamp(0, uint.MaxValue);105 get => remainingCapacity * CapacitySensitivity;106 set => remainingCapacity = (uint)(value / CapacitySensitivity).Clamp(0, uint.MaxValue);280 private const decimal CapacitySensitivity = 0.1m; field in Antmicro.Renode.Peripherals.I2C.LC709205F
149 …valueProviderCallback: _ => (ushort)(QResidual / CapacitySensitivity).Clamp(0m, (decimal)ushort.Ma… in DefineRegisters()154 …valueProviderCallback: _ => (ushort)(MixCapacity / CapacitySensitivity).Clamp(0m, (decimal)ushort.… in DefineRegisters()159 …valueProviderCallback: _ => (ushort)(FullCapacity / CapacitySensitivity).Clamp(0m, (decimal)ushort… in DefineRegisters()174 …valueProviderCallback: _ => (ushort)(DesignCapacity / CapacitySensitivity).Clamp(0m, (decimal)usho… in DefineRegisters()184 …valueProviderCallback: _ => (ushort)(AvailableCapacity / CapacitySensitivity).Clamp(0m, (decimal)u… in DefineRegisters()195 private const decimal CapacitySensitivity = 0.5m; field in Antmicro.Renode.Peripherals.Sensors.MAX77818