moel@130: /*
moel@130:  
moel@344:   This Source Code Form is subject to the terms of the Mozilla Public
moel@344:   License, v. 2.0. If a copy of the MPL was not distributed with this
moel@344:   file, You can obtain one at http://mozilla.org/MPL/2.0/.
moel@130:  
moel@344:   Copyright (C) 2009-2011 Michael Möller <mmoeller@openhardwaremonitor.org>
moel@344: 	
moel@130: */
moel@130: 
moel@130: namespace OpenHardwareMonitor.Hardware.LPC {
moel@165:   internal interface ISuperIO {
moel@130: 
moel@130:     Chip Chip { get; }
moel@130: 
moel@323:     // get voltage, temperature, fan and control channel values
moel@130:     float?[] Voltages { get; }
moel@130:     float?[] Temperatures { get; }
moel@130:     float?[] Fans { get; }
moel@323:     float?[] Controls { get; }
moel@130: 
moel@323:     // set control value, null = auto    
moel@323:     void SetControl(int index, byte? value);         
moel@323: 
moel@323:     // read and write GPIO
moel@228:     byte? ReadGPIO(int index);
moel@228:     void WriteGPIO(int index, byte value);
moel@228: 
moel@130:     string GetReport();
moel@323: 
moel@130:     void Update();
moel@130:   }
moel@130: }