Files
ReLibreHardwareMonitor/LibreHardwareMonitorLib/Hardware/Motherboard/Lpc/ISuperIO.cs
T
2019-09-23 19:29:10 +02:00

34 lines
826 B
C#

// Mozilla Public License 2.0
// If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
// Copyright (C) LibreHardwareMonitor and Contributors
// All Rights Reserved
namespace LibreHardwareMonitor.Hardware.Motherboard.Lpc
{
internal interface ISuperIO
{
Chip Chip { get; }
float?[] Controls { get; }
float?[] Fans { get; }
float?[] Temperatures { get; }
// get voltage, temperature, fan and control channel values
float?[] Voltages { get; }
// set control value, null = auto
void SetControl(int index, byte? value);
// read and write GPIO
byte? ReadGpio(int index);
void WriteGpio(int index, byte value);
string GetReport();
void Update();
}
}