Show / Hide Table of Contents

Class CAN

Inheritance
Object
CAN
Implements
IDisposable
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: WPILib
Assembly: WPILibSharp.dll
Syntax
public class CAN : IDisposable

Constructors

| Improve this Doc View Source

CAN(Int32, CANManufacturer, CANDeviceType)

Declaration
public CAN(int deviceId, CANManufacturer manufacturer = CANManufacturer.kTeamUse, CANDeviceType deviceType = CANDeviceType.kMiscellaneous)
Parameters
Type Name Description
Int32 deviceId
CANManufacturer manufacturer
CANDeviceType deviceType

Fields

| Improve this Doc View Source

TeamDeviceType

Declaration
public const CANDeviceType TeamDeviceType = CANDeviceType.kMiscellaneous
Field Value
Type Description
CANDeviceType
| Improve this Doc View Source

TeamManufacturer

Declaration
public const CANManufacturer TeamManufacturer = CANManufacturer.kTeamUse
Field Value
Type Description
CANManufacturer

Methods

| Improve this Doc View Source

Dispose()

Declaration
public void Dispose()
| Improve this Doc View Source

WritePacket(ReadOnlySpan<Byte>, Int32)

Declaration
public void WritePacket(ReadOnlySpan<byte> data, int apiId)
Parameters
Type Name Description
System.ReadOnlySpan<Byte> data
Int32 apiId

Implements

IDisposable
  • Improve this Doc
  • View Source
Back to top Copyright © 2017 RobotDotNet