master/mailbox.h
author Florian Pose <fp@igh-essen.com>
Wed, 05 Apr 2006 08:23:40 +0000
changeset 152 9654f3cf588d
parent 145 11a82e4fd31b
child 154 94d780887be0
permissions -rw-r--r--
Plugfest: Globale Debug-Funktionen f?r Frame-Daten.
/******************************************************************************
 *
 *  m a i l b o x . h
 *
 *  Mailbox-Funktionen.
 *
 *  $Id$
 *
 *****************************************************************************/

#ifndef _EC_MAILBOX_H_
#define _EC_MAILBOX_H_

#include "slave.h"

/*****************************************************************************/

uint8_t *ec_slave_mbox_prepare_send(ec_slave_t *, uint8_t, size_t);
int ec_slave_mbox_prepare_check(ec_slave_t *);
int ec_slave_mbox_check(const ec_slave_t *);
int ec_slave_mbox_prepare_fetch(ec_slave_t *);
uint8_t *ec_slave_mbox_fetch(ec_slave_t *, uint8_t, size_t *);

uint8_t *ec_slave_mbox_simple_io(ec_slave_t *, size_t *);
uint8_t *ec_slave_mbox_simple_receive(ec_slave_t *, uint8_t, size_t *);

/*****************************************************************************/

#endif

/* Emacs-Konfiguration
;;; Local Variables: ***
;;; c-basic-offset:4 ***
;;; End: ***
*/