nico@207: nico@207:
nico@207:#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"} |
void catch_signal | nico@207:( | nico@207:int | nico@207:sig | nico@207:) | nico@207:nico@207: |
nico@207: nico@207:
void help | nico@207:( | nico@207:nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
void InitNodes | nico@207:( | nico@207:CO_Data * | nico@207:d, | nico@207:|
nico@207: | nico@207: | UNS32 | nico@207:id | nico@207: |
nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
int main | nico@207:( | nico@207:int | nico@207:argc, | nico@207:|
nico@207: | nico@207: | char ** | nico@207:argv | nico@207: |
nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
UNS32 OnMasterMap1Update | nico@207:( | nico@207:CO_Data * | nico@207:d, | nico@207:|
nico@207: | nico@207: | const indextable * | nico@207:unsused_indextable, | nico@207:|
nico@207: | nico@207: | UNS8 | nico@207:unsused_bSubindex | nico@207: |
nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
nico@207:
s_BOARD MasterBoard = {"1", "125K"} | nico@207:
nico@207: nico@207:
s_BOARD SlaveBoard = {"0", "125K"} | nico@207:
nico@207: nico@207:
nico@207: