Lines Matching refs:peripheral
24 peripheral = new SPI(machine); in Setup()
25 spiHost = new SpiHost(peripheral); in Setup()
28 …machine.SystemBus.Register(peripheral, new Peripherals.Bus.BusRangeRegistration(new Range(Peripher… in Setup()
96 Assert.False(peripheral.GenericRxFull.IsSet, "Interrupt should not be set yet"); in ShouldSetInterruptOnRxFifoFull()
98 Assert.True(peripheral.GenericRxFull.IsSet, "Interrupt not set when expected"); in ShouldSetInterruptOnRxFifoFull()
111 Assert.False(peripheral.GenericRxOverflow.IsSet, "Overflow happend too fast"); in ShouldSetInterruptOnRxOverflow()
113 Assert.True(peripheral.GenericRxOverflow.IsSet, "Interrupt not set when expected"); in ShouldSetInterruptOnRxOverflow()
125 Assert.False(peripheral.GenericRxWatermark.IsSet, "Interrupt should not be set yet"); in ShouldSetInterruptOnRxFifoWatermark()
127 Assert.True(peripheral.GenericRxWatermark.IsSet, "Interrupt not set when expected"); in ShouldSetInterruptOnRxFifoWatermark()
141 Assert.False(peripheral.GenericTxWatermark.IsSet, "Interrupt should not be set yet"); in ShouldSetInterruptOnTxFifoWatermark()
142 peripheral.Transmit(0); in ShouldSetInterruptOnTxFifoWatermark()
143 Assert.True(peripheral.GenericTxWatermark.IsSet, "Interrupt not set when expected"); in ShouldSetInterruptOnTxFifoWatermark()
151 peripheral.Transmit(0); in ShouldSetInterruptOnTxUnderflow()
152 Assert.True(peripheral.GenericTxUnderflow.IsSet, "Interrupt not set when expected"); in ShouldSetInterruptOnTxUnderflow()
246 private SPI peripheral; field in Antmicro.Renode.PeripheralsTests.OpenTitan_SpiDeviceTest