Home
last modified time | relevance | path

Searched refs:interruptMask (Results 1 – 13 of 13) sorted by relevance

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Test/PeripheralsTests/
DEFM32GGI2CControllerTest.cs82 uint interruptMask = 0x1 | 0x40 | 0x80; in InterruptTest()
83 efm32ggi2ccontroller.WriteDoubleWord(0x2C, interruptMask); in InterruptTest()
85 Assert.AreEqual(efm32ggi2ccontroller.ReadDoubleWord(0x28), interruptMask); in InterruptTest()
108 uint interruptMask = 0x1FFFF; in ReadFromSlaveTest()
109 efm32ggi2ccontroller.WriteDoubleWord(0x34, interruptMask); in ReadFromSlaveTest()
111 efm32ggi2ccontroller.WriteDoubleWord(0x30, interruptMask); in ReadFromSlaveTest()
178 uint interruptMask = 0x1FFFF; in TemperatureMeasurementTest()
179 efm32ggi2ccontroller.WriteDoubleWord(0x34, interruptMask); in TemperatureMeasurementTest()
286 uint interruptMask = 0x1FFFF; in DualI2CAddressBMC050Test()
287 efm32ggi2ccontroller.WriteDoubleWord(0x34, interruptMask); in DualI2CAddressBMC050Test()
DCadence_TTCTests.cs72 …public void ShouldOverflowInOneSecond(uint counterControl, uint interruptMask, uint initValue, uin… in ShouldOverflowInOneSecond() argument
78 WriteTimerRegister(index, Registers.InterruptEnable, interruptMask); in ShouldOverflowInOneSecond()
90 Assert.AreEqual(interruptMask, ReadTimerRegister(index, Registers.InterruptStatus)); in ShouldOverflowInOneSecond()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/SD/
DSunxiMMC.cs31 return interruptMask; in ReadDoubleWord()
40 return rawInterruptStatus & interruptMask; in ReadDoubleWord()
65 interruptMask = value; in WriteDoubleWord()
95 interruptMask = 0; in Reset()
191 if((rawInterruptStatus & interruptMask) != 0) in Update()
218 if((interruptMask & (int)Interrupts.DataTransferComplete) != 0) in OnStartCommand()
222 else if((interruptMask & (int)Interrupts.AutoCommandDone) != 0) in OnStartCommand()
247 private uint commandArgument, descriptorListBaseAddress, rawInterruptStatus, interruptMask; field in Antmicro.Renode.Peripherals.SD.SunxiMMC
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/GPIOPort/
DQuark_PWM.cs27 interruptMask = new bool[NumberOfInternalTimers]; in Quark_PWM()
48 interruptMask[i] = false; in Reset()
76 …derCallback: _ => BitHelper.GetValueFromBitsArray(interruptStatus.Zip(interruptMask, (isSet, isMas… in PrepareRegisters()
103 … .WithFlag(2, name: "Interrupt Mask", writeCallback: (_, val) => interruptMask[j] = val) in PrepareRegisters()
125 if(!interruptMask[timerId]) in HandleLimitReached()
176 private bool[] interruptMask; field in Antmicro.Renode.Peripherals.X86.Quark_PWM
DGaisler_GPIO.cs125 … .WithFlags(FirstInterruptPinIndex, numberOfInterrupts, out interruptMask, name: "interruptMask", in DefineRegisters()
156 … var interruptState = interruptMask[it].Value && State[pin] == interruptPolarity[it].Value; in UpdateInterrupt()
195 private IFlagRegisterField[] interruptMask; field in Antmicro.Renode.Peripherals.GPIOPort.Gaisler_GPIO
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/I2C/
DTegraI2CController.cs69 return interruptMask; in ReadDoubleWord()
113 interruptMask = (value & 0x6f); in WriteDoubleWord()
132 interruptMask = 0; in Reset()
234 if((interruptStatus & (interruptMask | (1 << (int)Interrupts.PacketXferComplete))) > 0) in Update()
270 private uint interruptMask; field in Antmicro.Renode.Peripherals.I2C.TegraI2CController
DEFM32GGI2CController.cs583 private void SetInterrupt(uint interruptMask) in SetInterrupt() argument
586 uint enableInterruptMask = i2cn_ien & interruptMask; in SetInterrupt()
597 private void ClearInterrupt(uint interruptMask) in ClearInterrupt() argument
600 uint enableInterruptMask = i2cn_ien & interruptMask; in ClearInterrupt()
610 private void EnableInterrupt(uint interruptMask) in EnableInterrupt() argument
612 i2cn_ien |= interruptMask; in EnableInterrupt()
614 i2cn_if &= interruptMask; in EnableInterrupt()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Timers/
DEOSS3_SimplePeriodicTimer.cs69 if(((int)interruptMask.Value & (1 << number)) != 0x0) //interrupt is not masked in OnGPIO()
78 … this.Log(LogLevel.Warning, "The interrupt {0} is masked: 0x{1:X}.", number, interruptMask.Value); in OnGPIO()
105 .WithValueField(2, 8, out interruptMask, name: "INT_MASK_N") in DefineRegisters()
196 private IValueRegisterField interruptMask; field in Antmicro.Renode.Peripherals.Timers.EOSS3_SimplePeriodicTimer
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/GPIOPort/
DGPIOInterruptManager.cs26interruptMask = new EventRisingCollection<bool>(numberOfGpios, () => RefreshInterrupts()); in GPIOInterruptManager()
42 interruptMask.Clear(); in Reset()
141 public IArray<bool> InterruptMask { get { return interruptMask; } }
157 private readonly EventRisingCollection<bool> interruptMask; field in Antmicro.Renode.Peripherals.GPIOPort.GPIOInterruptManager
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/IRQControllers/
DGaislerMIC.cs475 var interruptMask = 1u << realInterruptNumber; in CPUAckInterrupt()
476 if((registers.ProcessorInterruptForce[cpuid] & interruptMask) != 0) in CPUAckInterrupt()
478 registers.ProcessorInterruptForce[cpuid] &= ~interruptMask; in CPUAckInterrupt()
488 … if((registers.InterruptPending & interruptMask) != 0 && (pirqState & interruptMask) == 0) in CPUAckInterrupt()
491 registers.InterruptPending &= ~interruptMask; in CPUAckInterrupt()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Network/
DSMC91X.cs51 interruptMask = 0x0; in Reset()
141 value = (ushort)((interruptMask << 8) | interruptStatus); in ReadBank2()
252 if(interruptMask != value.HiByte()) in WriteBank2()
254 interruptMask = value.HiByte(); in WriteBank2()
570 if((interruptMask & interruptStatus) != 0) in Update()
728 private byte interruptMask; field in Antmicro.Renode.Peripherals.Network.SMC91X
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Analog/
DXilinx_XADC.cs79 interruptMask = Register.InterruptMask.Define(this, resetValue: 0xFFFFFFFF) in DefineRegisters()
214 var interruptFlag = (interruptStatus.Value & ~interruptMask.Value) != 0; in UpdateInterrupts()
225 private DoubleWordRegister interruptMask; field in Antmicro.Renode.Peripherals.Analog.Xilinx_XADC
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Wireless/
DCC2538RF.cs96 var interruptMask = CreateRegistersGroup(2, this, 0, 8, in CC2538RF()
146 RegisterGroup(addresses, (uint)Register.InterruptMask, interruptMask); in CC2538RF()