@@ -75,12 +75,16 @@ class
75
75
76
76
public:
77
77
78
- /* * Initialize the ethernet interface.
78
+ /* *
79
+ * @deprecated
80
+ * Initialize the ethernet interface.
79
81
*/
80
82
MBED_DEPRECATED (" The class has been deprecated and will be removed in the future." )
81
83
Ethernet ();
82
84
83
- /* * Powers the hardware down.
85
+ /* *
86
+ * @deprecated
87
+ * Powers the hardware down.
84
88
*/
85
89
MBED_DEPRECATED (" The class has been deprecated and will be removed in the future." )
86
90
virtual ~Ethernet ();
93
97
FullDuplex100
94
98
};
95
99
96
- /* * Writes into an outgoing ethernet packet.
100
+ /* *
101
+ * @deprecated
102
+ * Writes into an outgoing ethernet packet.
97
103
*
98
104
* It will append size bytes of data to the previously written bytes.
99
105
*
@@ -106,7 +112,9 @@ class
106
112
MBED_DEPRECATED (" The class has been deprecated and will be removed in the future." )
107
113
int write (const char *data, int size);
108
114
109
- /* * Send an outgoing ethernet packet.
115
+ /* *
116
+ * @deprecated
117
+ * Send an outgoing ethernet packet.
110
118
*
111
119
* After filling in the data in an ethernet packet it must be send.
112
120
* Send will provide a new packet to write to.
@@ -118,7 +126,9 @@ class
118
126
MBED_DEPRECATED (" The class has been deprecated and will be removed in the future." )
119
127
int send ();
120
128
121
- /* * Receives an arrived ethernet packet.
129
+ /* *
130
+ * @deprecated
131
+ * Receives an arrived ethernet packet.
122
132
*
123
133
* Receiving an ethernet packet will drop the last received ethernet packet
124
134
* and make a new ethernet packet ready to read.
@@ -131,7 +141,9 @@ class
131
141
MBED_DEPRECATED (" The class has been deprecated and will be removed in the future." )
132
142
int receive ();
133
143
134
- /* * Read from an received ethernet packet.
144
+ /* *
145
+ * @deprecated
146
+ * Read from an received ethernet packet.
135
147
*
136
148
* After receive returned a number bigger than 0 it is
137
149
* possible to read bytes from this packet.
@@ -147,14 +159,18 @@ class
147
159
MBED_DEPRECATED (" The class has been deprecated and will be removed in the future." )
148
160
int read (char *data, int size);
149
161
150
- /* * Gives the ethernet address of the mbed.
162
+ /* *
163
+ * @deprecated
164
+ * Gives the ethernet address of the mbed.
151
165
*
152
166
* @param mac Must be a pointer to a 6 byte char array to copy the ethernet address in.
153
167
*/
154
168
MBED_DEPRECATED (" The class has been deprecated and will be removed in the future." )
155
169
void address (char *mac);
156
170
157
- /* * Returns if an ethernet link is present or not. It takes a while after Ethernet initialization to show up.
171
+ /* *
172
+ * @deprecated
173
+ * Returns if an ethernet link is present or not. It takes a while after Ethernet initialization to show up.
158
174
*
159
175
* @returns
160
176
* 0 if no ethernet link is present,
@@ -180,7 +196,9 @@ class
180
196
MBED_DEPRECATED (" The class has been deprecated and will be removed in the future." )
181
197
int link ();
182
198
183
- /* * Sets the speed and duplex parameters of an ethernet link
199
+ /* *
200
+ * @deprecated
201
+ * Sets the speed and duplex parameters of an ethernet link
184
202
*
185
203
* - AutoNegotiate Auto negotiate speed and duplex
186
204
* - HalfDuplex10 10 Mbit, half duplex
0 commit comments