examples/TestMasterSlave/TestMasterSlave.c File Reference

#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <signal.h>
#include "canfestival.h"
#include "Master.h"
#include "Slave.h"
#include "TestMasterSlave.h"

Functions

UNS32 OnMasterMap1Update (CO_Data *d, const indextable *unsused_indextable, UNS8 unsused_bSubindex)
void catch_signal (int sig)
void help ()
void InitNodes (CO_Data *d, UNS32 id)
int main (int argc, char **argv)

Variables

s_BOARD SlaveBoard = {"0", "125K"}
s_BOARD MasterBoard = {"1", "125K"}

Function Documentation

void catch_signal ( int  sig  ) 

void help (  ) 

void InitNodes ( CO_Data d,
UNS32  id 
)

int main ( int  argc,
char **  argv 
)

UNS32 OnMasterMap1Update ( CO_Data d,
const indextable unsused_indextable,
UNS8  unsused_bSubindex 
)


Variable Documentation

s_BOARD MasterBoard = {"1", "125K"}

s_BOARD SlaveBoard = {"0", "125K"}


Generated on Mon Jun 4 15:50:45 2007 for CanFestival by  doxygen 1.5.1