Interface ICANAPI
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
Returns
|
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
|
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
|
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
|
Improve this Doc
View Source
HAL_StopCANPacketRepeating(Int32, Int32)
Declaration
void HAL_StopCANPacketRepeating(int handle, int apiId)
Parameters
|
Improve this Doc
View Source
HAL_WriteCANPacket(Int32, Byte*, Int32, Int32)
Declaration
void HAL_WriteCANPacket(int handle, byte *data, int length, int apiId)
Parameters
|
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
|
Improve this Doc
View Source
HAL_WriteCANRTRFrame(Int32, Int32, Int32)
Declaration
void HAL_WriteCANRTRFrame(int handle, int length, int apiId)
Parameters