Home
last modified time | relevance | path

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

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Test/PeripheralsTests/
DOpenTitan_SpiDeviceTest.cs60 var hexstring = "deadbeef"; in ShouldBeAbleToTransmitData()
61 AppendPeripheralFifo(hexstring); in ShouldBeAbleToTransmitData()
72 var hexstring = "deadbeef"; in ShouldBeAbleToResetFifos()
74 spiHost.WriteBytes(hexstring); in ShouldBeAbleToResetFifos()
75 AppendPeripheralFifo(hexstring); in ShouldBeAbleToResetFifos()
187 private void AppendPeripheralFifo(string hexstring) in AppendPeripheralFifo() argument
189 var dataToSend = Misc.HexStringToByteArray(hexstring); in AppendPeripheralFifo()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Sensors/
DZMOD4xxx.cs168 …private bool TryParseHexStringWithAssertedLength(string hexstring, int expectedLenghtInBytes, out … in TryParseHexStringWithAssertedLength() argument
173 if(hexstring.Length != (expectedLenghtInBytes * 2)) in TryParseHexStringWithAssertedLength()
179 if(!Misc.TryParseHexString(hexstring, out byteArray, elementSize: 1)) in TryParseHexStringWithAssertedLength()