nico@207: nico@207:
nico@207:#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <signal.h>
#include "canfestival.h"
#include "TestMasterMicroMod.h"
#include "TestMaster.h"
Functions | |
void | TestMaster_heartbeatError (UNS8 heartbeatID) |
void | TestMaster_initialisation () |
static void | ConfigureSlaveNode (CO_Data *d, UNS8 nodeId) |
static void | CheckSDOAndContinue (CO_Data *d, UNS8 nodeId) |
void | TestMaster_preOperational () |
void | TestMaster_operational () |
void | TestMaster_stopped () |
void | TestMaster_post_sync () |
void | TestMaster_post_TPDO () |
void | catch_signal (int sig) |
void | help () |
void | InitNodes (CO_Data *d, UNS32 id) |
int | main (int argc, char **argv) |
Variables | |
UNS8 | slavenodeid |
static | init_step = 0 |
s_BOARD | MasterBoard = {"32", "125K"} |
void catch_signal | nico@207:( | nico@207:int | nico@207:sig | nico@207:) | nico@207:nico@207: |
nico@207: nico@207:
static void CheckSDOAndContinue | nico@207:( | nico@207:CO_Data * | nico@207:d, | nico@207:|
nico@207: | nico@207: | UNS8 | nico@207:nodeId | nico@207: |
nico@207: | ) | nico@207: [static] |
nico@207:
nico@207: nico@207:
static void ConfigureSlaveNode | nico@207:( | nico@207:CO_Data * | nico@207:d, | nico@207:|
nico@207: | nico@207: | UNS8 | nico@207:nodeId | nico@207: |
nico@207: | ) | nico@207: [static] |
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:
void TestMaster_heartbeatError | nico@207:( | nico@207:UNS8 | nico@207:heartbeatID | nico@207:) | nico@207:nico@207: |
nico@207: nico@207:
void TestMaster_initialisation | nico@207:( | nico@207:void | nico@207:nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
void TestMaster_operational | nico@207:( | nico@207:void | nico@207:nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
void TestMaster_post_sync | nico@207:( | nico@207:void | nico@207:nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
void TestMaster_post_TPDO | nico@207:( | nico@207:void | nico@207:nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
void TestMaster_preOperational | nico@207:( | nico@207:void | nico@207:nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
void TestMaster_stopped | nico@207:( | nico@207:void | nico@207:nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
nico@207:
init_step = 0 [static] |
nico@207:
nico@207: nico@207:
s_BOARD MasterBoard = {"32", "125K"} | nico@207:
nico@207: nico@207:
UNS8 slavenodeid | nico@207:
nico@207: nico@207:
nico@207: