You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: drivers/CAN.h
+14-2Lines changed: 14 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -224,11 +224,17 @@ class CAN {
224
224
* @param obj pointer to the object to call the member function on
225
225
* @param method pointer to the member function to be called
226
226
* @param type Which CAN interrupt to attach the member function to (CAN::RxIrq for message received, TxIrq for transmitted or aborted, EwIrq for error warning, DoIrq for data overrun, WuIrq for wake-up, EpIrq for error passive, AlIrq for arbitration lost, BeIrq for bus error)
227
+
* @deprecated
228
+
* The attach function does not support cv-qualifiers. Replaced by
229
+
* attach(callback(obj, method), type).
227
230
*/
228
231
template<typename T>
232
+
MBED_DEPRECATED_SINCE("mbed-os-5.1",
233
+
"The attach function does not support cv-qualifiers. Replaced by "
/** Attach a member function to call whenever a CAN frame received interrupt
@@ -237,11 +243,17 @@ class CAN {
237
243
* @param obj pointer to the object to call the member function on
238
244
* @param method pointer to the member function to be called
239
245
* @param type Which CAN interrupt to attach the member function to (CAN::RxIrq for message received, TxIrq for transmitted or aborted, EwIrq for error warning, DoIrq for data overrun, WuIrq for wake-up, EpIrq for error passive, AlIrq for arbitration lost, BeIrq for bus error)
246
+
* @deprecated
247
+
* The attach function does not support cv-qualifiers. Replaced by
248
+
* attach(callback(obj, method), type).
240
249
*/
241
250
template<typename T>
251
+
MBED_DEPRECATED_SINCE("mbed-os-5.1",
252
+
"The attach function does not support cv-qualifiers. Replaced by "
0 commit comments