examples/TestMasterSlave/Slave.h
author etisserant
Mon, 02 Jul 2007 18:22:58 +0200
changeset 236 905677ed00f3
parent 172 0248c2b148bb
child 284 24bf3d692993
permissions -rw-r--r--
Full preliminary implementation of TPDO transmit type:
- SYNC (N) (1-240)
- RTR only + SYNC (252)
- RTR only (253)
- EVENT, with timer and inhibit time (254 and 255)

User app have to call sendPDOevent(d) to eventually signal mapped data changes.
Callbacks added to 0x140N, TPDO comm parameters for on the fly timers values change.
TestMasterSlave updated.
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     1
#include "TestSlave.h"
160
636d875c85dd Removed genrated dead prototypes for depricated callbacks.
etisserant
parents: 0
diff changeset
     2
636d875c85dd Removed genrated dead prototypes for depricated callbacks.
etisserant
parents: 0
diff changeset
     3
void TestSlave_heartbeatError(UNS8);
636d875c85dd Removed genrated dead prototypes for depricated callbacks.
etisserant
parents: 0
diff changeset
     4
636d875c85dd Removed genrated dead prototypes for depricated callbacks.
etisserant
parents: 0
diff changeset
     5
UNS8 TestSlave_canSend(Message *);
636d875c85dd Removed genrated dead prototypes for depricated callbacks.
etisserant
parents: 0
diff changeset
     6
636d875c85dd Removed genrated dead prototypes for depricated callbacks.
etisserant
parents: 0
diff changeset
     7
void TestSlave_initialisation(void);
636d875c85dd Removed genrated dead prototypes for depricated callbacks.
etisserant
parents: 0
diff changeset
     8
void TestSlave_preOperational(void);
636d875c85dd Removed genrated dead prototypes for depricated callbacks.
etisserant
parents: 0
diff changeset
     9
void TestSlave_operational(void);
636d875c85dd Removed genrated dead prototypes for depricated callbacks.
etisserant
parents: 0
diff changeset
    10
void TestSlave_stopped(void);
636d875c85dd Removed genrated dead prototypes for depricated callbacks.
etisserant
parents: 0
diff changeset
    11
636d875c85dd Removed genrated dead prototypes for depricated callbacks.
etisserant
parents: 0
diff changeset
    12
void TestSlave_post_sync(void);
636d875c85dd Removed genrated dead prototypes for depricated callbacks.
etisserant
parents: 0
diff changeset
    13
void TestSlave_post_TPDO(void);
636d875c85dd Removed genrated dead prototypes for depricated callbacks.
etisserant
parents: 0
diff changeset
    14
void TestSlave_storeODSubIndex(UNS16 wIndex, UNS8 bSubindex);