SOEM
oshw
rtk
fec
fec_ecat.h
Go to the documentation of this file.
1
/******************************************************************************
2
* * *** ***
3
* *** *** ***
4
* *** **** ********** *** ***** *** **** *****
5
* ********* ********** *** ********* ************ *********
6
* **** *** *** *** *** **** ***
7
* *** *** ****** *** *********** *** **** *****
8
* *** *** ****** *** ************* *** **** *****
9
* *** **** **** *** *** *** **** ***
10
* *** ******* ***** ************** ************* *********
11
* *** ***** *** ******* ** ** ****** *****
12
* t h e r e a l t i m e t a r g e t e x p e r t s
13
*
14
* http://www.rt-labs.com
15
* Copyright (C) 2007. rt-labs AB, Sweden. All rights reserved.
16
*------------------------------------------------------------------------------
17
* $Id: fec_ecat.h 91 2014-04-02 13:32:29Z rtlfrm $
18
*------------------------------------------------------------------------------
19
*/
20
27
#ifndef FEC_H
28
#define FEC_H
29
30
#include <types.h>
31
32
#ifdef __cplusplus
33
extern
"C"
34
{
35
#endif
36
37
typedef
struct
fec_mac_address
38
{
39
uint8_t
octet
[6];
40
}
fec_mac_address_t
;
41
42
int
fec_ecat_init
(
const
fec_mac_address_t
* mac_address,
bool
phy_loopback_mode);
43
44
int
fec_ecat_send
(
const
void
*payload,
size_t
tot_len);
45
46
int
fec_ecat_recv
(
void
* buffer,
size_t
buffer_length);
47
48
#ifdef __cplusplus
49
}
50
#endif
51
52
#endif
/* FEC_H */
53
fec_mac_address
Definition:
fec_ecat.h:37
fec_ecat_init
int fec_ecat_init(const fec_mac_address_t *mac_address, bool phy_loopback_mode)
Definition:
fec_ecat.c:753
fec_ecat_recv
int fec_ecat_recv(void *buffer, size_t buffer_length)
Definition:
fec_ecat.c:606
fec_mac_address::octet
uint8_t octet[6]
Definition:
fec_ecat.h:39
uint8_t
unsigned char uint8_t
Definition:
stdint.h:78
fec_ecat_send
int fec_ecat_send(const void *payload, size_t tot_len)
Definition:
fec_ecat.c:559
fec_mac_address_t
struct fec_mac_address fec_mac_address_t
soem
Author(s): Arthur Ketels and M.J.G. van den Molengraft
autogenerated on Mon Feb 28 2022 23:46:57