Class Relay
Namespace: Hal
Assembly: FRC.Hal.dll
Syntax
[NativeInterface(typeof(IRelay))]
public static class Relay
Methods
|
Improve this Doc
View Source
CheckChannel(Int32)
Declaration
public static int CheckChannel(int channel)
Parameters
Type |
Name |
Description |
Int32 |
channel |
|
Returns
|
Improve this Doc
View Source
FreePort(Int32)
Declaration
public static void FreePort(int relayPortHandle)
Parameters
Type |
Name |
Description |
Int32 |
relayPortHandle |
|
|
Improve this Doc
View Source
Get(Int32)
Declaration
public static int Get(int relayPortHandle)
Parameters
Type |
Name |
Description |
Int32 |
relayPortHandle |
|
Returns
|
Improve this Doc
View Source
InitializePort(Int32, Int32)
Declaration
public static int InitializePort(int portHandle, int fwd)
Parameters
Returns
|
Improve this Doc
View Source
Set(Int32, Int32)
Declaration
public static void Set(int relayPortHandle, int on)
Parameters
Type |
Name |
Description |
Int32 |
relayPortHandle |
|
Int32 |
on |
|