diff -r 920e3b41a61f -r db0742533c10 drivers/ec_command.h --- a/drivers/ec_command.h Fri Nov 11 11:20:55 2005 +0000 +++ b/drivers/ec_command.h Fri Nov 11 13:46:41 2005 +0000 @@ -53,7 +53,7 @@ phy; unsigned long logical; /**< Logische Adresse */ - unsigned char raw[4]; /**< Rohdaten für die generierung des Frames */ + unsigned char raw[4]; /**< Rohdaten für die Generierung des Frames */ } EtherCAT_address_t; @@ -86,6 +86,36 @@ void EtherCAT_command_init(EtherCAT_command_t *); void EtherCAT_command_clear(EtherCAT_command_t *); +void EtherCAT_command_read(EtherCAT_command_t *, + unsigned short, + unsigned short, + unsigned int); +void EtherCAT_command_write(EtherCAT_command_t *, + unsigned short, + unsigned short, + unsigned int, + const unsigned char *); +void EtherCAT_command_position_read(EtherCAT_command_t *, + short, + unsigned short, + unsigned int); +void EtherCAT_command_position_write(EtherCAT_command_t *, + short, + unsigned short, + unsigned int, + const unsigned char *); +void EtherCAT_command_broadcast_read(EtherCAT_command_t *, + unsigned short, + unsigned int); +void EtherCAT_command_broadcast_write(EtherCAT_command_t *, + unsigned short, + unsigned int, + const unsigned char *); +void EtherCAT_command_logical_read_write(EtherCAT_command_t *, + unsigned int, + unsigned int, + unsigned char *); + /***************************************************************/ #endif