Class DeviceContext
- Namespace
- OpenEphys.Onix
- Assembly
- OpenEphys.Onix.dll
public class DeviceContext
- Inheritance
-
DeviceContext
- Inherited Members
-
Constructors
DeviceContext(ContextTask, Device)
public DeviceContext(ContextTask context, Device device)
Parameters
context
ContextTask
device
Device
Properties
Address
public uint Address { get; }
Property Value
- uint
Context
public ContextTask Context { get; }
Property Value
- ContextTask
DeviceMetadata
public Device DeviceMetadata { get; }
Property Value
- Device
Methods
ReadRegister(uint)
public uint ReadRegister(uint registerAddress)
Parameters
registerAddress
uint
Returns
- uint
Write(IntPtr, int)
public void Write(IntPtr data, int dataSize)
Parameters
data
IntPtr
dataSize
int
WriteRegister(uint, uint)
public void WriteRegister(uint registerAddress, uint value)
Parameters
registerAddress
uint
value
uint
Write<T>(T)
public void Write<T>(T data) where T : unmanaged
Parameters
data
T
Type Parameters
T
Write<T>(T[])
public void Write<T>(T[] data) where T : unmanaged
Parameters
data
T[]
Type Parameters
T