/* * IGpioEnabled.cs * * Copyright © 2010 * Diversified Technical Systems, Inc. * All Rights Reserved. */ namespace DTS.DAS.Concepts.GPIOPin { public enum Directions { Output = 0x00, Peripheral = 0x01, Input = 0x02, InputPulledUp = 0x03, InputPulledDown = 0x04 }; } namespace DTS.DAS.Concepts { /// /// /// Representation of GPIO functionality. /// /// public interface IGpioEnabled { // TODO: Well have to bring these in as soon as we figure out where to get that enum from. void SetGpio(uint Port, uint Pin, GPIOPin.Directions Direction, bool State); bool GetGpio(uint Port, uint Pin); } }