/// <summary> /// 3.3.5 Clock Data Bytes In on +ve clock edge MSB first (no write) /// 0x20, /// LengthL, /// LengthH /// This will clock in bytes on TDO/DI from 1 to 65536 depending on the Length bytes. /// A length of 0x0000 will do 1 byte and a length of 0xffff will do 65536 bytes. The /// first bit in will be the MSB of the first byte and so on. 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[] BytesInOnPlusEdgeWithMsbFirst(uint len) { write(MpsseCommand.BytesInOnPlusEdgeWithMsbFirst(len)); while (inputLen == 0) { Thread.Sleep(10); } return(read(len)); }
/// <summary> /// 3.3.5 Clock Data Bytes In on +ve clock edge MSB first (no write) /// 0x20, /// LengthL, /// LengthH /// This will clock in bytes on TDO/DI from 1 to 65536 depending on the Length bytes. /// A length of 0x0000 will do 1 byte and a length of 0xffff will do 65536 bytes. The /// first bit in will be the MSB of the first byte and so on. 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[] BytesInOnPlusEdgeWithMsbFirst(uint len) { write(MpsseCommand.BytesInOnPlusEdgeWithMsbFirst(len)); return(read(len)); }