Hardware/LPC/W836XX.cs
changeset 323 3f2d9ebacf38
parent 236 763675f19ff4
child 344 3145aadca3d2
     1.1 --- a/Hardware/LPC/W836XX.cs	Mon Aug 29 18:41:06 2011 +0000
     1.2 +++ b/Hardware/LPC/W836XX.cs	Wed Aug 31 22:48:49 2011 +0000
     1.3 @@ -16,7 +16,7 @@
     1.4  
     1.5    The Initial Developer of the Original Code is 
     1.6    Michael Möller <m.moeller@gmx.ch>.
     1.7 -  Portions created by the Initial Developer are Copyright (C) 2009-2010
     1.8 +  Portions created by the Initial Developer are Copyright (C) 2009-2011
     1.9    the Initial Developer. All Rights Reserved.
    1.10  
    1.11    Contributor(s):
    1.12 @@ -50,6 +50,7 @@
    1.13      private readonly float?[] voltages = new float?[0];
    1.14      private readonly float?[] temperatures = new float?[0];    
    1.15      private readonly float?[] fans = new float?[0];
    1.16 +    private readonly float?[] controls = new float?[0];
    1.17  
    1.18      private readonly bool[] peciTemperature = new bool[0];
    1.19      private readonly byte[] voltageRegister = new byte[0];
    1.20 @@ -110,7 +111,9 @@
    1.21      }
    1.22  
    1.23      public void WriteGPIO(int index, byte value) { }
    1.24 -   
    1.25 +
    1.26 +    public void SetControl(int index, byte? value) { }   
    1.27 +
    1.28      public W836XX(Chip chip, byte revision, ushort address) {
    1.29        this.address = address;
    1.30        this.revision = revision;
    1.31 @@ -201,6 +204,7 @@
    1.32      public float?[] Voltages { get { return voltages; } }
    1.33      public float?[] Temperatures { get { return temperatures; } }
    1.34      public float?[] Fans { get { return fans; } }
    1.35 +    public float?[] Controls { get { return controls; } }
    1.36  
    1.37      public void Update() {
    1.38        if (!Ring0.WaitIsaBusMutex(10))