Пример #1
0
        /// <summary>
        ///     3.4.7 Clock Data Bits In on +ve clock edge LSB first (no write)
        ///     TDO/DI sampled just prior to rising edge
        ///     0x2A,
        ///     Length,
        ///     This will clock in bits on TDO/DI 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 will be
        ///     shifted down so that the first bit in may not be in bit 0 but from 1 upwards
        ///     depending on the number of bits to shift (i.e. a length of 1 bit will have the
        ///     data bit sampled in bit 7 of the byte sent back to the PC). The data will be
        ///     sampled on the rising edge of the CLK pin. No data is clocked out of the device on
        ///     TDI/DO.
        /// </summary>
        /// <param name="len"></param>
        /// <returns></returns>
        public byte BitsInOnPlusEdgeWithLsbFirst(byte len)
        {
            write(MpsseCommand.BitsInOnPlusEdgeWithLsbFirst(len));

            return(read(1)[0]);
        }