Lines Matching refs:offset
101 public byte ReadByte(long offset) in ReadByte() argument
103 offset = UseAbsoluteAddress ? (long)absoluteAddress : offset; in ReadByte()
104 if(!VerifyLength(8, offset)) in ReadByte()
108 return (byte)connection.Read(this, ActionType.ReadFromBusByte, offset); in ReadByte()
111 public ushort ReadWord(long offset) in ReadWord() argument
113 offset = UseAbsoluteAddress ? (long)absoluteAddress : offset; in ReadWord()
114 if(!VerifyLength(16, offset)) in ReadWord()
118 return (ushort)connection.Read(this, ActionType.ReadFromBusWord, offset); in ReadWord()
121 public uint ReadDoubleWord(long offset) in ReadDoubleWord() argument
123 offset = UseAbsoluteAddress ? (long)absoluteAddress : offset; in ReadDoubleWord()
124 if(!VerifyLength(32, offset)) in ReadDoubleWord()
128 return (uint)connection.Read(this, ActionType.ReadFromBusDoubleWord, offset); in ReadDoubleWord()
131 public ulong ReadQuadWord(long offset) in ReadQuadWord() argument
133 offset = UseAbsoluteAddress ? (long)absoluteAddress : offset; in ReadQuadWord()
134 if(!VerifyLength(64, offset)) in ReadQuadWord()
138 return connection.Read(this, ActionType.ReadFromBusQuadWord, offset); in ReadQuadWord()
141 public void WriteByte(long offset, byte value) in WriteByte() argument
143 offset = UseAbsoluteAddress ? (long)absoluteAddress : offset; in WriteByte()
144 if(VerifyLength(8, offset, value)) in WriteByte()
146 connection.Write(this, ActionType.WriteToBusByte, offset, value); in WriteByte()
150 public void WriteWord(long offset, ushort value) in WriteWord() argument
152 offset = UseAbsoluteAddress ? (long)absoluteAddress : offset; in WriteWord()
153 if(VerifyLength(16, offset, value)) in WriteWord()
155 connection.Write(this, ActionType.WriteToBusWord, offset, value); in WriteWord()
159 public void WriteDoubleWord(long offset, uint value) in WriteDoubleWord() argument
161 offset = UseAbsoluteAddress ? (long)absoluteAddress : offset; in WriteDoubleWord()
162 if(VerifyLength(32, offset, value)) in WriteDoubleWord()
164 connection.Write(this, ActionType.WriteToBusDoubleWord, offset, value); in WriteDoubleWord()
168 public void WriteQuadWord(long offset, ulong value) in WriteQuadWord() argument
170 offset = UseAbsoluteAddress ? (long)absoluteAddress : offset; in WriteQuadWord()
171 if(VerifyLength(64, offset, value)) in WriteQuadWord()
173 connection.Write(this, ActionType.WriteToBusQuadWord, offset, value); in WriteQuadWord()
289 private bool VerifyLength(int length, long offset, ulong? value = null) in VerifyLength() argument
296 offset, in VerifyLength()