blob: ee65cbde50ece89161974cf83ffdbf02fa89075a [file] [log] [blame]
jerrymf1579332013-02-07 01:56:28 +00001/*----------------------------------------------------------------------------*/
2/* Copyright (c) FIRST 2009. All Rights Reserved. */
3/* Open Source Software - may be modified and shared by FRC teams. The code */
4/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
5/*----------------------------------------------------------------------------*/
6
7// JaguarCANDriver.h
8//
9// Defines the API for building a CAN Interface Plugin to support
10// PWM-cable-free CAN motor control on FRC robots. This allows you
11// to connect any CAN interface to the secure Jaguar CAN driver.
12//
13
14#ifndef __JaguarCANDriver_h__
15#define __JaguarCANDriver_h__
16
17#include <VxWorks.h>
18
19#ifdef __cplusplus
20extern "C"
21{
22#endif
23
24 void FRC_NetworkCommunication_JaguarCANDriver_sendMessage(UINT32 messageID, const UINT8 *data, UINT8 dataSize, INT32 *status);
25 void FRC_NetworkCommunication_JaguarCANDriver_receiveMessage(UINT32 *messageID, UINT8 *data, UINT8 *dataSize, UINT32 timeoutMs, INT32 *status);
26
27#ifdef __cplusplus
28}
29#endif
30
31#endif // __JaguarCANDriver_h__