Home
last modified time | relevance | path

Searched refs:Resolution (Results 1 – 2 of 2) sorted by relevance

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Sensors/
DAS6221.cs119 get => (decimal)currentTemperature / (decimal)Resolution;
134 currentTemperature = (short)(value * (decimal)Resolution);
267 private const short Resolution = 0x80; field in Antmicro.Renode.Peripherals.Sensors.AS6221
268 private const short DefaultLowThreshold = 70 * Resolution;
269 private const short DefaultHighThreshold = 80 * Resolution;
270 private const decimal MaximumTemperature = (decimal)short.MaxValue / (decimal)Resolution;
271 private const decimal MinimumTemperature = (decimal)short.MinValue / (decimal)Resolution;
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Analog/
DSTM32_ADC_Common.cs356 case Resolution.Bits6: in MilivoltsToSample()
359 case Resolution.Bits8: in MilivoltsToSample()
362 case Resolution.Bits10: in MilivoltsToSample()
365 case Resolution.Bits12: in MilivoltsToSample()
435 ….WithEnumField<DoubleWordRegister, Resolution>(hasChannelSequence ? 2 : 3, 2, out resolution, name… in BuildRegistersMap()
670 private IEnumRegisterField<Resolution> resolution;
719 private enum Resolution enum in Antmicro.Renode.Peripherals.Analog.STM32_ADC_Common