示例#1
0
        //        public void BytesOutOnMinusEdgeWithMsbFirst(byte data)
        //        {
        //            write(MpsseCommand.BytesOutOnMinusEdgeWithMsbFirst(data));
        //            //write(new byte[] { (byte)CommandCode.BytesOutOnMinusEdgeWithMsbFirst, data[0], data[1], data[2] });
        //        }

        /// <summary>
        ///     3.3.3 Clock Data Bits Out on +ve clock edge MSB first (no read)
        ///     Use if CLK starts at '1'
        ///     0x12,
        ///     Length,
        ///     Byte1
        ///     This will clock out bits on TDI/DO from 1 to 8 depending on the Length byte. A
        ///     length of 0x00 will do 1 bit and a length of 0x07 will do 8 bits. The data is sent
        ///     MSB first. Bit 7 of the data byte is placed on TDI/DO then the CLK pin is clocked.
        ///     The data will change to the next bit on the rising edge of the CLK pin. No data is
        ///     clocked into the device on TDO/DI.
        /// </summary>
        /// <param name="data"></param>
        /// <param name="len"></param>
        public void BitsOutOnPlusEdgeWithMsbFirst(byte data, byte len)
        {
            write(MpsseCommand.BitsOutOnPlusEdgeWithMsbFirst(data, len));
        }