Пример #1
0
        /// <summary>
        /// 4.3 CPUMode Read Extended Address
        /// 0x91,
        /// 0xAddrHigh
        /// 0xAddrLow
        /// This will read 1 byte from the target device.
        /// </summary>
        /// <param name="addr"></param>
        /// <returns></returns>
        public byte ReadExtendedAddress(UInt16 addr)
        {
            write(MpsseCommand.ReadExtendedAddress(addr));

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

            return(read(1)[0]);
        }
Пример #2
0
        /// <summary>
        /// 4.3 CPUMode Read Extended Address
        /// 0x91,
        /// 0xAddrHigh
        /// 0xAddrLow
        /// This will read 1 byte from the target device.
        /// </summary>
        /// <param name="addr"></param>
        /// <returns></returns>
        public byte ReadExtendedAddress(UInt16 addr)
        {
            write(MpsseCommand.ReadExtendedAddress(addr));

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