Show / Hide Table of Contents

Interface ICANAPI

Namespace: Hal.Natives
Assembly: FRC.Hal.dll
Syntax
[StatusCheckedBy(typeof(StatusHandling), null)]
public interface ICANAPI

Methods

| Improve this Doc View Source

HAL_CleanCAN(Int32)

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

HAL_InitializeCAN(CANManufacturer, Int32, CANDeviceType)

Declaration
[StatusCheckedBy(typeof(StatusHandling), "StatusCheckForce")]
int HAL_InitializeCAN(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

HAL_ReadCANPacketLatest(Int32, Int32, Byte*, Int32*, UInt64*)

Declaration
void HAL_ReadCANPacketLatest(int handle, int apiId, byte *data, int *length, ulong *receivedTimestamp)
Parameters
Type Name Description
Int32 handle
Int32 apiId
Byte* data
Int32* length
UInt64* receivedTimestamp
| Improve this Doc View Source

HAL_ReadCANPacketNew(Int32, Int32, Byte*, Int32*, UInt64*)

Declaration
void HAL_ReadCANPacketNew(int handle, int apiId, byte *data, int *length, ulong *receivedTimestamp)
Parameters
Type Name Description
Int32 handle
Int32 apiId
Byte* data
Int32* length
UInt64* receivedTimestamp
| Improve this Doc View Source

HAL_ReadCANPacketTimeout(Int32, Int32, Byte*, Int32*, UInt64*, Int32)

Declaration
void HAL_ReadCANPacketTimeout(int handle, int apiId, byte *data, int *length, ulong *receivedTimestamp, int timeoutMs)
Parameters
Type Name Description
Int32 handle
Int32 apiId
Byte* data
Int32* length
UInt64* receivedTimestamp
Int32 timeoutMs
| Improve this Doc View Source

HAL_StopCANPacketRepeating(Int32, Int32)

Declaration
void HAL_StopCANPacketRepeating(int handle, int apiId)
Parameters
Type Name Description
Int32 handle
Int32 apiId
| Improve this Doc View Source

HAL_WriteCANPacket(Int32, Byte*, Int32, Int32)

Declaration
void HAL_WriteCANPacket(int handle, byte *data, int length, int apiId)
Parameters
Type Name Description
Int32 handle
Byte* data
Int32 length
Int32 apiId
| Improve this Doc View Source

HAL_WriteCANPacketRepeating(Int32, Byte*, Int32, Int32, Int32)

Declaration
void HAL_WriteCANPacketRepeating(int handle, byte *data, int length, int apiId, int repeatMs)
Parameters
Type Name Description
Int32 handle
Byte* data
Int32 length
Int32 apiId
Int32 repeatMs
| Improve this Doc View Source

HAL_WriteCANRTRFrame(Int32, Int32, Int32)

Declaration
void HAL_WriteCANRTRFrame(int handle, int length, int apiId)
Parameters
Type Name Description
Int32 handle
Int32 length
Int32 apiId
  • Improve this Doc
  • View Source
Back to top Copyright © 2017 RobotDotNet