Ejemplo n.º 1
0
        /// <summary>
        /// 3.4.9 Clock Data Bytes In and Out LSB first
        /// The following commands allow for data to be clocked in and out at the same time
        /// least significant bit first.
        /// 0x3C, out on +ve edge, in on -ve edge
        /// LengthL,
        /// LengthH,
        /// Byte1
        /// ..
        /// Byte65536 (max)
        /// </summary>
        /// <param name="data"></param>
        /// <returns></returns>
        public byte[] BytesInOnMinusOutOnPlusWithLsbFirst(byte[] data)
        {
            write(MpsseCommand.BytesInOnMinusOutOnPlusWithLsbFirst(data));

            while (inputLen == 0)
            {
                Thread.Sleep(10);
            }

            return(read((uint)data.Length));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 3.4.9 Clock Data Bytes In and Out LSB first
        /// The following commands allow for data to be clocked in and out at the same time
        /// least significant bit first.
        /// 0x3C, out on +ve edge, in on -ve edge
        /// LengthL,
        /// LengthH,
        /// Byte1
        /// ..
        /// Byte65536 (max)
        /// </summary>
        /// <param name="data"></param>
        /// <returns></returns>
        public byte[] BytesInOnMinusOutOnPlusWithLsbFirst(byte[] data)
        {
            write(MpsseCommand.BytesInOnMinusOutOnPlusWithLsbFirst(data));

            return(read((uint)data.Length));
        }