8 years, 9 months ago.

Callback is not a template "void attach(callback<void>func, IrqType type=RxIrq)

void attach(Callback<void()> func, IrqType type=RxIrq);

template<typename T> MBED_DEPRECATED_SINCE("mbed-os-5.1", "The attach function does not support cv-qualifiers. Replaced by " "attach(callback(obj, method), type).")

int _base_getc(); int _base_putc(int c);

  1. if DEVICE_SERIAL_ASYNCH CThunk<SerialBase> _thunk_irq; event_callback_t _tx_callback; event_callback_t _rx_callback; DMAUsage _tx_usage; DMAUsage _rx_usage;
  2. endif

serial_t _serial; Callback<void()> _irq[IrqCnt]; int _baud;

};

What's the matter

Be the first to answer this question.