Now you can download a copy of these docs so you can use them offline! Download now
JaguarCANDriver.h
1 /*----------------------------------------------------------------------------*/
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
20 extern "C"
21 {
22 #endif
23 
24  void FRC_NetworkCommunication_JaguarCANDriver_sendMessage(uint32_t messageID, const uint8_t *data, uint8_t dataSize, int32_t *status);
25  void FRC_NetworkCommunication_JaguarCANDriver_receiveMessage(uint32_t *messageID, uint8_t *data, uint8_t *dataSize, uint32_t timeoutMs, int32_t *status);
26 
27 #ifdef __cplusplus
28 }
29 #endif
30 
31 #endif // __JaguarCANDriver_h__

Generated on Sat Apr 26 2014 12:26:45 for WPILibC++ by doxygen 1.8.6