Home
last modified time | relevance | path

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

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/GPIOPort/
DLiteX_ControlAndStatus.cs21 … LiteX_ControlAndStatus(IMachine machine) : base(machine, LedsCount + SwitchesCount + ButtonsCount) in LiteX_ControlAndStatus()
23 buttonsPending = new bool[ButtonsCount]; in LiteX_ControlAndStatus()
97 .WithValueField(0, ButtonsCount, FieldMode.Read, in DefineRegisters()
98 … => BitHelper.GetValueFromBitsArray(this.State.Skip(LedsCount + SwitchesCount).Take(ButtonsCount))) in DefineRegisters()
102 .WithValueField(0, ButtonsCount, in DefineRegisters()
116 ….WithValueField(0, ButtonsCount, out buttonsEnabled, writeCallback: (_, __) => { UpdateInterrupt()… in DefineRegisters()
122 var enabled = BitHelper.GetBits((uint)buttonsEnabled.Value).Take(ButtonsCount); in UpdateInterrupt()
132 private const int ButtonsCount = 32; field in Antmicro.Renode.Peripherals.GPIOPort.LiteX_ControlAndStatus