You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Emulator/Peripherals/Peripherals/Mocks/DummySPISlave.cs
+30-2Lines changed: 30 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,25 @@
1
-
//
1
+
//
2
2
// Copyright (c) 2010-2021 Antmicro
3
3
//
4
4
// This file is licensed under the MIT License.
5
5
// Full license text is available in 'licenses/MIT.txt'.
6
6
//
7
+
usingSystem;
7
8
usingAntmicro.Renode.Logging;
8
9
usingAntmicro.Renode.Peripherals.SPI;
9
10
usingSystem.Collections.Generic;
10
11
11
12
namespaceAntmicro.Renode.Peripherals.Mocks
12
13
{
14
+
/// <summary>
15
+
/// A dummy SPI slave peripheral implementing <see cref="ISPIPeripheral"> for mocking communication and testing SPI controllers.
16
+
/// Model supports queuing data to its buffer, that will be return upon SPI Transmit. Additionally it exposes events that allow mocking more complex models.
0 commit comments