stepRocker servo Open Source TMCL  1.00
 All Data Structures Files Functions Variables Typedefs Enumerations Macros
Macros | Functions
Can.c File Reference

CAN functions. More...

#include <stdlib.h>
#include "derivative.h"
#include "bits.h"
#include "stepRocker.h"
#include "Can.h"
Include dependency graph for Can.c:

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)
 

Detailed Description

CAN functions.

Author
Trinamic Motion Control GmbH & Co KG
Version
2.20

This file provides functions for intializing and using the CAN interface.