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
-40Lines changed: 0 additions & 40 deletions
Original file line number
Diff line number
Diff line change
@@ -301,46 +301,6 @@ class CAN : private NonCopyable<CAN> {
301
301
*/
302
302
voidattach(Callback<void()> func, IrqType type = RxIrq);
303
303
304
-
/** Attach a member function to call whenever a CAN frame received interrupt
305
-
* is generated.
306
-
*
307
-
* @param obj pointer to the object to call the member function on
308
-
* @param method pointer to the member function to be called
309
-
* @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)
310
-
* @deprecated
311
-
* The attach function does not support cv-qualifiers. Replaced by
312
-
* attach(callback(obj, method), type).
313
-
*/
314
-
template<typename T>
315
-
MBED_DEPRECATED_SINCE("mbed-os-5.1",
316
-
"The attach function does not support cv-qualifiers. Replaced by "
317
-
"attach(callback(obj, method), type).")
318
-
voidattach(T *obj, void (T::*method)(), IrqType type = RxIrq)
319
-
{
320
-
// Underlying call thread safe
321
-
attach(callback(obj, method), type);
322
-
}
323
-
324
-
/** Attach a member function to call whenever a CAN frame received interrupt
325
-
* is generated.
326
-
*
327
-
* @param obj pointer to the object to call the member function on
328
-
* @param method pointer to the member function to be called
329
-
* @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)
330
-
* @deprecated
331
-
* The attach function does not support cv-qualifiers. Replaced by
332
-
* attach(callback(obj, method), type).
333
-
*/
334
-
template<typename T>
335
-
MBED_DEPRECATED_SINCE("mbed-os-5.1",
336
-
"The attach function does not support cv-qualifiers. Replaced by "
337
-
"attach(callback(obj, method), type).")
338
-
voidattach(T *obj, void (*method)(T *), IrqType type = RxIrq)
0 commit comments