Show / Hide Table of Contents

Class DMA

Inheritance
Object
DMA
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Hal
Assembly: FRC.Hal.dll
Syntax
[NativeInterface(typeof(IDMA))]
public static class DMA

Methods

| Improve this Doc View Source

AddAnalogAccumulator(Int32, Int32)

Declaration
public static void AddAnalogAccumulator(int handle, int aInHandle)
Parameters
Type Name Description
Int32 handle
Int32 aInHandle
| Improve this Doc View Source

AddAnalogInput(Int32, Int32)

Declaration
public static void AddAnalogInput(int handle, int aInHandle)
Parameters
Type Name Description
Int32 handle
Int32 aInHandle
| Improve this Doc View Source

AddAveragedAnalogInput(Int32, Int32)

Declaration
public static void AddAveragedAnalogInput(int handle, int aInHandle)
Parameters
Type Name Description
Int32 handle
Int32 aInHandle
| Improve this Doc View Source

AddCounter(Int32, Int32)

Declaration
public static void AddCounter(int handle, int counterHandle)
Parameters
Type Name Description
Int32 handle
Int32 counterHandle
| Improve this Doc View Source

AddCounterPeriod(Int32, Int32)

Declaration
public static void AddCounterPeriod(int handle, int counterHandle)
Parameters
Type Name Description
Int32 handle
Int32 counterHandle
| Improve this Doc View Source

AddDigitalSource(Int32, Int32)

Declaration
public static void AddDigitalSource(int handle, int digitalSourceHandle)
Parameters
Type Name Description
Int32 handle
Int32 digitalSourceHandle
| Improve this Doc View Source

AddDutyCycle(Int32, Int32)

Declaration
public static void AddDutyCycle(int handle, int dutyCycleHandle)
Parameters
Type Name Description
Int32 handle
Int32 dutyCycleHandle
| Improve this Doc View Source

AddEncoder(Int32, Int32)

Declaration
public static void AddEncoder(int handle, int encoderHandle)
Parameters
Type Name Description
Int32 handle
Int32 encoderHandle
| Improve this Doc View Source

AddEncoderPeriod(Int32, Int32)

Declaration
public static void AddEncoderPeriod(int handle, int encoderHandle)
Parameters
Type Name Description
Int32 handle
Int32 encoderHandle
| Improve this Doc View Source

Free(Int32)

Declaration
public static void Free(int handle)
Parameters
Type Name Description
Int32 handle
| Improve this Doc View Source

GetDirectPointer(Int32)

Declaration
public static void *GetDirectPointer(int handle)
Parameters
Type Name Description
Int32 handle
Returns
Type Description
Void*
| Improve this Doc View Source

GetSampleAnalogAccumulator(DMASample*, Int32, Int64*, Int64*)

Declaration
public static void GetSampleAnalogAccumulator(DMASample*dmaSample, int aInHandle, long *count, long *value)
Parameters
Type Name Description
DMASample* dmaSample
Int32 aInHandle
Int64* count
Int64* value
| Improve this Doc View Source

GetSampleAnalogInputRaw(DMASample*, Int32)

Declaration
public static int GetSampleAnalogInputRaw(DMASample*dmaSample, int aInHandle)
Parameters
Type Name Description
DMASample* dmaSample
Int32 aInHandle
Returns
Type Description
Int32
| Improve this Doc View Source

GetSampleAveragedAnalogInputRaw(DMASample*, Int32)

Declaration
public static int GetSampleAveragedAnalogInputRaw(DMASample*dmaSample, int aInHandle)
Parameters
Type Name Description
DMASample* dmaSample
Int32 aInHandle
Returns
Type Description
Int32
| Improve this Doc View Source

GetSampleCounter(DMASample*, Int32)

Declaration
public static int GetSampleCounter(DMASample*dmaSample, int counterHandle)
Parameters
Type Name Description
DMASample* dmaSample
Int32 counterHandle
Returns
Type Description
Int32
| Improve this Doc View Source

GetSampleCounterPeriod(DMASample*, Int32)

Declaration
public static int GetSampleCounterPeriod(DMASample*dmaSample, int counterHandle)
Parameters
Type Name Description
DMASample* dmaSample
Int32 counterHandle
Returns
Type Description
Int32
| Improve this Doc View Source

GetSampleDigitalSource(DMASample*, Int32)

Declaration
public static int GetSampleDigitalSource(DMASample*dmaSample, int dSourceHandle)
Parameters
Type Name Description
DMASample* dmaSample
Int32 dSourceHandle
Returns
Type Description
Int32
| Improve this Doc View Source

GetSampleDutyCycleOutputRaw(DMASample*, Int32)

Declaration
public static int GetSampleDutyCycleOutputRaw(DMASample*dmaSample, int dutyCycleHandle)
Parameters
Type Name Description
DMASample* dmaSample
Int32 dutyCycleHandle
Returns
Type Description
Int32
| Improve this Doc View Source

GetSampleEncoderPeriodRaw(DMASample*, Int32)

Declaration
public static int GetSampleEncoderPeriodRaw(DMASample*dmaSample, int encoderHandle)
Parameters
Type Name Description
DMASample* dmaSample
Int32 encoderHandle
Returns
Type Description
Int32
| Improve this Doc View Source

GetSampleEncoderRaw(DMASample*, Int32)

Declaration
public static int GetSampleEncoderRaw(DMASample*dmaSample, int encoderHandle)
Parameters
Type Name Description
DMASample* dmaSample
Int32 encoderHandle
Returns
Type Description
Int32
| Improve this Doc View Source

GetSampleTime(DMASample*)

Declaration
public static ulong GetSampleTime(DMASample*dmaSample)
Parameters
Type Name Description
DMASample* dmaSample
Returns
Type Description
UInt64
| Improve this Doc View Source

Initialize()

Declaration
public static int Initialize()
Returns
Type Description
Int32
| Improve this Doc View Source

ReadDirect(Void*, DMASample*, Int32, Int32*)

Declaration
public static DMAReadStatus ReadDirect(void *dmaPointer, DMASample*dmaSample, int timeoutMs, int *remainingOut)
Parameters
Type Name Description
Void* dmaPointer
DMASample* dmaSample
Int32 timeoutMs
Int32* remainingOut
Returns
Type Description
DMAReadStatus
| Improve this Doc View Source

SetExternalTrigger(Int32, Int32, AnalogTriggerType, Int32, Int32)

Declaration
public static void SetExternalTrigger(int handle, int digitalSourceHandle, AnalogTriggerType analogTriggerType, int rising, int falling)
Parameters
Type Name Description
Int32 handle
Int32 digitalSourceHandle
AnalogTriggerType analogTriggerType
Int32 rising
Int32 falling
| Improve this Doc View Source

SetPause(Int32, Int32)

Declaration
public static void SetPause(int handle, int pause)
Parameters
Type Name Description
Int32 handle
Int32 pause
| Improve this Doc View Source

SetRate(Int32, Int32)

Declaration
public static void SetRate(int handle, int cycles)
Parameters
Type Name Description
Int32 handle
Int32 cycles
| Improve this Doc View Source

Start(Int32, Int32)

Declaration
public static void Start(int handle, int queueDepth)
Parameters
Type Name Description
Int32 handle
Int32 queueDepth
| Improve this Doc View Source

Stop(Int32)

Declaration
public static void Stop(int handle)
Parameters
Type Name Description
Int32 handle
  • Improve this Doc
  • View Source
Back to top Copyright © 2017 RobotDotNet