Show / Hide Table of Contents

Class Interrupts

Inheritance
Object
Interrupts
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(IInterrupts))]
public static class Interrupts

Methods

| Improve this Doc View Source

AttachInterruptHandler(Int32, IntPtr, Void*)

Declaration
public static void AttachInterruptHandler(int interruptHandle, IntPtr handler, void *param)
Parameters
Type Name Description
Int32 interruptHandle
IntPtr handler
Void* param
| Improve this Doc View Source

AttachInterruptHandlerThreaded(Int32, IntPtr, Void*)

Declaration
public static void AttachInterruptHandlerThreaded(int interruptHandle, IntPtr handler, void *param)
Parameters
Type Name Description
Int32 interruptHandle
IntPtr handler
Void* param
| Improve this Doc View Source

Clean(Int32)

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

Disable(Int32)

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

Enable(Int32)

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

Initialize(Boolean)

Declaration
public static int Initialize(bool watcher)
Parameters
Type Name Description
Boolean watcher
Returns
Type Description
Int32
| Improve this Doc View Source

ReadInterruptFallingTimestamp(Int32)

Declaration
public static long ReadInterruptFallingTimestamp(int interruptHandle)
Parameters
Type Name Description
Int32 interruptHandle
Returns
Type Description
Int64
| Improve this Doc View Source

ReadInterruptRisingTimestamp(Int32)

Declaration
public static long ReadInterruptRisingTimestamp(int interruptHandle)
Parameters
Type Name Description
Int32 interruptHandle
Returns
Type Description
Int64
| Improve this Doc View Source

Request(Int32, Int32, AnalogTriggerType)

Declaration
public static void Request(int interruptHandle, int digitalSourceHandle, AnalogTriggerType analogTriggerType)
Parameters
Type Name Description
Int32 interruptHandle
Int32 digitalSourceHandle
AnalogTriggerType analogTriggerType
| Improve this Doc View Source

SetInterruptUpSourceEdge(Int32, Boolean, Boolean)

Declaration
public static void SetInterruptUpSourceEdge(int interruptHandle, bool risingEdge, bool fallingEdge)
Parameters
Type Name Description
Int32 interruptHandle
Boolean risingEdge
Boolean fallingEdge
| Improve this Doc View Source

WaitForInterrupt(Int32, Double, Boolean)

Declaration
public static long WaitForInterrupt(int interruptHandle, double timeout, bool ignorePrevious)
Parameters
Type Name Description
Int32 interruptHandle
Double timeout
Boolean ignorePrevious
Returns
Type Description
Int64
  • Improve this Doc
  • View Source
Back to top Copyright © 2017 RobotDotNet