You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
819 B
31 lines
819 B
/*
|
|
* Licensed under the GNU General Public License version 2 with exceptions. See
|
|
* LICENSE file in the project root for full license information
|
|
*/
|
|
|
|
/** \file
|
|
* \brief
|
|
* Headerfile for ethercatbase.c
|
|
*/
|
|
|
|
#ifndef _slave_config_
|
|
#define _slave_config_
|
|
|
|
#include "ethercat.h"
|
|
|
|
/*!
|
|
* @brief Prints the state in which the Slave is and also give basic infomations about that state.
|
|
* @param uint16_t state is the state flag of the slave which will be masked to ist 8 LSB's
|
|
* @link https://infosys.beckhoff.com/english.php?content=../content/1033/ethercatsystem/1036980875.html&id=
|
|
* @return void
|
|
* */
|
|
void printState(uint16_t state);
|
|
|
|
/*!
|
|
* @brief Set the given Slave to given State
|
|
* @return 1 if No Error | 0 if Error
|
|
* */
|
|
//uint8_t setSlaveState(uint8_t slave_index, uint16_t ethercat_state);
|
|
|
|
#endif
|