Home
last modified time | relevance | path

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

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/MTD/
DSTM32H7_FlashController.cs31 optionControlLock = new LockRegister(this, nameof(optionControlLock), OptionControlKey); in STM32H7_FlashController()
42 optionControlLock.Reset(); in Reset()
49 if(optionControlLock.IsLocked && IsOffsetToProgramRegister(offset)) in WriteDoubleWord()
73 writeCallback: (_, value) => optionControlLock.ConsumeValue((uint)value)); in DefineRegisters()
109 …Mode.Read | FieldMode.Set, name: "OPTLOCK", valueProviderCallback: _ => optionControlLock.IsLocked, in DefineRegisters()
114 optionControlLock.Lock(); in DefineRegisters()
124 if(optionControlLock.IsLocked) in DefineRegisters()
236 private readonly LockRegister optionControlLock; field in Antmicro.Renode.Peripherals.MTD.STM32H7_FlashController
DSTM32F4_FlashController.cs29 optionControlLock = new LockRegister(this, nameof(optionControlLock), OptionLockKey); in STM32F4_FlashController()
41 optionControlLock.Reset(); in Reset()
67 if((Registers)offset == Registers.OptionControl && optionControlLock.IsLocked) in WriteDoubleWord()
97 writeCallback: (_, value) => optionControlLock.ConsumeValue((uint)value)); in DefineRegisters()
142 …Mode.Read | FieldMode.Set, name: "OPTLOCK", valueProviderCallback: _ => optionControlLock.IsLocked, in DefineRegisters()
147 optionControlLock.Lock(); in DefineRegisters()
226 private readonly LockRegister optionControlLock; field in Antmicro.Renode.Peripherals.MTD.STM32F4_FlashController