stepRocker servo Open Source TMCL
1.00
|
CAN functions. More...
#include <stdlib.h>
#include "derivative.h"
#include "bits.h"
#include "stepRocker.h"
#include "Can.h"
Macros | |
#define | CAN_MB_RX_INACTIVE 0x00 |
#define | CAN_MB_FULL 0x02 |
#define | CAN_MB_EMPTY 0x04 |
#define | CAN_MB_TX_INACTIVE 0x08 |
#define | CAN_MB_DATA 0x0C |
Functions | |
void | InitCan (UCHAR Bitrate, USHORT ReceiveID1, USHORT ReceiveID2) |
int | CanSendMessage (TCanFrame *Msg) |
int | CanGetMessage (TCanFrame *Msg) |
CAN functions.
This file provides functions for intializing and using the CAN interface.