Searched refs:commands (Results 1 – 3 of 3) sorted by relevance
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Sensors/ |
| D | SI70xx.cs | 23 commands = new I2CCommandManager<Action<byte[]>>(); in SI70xx() 26 commands.RegisterCommand(MeasureHumidity, 0xE5); in SI70xx() 27 commands.RegisterCommand(MeasureHumidity, 0xF5); in SI70xx() 28 commands.RegisterCommand(MeasureTemperature, 0xE0); in SI70xx() 29 commands.RegisterCommand(MeasureTemperature, 0xE3); in SI70xx() 30 commands.RegisterCommand(MeasureTemperature, 0xF3); in SI70xx() 31 commands.RegisterCommand(ReadElectronicId1stByte, 0xFA, 0xF); in SI70xx() 32 commands.RegisterCommand(ResetOutputBuffer, 0xFE); in SI70xx() 33 commands.RegisterCommand(ReadElectronicId2ndByte, 0xFC, 0xC9); in SI70xx() 49 if(!commands.TryGetCommand(data, out var command)) in Write() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/I2C/ |
| D | I2CCommandManager.cs | 17 commands = new List<Tuple<byte[], T>>(); in I2CCommandManager() 22 commands.Add(Tuple.Create<byte[], T>(address, handler)); in RegisterCommand() 27 … var command = commands.FirstOrDefault(x => x.Item1.SequenceEqual(data.Take(x.Item1.Length))); in TryGetCommand() 38 private readonly List<Tuple<byte[], T>> commands; field in Antmicro.Renode.Utilities.I2CCommandManager
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Miscellaneous/Crypto/ |
| D | AthenaX5200.cs | 59 if(!commands.TryGetValue(operation.Value, out var command)) in AthenaX5200() 70 commands = new Dictionary<JumpTable, Action> in AthenaX5200() 163 private readonly Dictionary<JumpTable, Action> commands; field in Antmicro.Renode.Peripherals.Miscellaneous.Crypto.AthenaX5200
|