Show / Hide Table of Contents

Class CANAPI

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

Methods

| Improve this Doc View Source

Clean(Int32)

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

Initialize(CANManufacturer, Int32, CANDeviceType)

Declaration
public static int Initialize(CANManufacturer manufacturer, int deviceId, CANDeviceType deviceType)
Parameters
Type Name Description
CANManufacturer manufacturer
Int32 deviceId
CANDeviceType deviceType
Returns
Type Description
Int32
| Improve this Doc View Source

WritePacket(Int32, ReadOnlySpan<Byte>, Int32)

Declaration
public static void WritePacket(int handle, ReadOnlySpan<byte> data, int apiId)
Parameters
Type Name Description
Int32 handle
System.ReadOnlySpan<Byte> data
Int32 apiId
| Improve this Doc View Source

WritePacketRepeating(Int32, ReadOnlySpan<Byte>, Int32, TimeSpan)

Declaration
public static void WritePacketRepeating(int handle, ReadOnlySpan<byte> data, int apiId, TimeSpan repeatTime)
Parameters
Type Name Description
Int32 handle
System.ReadOnlySpan<Byte> data
Int32 apiId
TimeSpan repeatTime
  • Improve this Doc
  • View Source
Back to top Copyright © 2017 RobotDotNet