examples/win32test/win32test.h
author etisserant
Mon, 02 Jul 2007 18:22:58 +0200
changeset 236 905677ed00f3
parent 172 0248c2b148bb
child 255 7b9f36dbfe5f
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.

/* File generated by gen_cfile.py. Should not be modified. */

#include "data.h"

/* Prototypes of function provided by object dictionnary */
UNS32 win32test_valueRangeTest (UNS8 typeValue, void * value);
const indextable * win32test_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks);

/* prototypes of function to be filled by app. */
void win32test_heartbeatError(UNS8);

UNS8 win32test_canSend(Message *);

void win32test_initialisation(void);
void win32test_preOperational(void);
void win32test_operational(void);
void win32test_stopped(void);

void win32test_post_sync(void);
void win32test_post_TPDO(void);

/* Master node data struct */
extern CO_Data win32test_Data;