Пример #1
0
        internal SPIInterfaceImplementation(IOWarriorBase IOWarrior, int SPIPacketLength)
        {
            this.IOWarrior       = IOWarrior;
            this.SPIPacketLength = SPIPacketLength;

            // Set to a secure state.
            Enabled = true;
            Disable();
        }
        internal I2CInterfaceImplementation(IOWarriorBase IOWarrior, Pipe I2CPipe, int I2CPacketLength)
        {
            this.IOWarrior       = IOWarrior;
            this.I2CPipe         = I2CPipe;
            this.I2CPacketLength = I2CPacketLength;

            // Set to a secure state.
            Enabled = true;
            Disable();
        }