Introduce a little consistency with regards to pin naming and usage.

Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon
2019-04-23 00:58:33 +01:00
parent 77a3171037
commit 1d976e811d
8 changed files with 61 additions and 61 deletions
+4 -4
View File
@@ -22,21 +22,21 @@ namespace EightBit
public event EventHandler<EventArgs> LoweredPOWER;
public bool Powered => this.POWER().Raised();
public bool Powered => this.POWER.Raised();
public ref PinLevel POWER() => ref this.powerLine;
public ref PinLevel POWER => ref this.powerLine;
public virtual void RaisePOWER()
{
this.OnRaisingPOWER();
this.POWER().Raise();
this.POWER.Raise();
this.OnRaisedPOWER();
}
public virtual void LowerPOWER()
{
this.OnLoweringPOWER();
this.POWER().Lower();
this.POWER.Lower();
this.OnLoweredPOWER();
}