Home
last modified time | relevance | path

Searched defs:AFESample (Results 1 – 1 of 1) sorted by relevance

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Sensors/
DMAX86171.cs1132 private struct AFESample struct in Antmicro.Renode.Peripherals.Sensors.MAX86171
1134 public AFESample(decimal packet) in AFESample() argument
1139 public AFESample(SampleSource tag, int value) in AFESample() method
1144 public int Value => ((innerPacket & 0x0FFFFF) << 12) >> 12;
1145 public SampleSource Tag => (SampleSource)((innerPacket & 0xF00000) >> 20);
1146 public byte Byte1 => (byte)((innerPacket & 0xFF0000) >> 16);
1147 public byte Byte2 => (byte)((innerPacket & 0x00FF00) >> 8);
1148 public byte Byte3 => (byte)(innerPacket & 0x0000FF);
1149 public byte[] Bytes => new byte[] { Byte1, Byte2, Byte3 };
1150 public IEnumerator<byte> Enumerator => Bytes.OfType<byte>().GetEnumerator();
[all …]