Show / Hide Table of Contents

Interface ICAN

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

Methods

| Improve this Doc View Source

HAL_CAN_CloseStreamSession(UInt32)

Declaration
void HAL_CAN_CloseStreamSession(uint sessionHandle)
Parameters
Type Name Description
UInt32 sessionHandle
| Improve this Doc View Source

HAL_CAN_GetCANStatus(Single*, UInt32*, UInt32*, UInt32*, UInt32*)

Declaration
void HAL_CAN_GetCANStatus(float *percentBusUtilization, uint *busOffCount, uint *txFullCount, uint *receiveErrorCount, uint *transmitErrorCount)
Parameters
Type Name Description
Single* percentBusUtilization
UInt32* busOffCount
UInt32* txFullCount
UInt32* receiveErrorCount
UInt32* transmitErrorCount
| Improve this Doc View Source

HAL_CAN_OpenStreamSession(UInt32*, UInt32, UInt32, UInt32)

Declaration
void HAL_CAN_OpenStreamSession(uint *sessionHandle, uint messageID, uint messageIDMask, uint maxMessages)
Parameters
Type Name Description
UInt32* sessionHandle
UInt32 messageID
UInt32 messageIDMask
UInt32 maxMessages
| Improve this Doc View Source

HAL_CAN_ReadStreamSession(UInt32, CANStreamMessage*, UInt32, UInt32*)

Declaration
void HAL_CAN_ReadStreamSession(uint sessionHandle, CANStreamMessage*messages, uint messagesToRead, uint *messagesRead)
Parameters
Type Name Description
UInt32 sessionHandle
CANStreamMessage* messages
UInt32 messagesToRead
UInt32* messagesRead
| Improve this Doc View Source

HAL_CAN_ReceiveMessage(UInt32*, UInt32, Byte*, Byte*, UInt32*)

Declaration
void HAL_CAN_ReceiveMessage(uint *messageID, uint messageIDMask, byte *data, byte *dataSize, uint *timeStamp)
Parameters
Type Name Description
UInt32* messageID
UInt32 messageIDMask
Byte* data
Byte* dataSize
UInt32* timeStamp
| Improve this Doc View Source

HAL_CAN_SendMessage(UInt32, Byte*, Byte, Int32)

Declaration
void HAL_CAN_SendMessage(uint messageID, byte *data, byte dataSize, int periodMs)
Parameters
Type Name Description
UInt32 messageID
Byte* data
Byte dataSize
Int32 periodMs
  • Improve this Doc
  • View Source
Back to top Copyright © 2017 RobotDotNet