Greg Steiert / pegasus_dev

Dependents:   blinky_max32630fthr

Embed: (wiki syntax)

« Back to documentation index

Platform

Data Structures

class  Callback< R()>
 Callback class based on template specialization. More...
class  Callback< R(A0)>
 Callback class based on template specialization. More...
class  Callback< R(A0, A1)>
 Callback class based on template specialization. More...
class  Callback< R(A0, A1, A2)>
 Callback class based on template specialization. More...
class  Callback< R(A0, A1, A2, A3)>
 Callback class based on template specialization. More...
class  Callback< R(A0, A1, A2, A3, A4)>
 Callback class based on template specialization. More...
class  CircularBuffer< T, BufferSize, CounterType >
 Templated Circular buffer class. More...
class  CThunk< T >
 Class for created a pointer with data bound to it. More...
class  PlatformMutex
 A stub mutex for when an RTOS is not present. More...
struct  SingletonPtr< T >
 Utility class for creating an using a singleton. More...
struct  transaction_t
 Transaction structure. More...
class  Transaction< Class >
 Transaction class defines a transaction. More...

Typedefs

typedef Callback< void()> * pFunctionPointer_t
 Group one or more functions in an instance of a CallChain, then call them in sequence using CallChain::call().
typedef void(* mbed_mem_trace_cb_t )(uint8_t op, void *res, void *caller,...)
 Type of the callback used by the memory tracer.

Functions

 Callback (const Callback< R()> &func)
 Attach a Callback.
template<typename T >
 Callback (T *obj, R(T::*method)())
 Create a Callback with a member function.
template<typename T >
 Callback (const T *obj, R(T::*method)() const)
 Create a Callback with a member function.
template<typename T >
 Callback (volatile T *obj, R(T::*method)() volatile)
 Create a Callback with a member function.
template<typename T >
 Callback (const volatile T *obj, R(T::*method)() const volatile)
 Create a Callback with a member function.
 Callback (R(*func)(void *), void *arg)
 Create a Callback with a static function and bound pointer.
 Callback (R(*func)(const void *), const void *arg)
 Create a Callback with a static function and bound pointer.
 Callback (R(*func)(volatile void *), volatile void *arg)
 Create a Callback with a static function and bound pointer.
 Callback (R(*func)(const volatile void *), const volatile void *arg)
 Create a Callback with a static function and bound pointer.
template<typename T >
 Callback (R(*func)(T *), T *arg)
 Create a Callback with a static function and bound pointer.
template<typename T >
 Callback (R(*func)(const T *), const T *arg)
 Create a Callback with a static function and bound pointer.
template<typename T >
 Callback (R(*func)(volatile T *), volatile T *arg)
 Create a Callback with a static function and bound pointer.
template<typename T >
 Callback (R(*func)(const volatile T *), const volatile T *arg)
 Create a Callback with a static function and bound pointer.
template<typename F >
 Callback (F f, typename detail::enable_if< detail::is_type< R(F::*)(),&F::operator()>::value &&sizeof(F)<=sizeof(uintptr_t) >::type=detail::nil())
 Create a Callback with a function object.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to Callback(func, arg)") Callback(void *obj
 Create a Callback with a static function and bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to Callback(func, arg)") Callback(const void *obj
 Create a Callback with a static function and bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to Callback(func, arg)") Callback(volatile void *obj
 Create a Callback with a static function and bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to Callback(func, arg)") Callback(const volatile void *obj
 Create a Callback with a static function and bound pointer.
 ~Callback ()
 Destroy a callback.
void attach (R(*func)())
 Attach a static function.
void attach (const Callback< R()> &func)
 Attach a Callback.
template<typename T >
void attach (T *obj, R(T::*method)())
 Attach a member function.
template<typename T >
void attach (const T *obj, R(T::*method)() const)
 Attach a member function.
template<typename T >
void attach (volatile T *obj, R(T::*method)() volatile)
 Attach a member function.
template<typename T >
void attach (const volatile T *obj, R(T::*method)() const volatile)
 Attach a member function.
void attach (R(*func)(void *), void *arg)
 Attach a static function with a bound pointer.
void attach (R(*func)(const void *), const void *arg)
 Attach a static function with a bound pointer.
void attach (R(*func)(volatile void *), volatile void *arg)
 Attach a static function with a bound pointer.
void attach (R(*func)(const volatile void *), const volatile void *arg)
 Attach a static function with a bound pointer.
template<typename T >
void attach (R(*func)(T *), T *arg)
 Attach a static function with a bound pointer.
template<typename T >
void attach (R(*func)(const T *), const T *arg)
 Attach a static function with a bound pointer.
template<typename T >
void attach (R(*func)(volatile T *), volatile T *arg)
 Attach a static function with a bound pointer.
template<typename T >
void attach (R(*func)(const volatile T *), const volatile T *arg)
 Attach a static function with a bound pointer.
template<typename F >
void attach (F f, typename detail::enable_if< detail::is_type< R(F::*)(),&F::operator()>::value &&sizeof(F)<=sizeof(uintptr_t) >::type=detail::nil())
 Attach a function object.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to attach(func, arg)") void attach(void *obj
 Attach a static function with a bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to attach(func, arg)") void attach(const void *obj
 Attach a static function with a bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to attach(func, arg)") void attach(volatile void *obj
 Attach a static function with a bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to attach(func, arg)") void attach(const volatile void *obj
 Attach a static function with a bound pointer.
Callback & operator= (const Callback &that)
 Assign a callback.
call () const
 Call the attached function.
operator() () const
 Call the attached function.
 operator bool () const
 Test if function has been attached.
static R thunk (void *func)
 Static thunk for passing as C-style function.
 Callback (const Callback< R(A0)> &func)
 Attach a Callback.
template<typename T >
 Callback (T *obj, R(T::*method)(A0))
 Create a Callback with a member function.
template<typename T >
 Callback (const T *obj, R(T::*method)(A0) const)
 Create a Callback with a member function.
template<typename T >
 Callback (volatile T *obj, R(T::*method)(A0) volatile)
 Create a Callback with a member function.
template<typename T >
 Callback (const volatile T *obj, R(T::*method)(A0) const volatile)
 Create a Callback with a member function.
 Callback (R(*func)(void *, A0), void *arg)
 Create a Callback with a static function and bound pointer.
 Callback (R(*func)(const void *, A0), const void *arg)
 Create a Callback with a static function and bound pointer.
 Callback (R(*func)(volatile void *, A0), volatile void *arg)
 Create a Callback with a static function and bound pointer.
 Callback (R(*func)(const volatile void *, A0), const volatile void *arg)
 Create a Callback with a static function and bound pointer.
template<typename T >
 Callback (R(*func)(T *, A0), T *arg)
 Create a Callback with a static function and bound pointer.
template<typename T >
 Callback (R(*func)(const T *, A0), const T *arg)
 Create a Callback with a static function and bound pointer.
template<typename T >
 Callback (R(*func)(volatile T *, A0), volatile T *arg)
 Create a Callback with a static function and bound pointer.
template<typename T >
 Callback (R(*func)(const volatile T *, A0), const volatile T *arg)
 Create a Callback with a static function and bound pointer.
template<typename F >
 Callback (F f, typename detail::enable_if< detail::is_type< R(F::*)(A0),&F::operator()>::value &&sizeof(F)<=sizeof(uintptr_t) >::type=detail::nil())
 Create a Callback with a function object.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to Callback(func, arg)") Callback(void *obj
 Create a Callback with a static function and bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to Callback(func, arg)") Callback(const void *obj
 Create a Callback with a static function and bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to Callback(func, arg)") Callback(volatile void *obj
 Create a Callback with a static function and bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to Callback(func, arg)") Callback(const volatile void *obj
 Create a Callback with a static function and bound pointer.
 ~Callback ()
 Destroy a callback.
void attach (R(*func)(A0))
 Attach a static function.
void attach (const Callback< R(A0)> &func)
 Attach a Callback.
template<typename T >
void attach (T *obj, R(T::*method)(A0))
 Attach a member function.
template<typename T >
void attach (const T *obj, R(T::*method)(A0) const)
 Attach a member function.
template<typename T >
void attach (volatile T *obj, R(T::*method)(A0) volatile)
 Attach a member function.
template<typename T >
void attach (const volatile T *obj, R(T::*method)(A0) const volatile)
 Attach a member function.
void attach (R(*func)(void *, A0), void *arg)
 Attach a static function with a bound pointer.
void attach (R(*func)(const void *, A0), const void *arg)
 Attach a static function with a bound pointer.
void attach (R(*func)(volatile void *, A0), volatile void *arg)
 Attach a static function with a bound pointer.
void attach (R(*func)(const volatile void *, A0), const volatile void *arg)
 Attach a static function with a bound pointer.
template<typename T >
void attach (R(*func)(T *, A0), T *arg)
 Attach a static function with a bound pointer.
template<typename T >
void attach (R(*func)(const T *, A0), const T *arg)
 Attach a static function with a bound pointer.
template<typename T >
void attach (R(*func)(volatile T *, A0), volatile T *arg)
 Attach a static function with a bound pointer.
template<typename T >
void attach (R(*func)(const volatile T *, A0), const volatile T *arg)
 Attach a static function with a bound pointer.
template<typename F >
void attach (F f, typename detail::enable_if< detail::is_type< R(F::*)(A0),&F::operator()>::value &&sizeof(F)<=sizeof(uintptr_t) >::type=detail::nil())
 Attach a function object.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to attach(func, arg)") void attach(void *obj
 Attach a static function with a bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to attach(func, arg)") void attach(const void *obj
 Attach a static function with a bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to attach(func, arg)") void attach(volatile void *obj
 Attach a static function with a bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to attach(func, arg)") void attach(const volatile void *obj
 Attach a static function with a bound pointer.
Callback & operator= (const Callback &that)
 Assign a callback.
call (A0 a0) const
 Call the attached function.
operator() (A0 a0) const
 Call the attached function.
 operator bool () const
 Test if function has been attached.
static R thunk (void *func, A0 a0)
 Static thunk for passing as C-style function.
 Callback (const Callback< R(A0, A1)> &func)
 Attach a Callback.
template<typename T >
 Callback (T *obj, R(T::*method)(A0, A1))
 Create a Callback with a member function.
template<typename T >
 Callback (const T *obj, R(T::*method)(A0, A1) const)
 Create a Callback with a member function.
template<typename T >
 Callback (volatile T *obj, R(T::*method)(A0, A1) volatile)
 Create a Callback with a member function.
template<typename T >
 Callback (const volatile T *obj, R(T::*method)(A0, A1) const volatile)
 Create a Callback with a member function.
 Callback (R(*func)(void *, A0, A1), void *arg)
 Create a Callback with a static function and bound pointer.
 Callback (R(*func)(const void *, A0, A1), const void *arg)
 Create a Callback with a static function and bound pointer.
 Callback (R(*func)(volatile void *, A0, A1), volatile void *arg)
 Create a Callback with a static function and bound pointer.
 Callback (R(*func)(const volatile void *, A0, A1), const volatile void *arg)
 Create a Callback with a static function and bound pointer.
template<typename T >
 Callback (R(*func)(T *, A0, A1), T *arg)
 Create a Callback with a static function and bound pointer.
template<typename T >
 Callback (R(*func)(const T *, A0, A1), const T *arg)
 Create a Callback with a static function and bound pointer.
template<typename T >
 Callback (R(*func)(volatile T *, A0, A1), volatile T *arg)
 Create a Callback with a static function and bound pointer.
template<typename T >
 Callback (R(*func)(const volatile T *, A0, A1), const volatile T *arg)
 Create a Callback with a static function and bound pointer.
template<typename F >
 Callback (F f, typename detail::enable_if< detail::is_type< R(F::*)(A0, A1),&F::operator()>::value &&sizeof(F)<=sizeof(uintptr_t) >::type=detail::nil())
 Create a Callback with a function object.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to Callback(func, arg)") Callback(void *obj
 Create a Callback with a static function and bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to Callback(func, arg)") Callback(const void *obj
 Create a Callback with a static function and bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to Callback(func, arg)") Callback(volatile void *obj
 Create a Callback with a static function and bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to Callback(func, arg)") Callback(const volatile void *obj
 Create a Callback with a static function and bound pointer.
 ~Callback ()
 Destroy a callback.
void attach (R(*func)(A0, A1))
 Attach a static function.
void attach (const Callback< R(A0, A1)> &func)
 Attach a Callback.
template<typename T >
void attach (T *obj, R(T::*method)(A0, A1))
 Attach a member function.
template<typename T >
void attach (const T *obj, R(T::*method)(A0, A1) const)
 Attach a member function.
template<typename T >
void attach (volatile T *obj, R(T::*method)(A0, A1) volatile)
 Attach a member function.
template<typename T >
void attach (const volatile T *obj, R(T::*method)(A0, A1) const volatile)
 Attach a member function.
void attach (R(*func)(void *, A0, A1), void *arg)
 Attach a static function with a bound pointer.
void attach (R(*func)(const void *, A0, A1), const void *arg)
 Attach a static function with a bound pointer.
void attach (R(*func)(volatile void *, A0, A1), volatile void *arg)
 Attach a static function with a bound pointer.
void attach (R(*func)(const volatile void *, A0, A1), const volatile void *arg)
 Attach a static function with a bound pointer.
template<typename T >
void attach (R(*func)(T *, A0, A1), T *arg)
 Attach a static function with a bound pointer.
template<typename T >
void attach (R(*func)(const T *, A0, A1), const T *arg)
 Attach a static function with a bound pointer.
template<typename T >
void attach (R(*func)(volatile T *, A0, A1), volatile T *arg)
 Attach a static function with a bound pointer.
template<typename T >
void attach (R(*func)(const volatile T *, A0, A1), const volatile T *arg)
 Attach a static function with a bound pointer.
template<typename F >
void attach (F f, typename detail::enable_if< detail::is_type< R(F::*)(A0, A1),&F::operator()>::value &&sizeof(F)<=sizeof(uintptr_t) >::type=detail::nil())
 Attach a function object.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to attach(func, arg)") void attach(void *obj
 Attach a static function with a bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to attach(func, arg)") void attach(const void *obj
 Attach a static function with a bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to attach(func, arg)") void attach(volatile void *obj
 Attach a static function with a bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to attach(func, arg)") void attach(const volatile void *obj
 Attach a static function with a bound pointer.
Callback & operator= (const Callback &that)
 Assign a callback.
call (A0 a0, A1 a1) const
 Call the attached function.
operator() (A0 a0, A1 a1) const
 Call the attached function.
 operator bool () const
 Test if function has been attached.
static R thunk (void *func, A0 a0, A1 a1)
 Static thunk for passing as C-style function.
 Callback (const Callback< R(A0, A1, A2)> &func)
 Attach a Callback.
template<typename T >
 Callback (T *obj, R(T::*method)(A0, A1, A2))
 Create a Callback with a member function.
template<typename T >
 Callback (const T *obj, R(T::*method)(A0, A1, A2) const)
 Create a Callback with a member function.
template<typename T >
 Callback (volatile T *obj, R(T::*method)(A0, A1, A2) volatile)
 Create a Callback with a member function.
template<typename T >
 Callback (const volatile T *obj, R(T::*method)(A0, A1, A2) const volatile)
 Create a Callback with a member function.
 Callback (R(*func)(void *, A0, A1, A2), void *arg)
 Create a Callback with a static function and bound pointer.
 Callback (R(*func)(const void *, A0, A1, A2), const void *arg)
 Create a Callback with a static function and bound pointer.
 Callback (R(*func)(volatile void *, A0, A1, A2), volatile void *arg)
 Create a Callback with a static function and bound pointer.
 Callback (R(*func)(const volatile void *, A0, A1, A2), const volatile void *arg)
 Create a Callback with a static function and bound pointer.
template<typename T >
 Callback (R(*func)(T *, A0, A1, A2), T *arg)
 Create a Callback with a static function and bound pointer.
template<typename T >
 Callback (R(*func)(const T *, A0, A1, A2), const T *arg)
 Create a Callback with a static function and bound pointer.
template<typename T >
 Callback (R(*func)(volatile T *, A0, A1, A2), volatile T *arg)
 Create a Callback with a static function and bound pointer.
template<typename T >
 Callback (R(*func)(const volatile T *, A0, A1, A2), const volatile T *arg)
 Create a Callback with a static function and bound pointer.
template<typename F >
 Callback (F f, typename detail::enable_if< detail::is_type< R(F::*)(A0, A1, A2),&F::operator()>::value &&sizeof(F)<=sizeof(uintptr_t) >::type=detail::nil())
 Create a Callback with a function object.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to Callback(func, arg)") Callback(void *obj
 Create a Callback with a static function and bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to Callback(func, arg)") Callback(const void *obj
 Create a Callback with a static function and bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to Callback(func, arg)") Callback(volatile void *obj
 Create a Callback with a static function and bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to Callback(func, arg)") Callback(const volatile void *obj
 Create a Callback with a static function and bound pointer.
 ~Callback ()
 Destroy a callback.
void attach (R(*func)(A0, A1, A2))
 Attach a static function.
void attach (const Callback< R(A0, A1, A2)> &func)
 Attach a Callback.
template<typename T >
void attach (T *obj, R(T::*method)(A0, A1, A2))
 Attach a member function.
template<typename T >
void attach (const T *obj, R(T::*method)(A0, A1, A2) const)
 Attach a member function.
template<typename T >
void attach (volatile T *obj, R(T::*method)(A0, A1, A2) volatile)
 Attach a member function.
template<typename T >
void attach (const volatile T *obj, R(T::*method)(A0, A1, A2) const volatile)
 Attach a member function.
void attach (R(*func)(void *, A0, A1, A2), void *arg)
 Attach a static function with a bound pointer.
void attach (R(*func)(const void *, A0, A1, A2), const void *arg)
 Attach a static function with a bound pointer.
void attach (R(*func)(volatile void *, A0, A1, A2), volatile void *arg)
 Attach a static function with a bound pointer.
void attach (R(*func)(const volatile void *, A0, A1, A2), const volatile void *arg)
 Attach a static function with a bound pointer.
template<typename T >
void attach (R(*func)(T *, A0, A1, A2), T *arg)
 Attach a static function with a bound pointer.
template<typename T >
void attach (R(*func)(const T *, A0, A1, A2), const T *arg)
 Attach a static function with a bound pointer.
template<typename T >
void attach (R(*func)(volatile T *, A0, A1, A2), volatile T *arg)
 Attach a static function with a bound pointer.
template<typename T >
void attach (R(*func)(const volatile T *, A0, A1, A2), const volatile T *arg)
 Attach a static function with a bound pointer.
template<typename F >
void attach (F f, typename detail::enable_if< detail::is_type< R(F::*)(A0, A1, A2),&F::operator()>::value &&sizeof(F)<=sizeof(uintptr_t) >::type=detail::nil())
 Attach a function object.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to attach(func, arg)") void attach(void *obj
 Attach a static function with a bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to attach(func, arg)") void attach(const void *obj
 Attach a static function with a bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to attach(func, arg)") void attach(volatile void *obj
 Attach a static function with a bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to attach(func, arg)") void attach(const volatile void *obj
 Attach a static function with a bound pointer.
Callback & operator= (const Callback &that)
 Assign a callback.
call (A0 a0, A1 a1, A2 a2) const
 Call the attached function.
operator() (A0 a0, A1 a1, A2 a2) const
 Call the attached function.
 operator bool () const
 Test if function has been attached.
static R thunk (void *func, A0 a0, A1 a1, A2 a2)
 Static thunk for passing as C-style function.
 Callback (const Callback< R(A0, A1, A2, A3)> &func)
 Attach a Callback.
template<typename T >
 Callback (T *obj, R(T::*method)(A0, A1, A2, A3))
 Create a Callback with a member function.
template<typename T >
 Callback (const T *obj, R(T::*method)(A0, A1, A2, A3) const)
 Create a Callback with a member function.
template<typename T >
 Callback (volatile T *obj, R(T::*method)(A0, A1, A2, A3) volatile)
 Create a Callback with a member function.
template<typename T >
 Callback (const volatile T *obj, R(T::*method)(A0, A1, A2, A3) const volatile)
 Create a Callback with a member function.
 Callback (R(*func)(void *, A0, A1, A2, A3), void *arg)
 Create a Callback with a static function and bound pointer.
 Callback (R(*func)(const void *, A0, A1, A2, A3), const void *arg)
 Create a Callback with a static function and bound pointer.
 Callback (R(*func)(volatile void *, A0, A1, A2, A3), volatile void *arg)
 Create a Callback with a static function and bound pointer.
 Callback (R(*func)(const volatile void *, A0, A1, A2, A3), const volatile void *arg)
 Create a Callback with a static function and bound pointer.
template<typename T >
 Callback (R(*func)(T *, A0, A1, A2, A3), T *arg)
 Create a Callback with a static function and bound pointer.
template<typename T >
 Callback (R(*func)(const T *, A0, A1, A2, A3), const T *arg)
 Create a Callback with a static function and bound pointer.
template<typename T >
 Callback (R(*func)(volatile T *, A0, A1, A2, A3), volatile T *arg)
 Create a Callback with a static function and bound pointer.
template<typename T >
 Callback (R(*func)(const volatile T *, A0, A1, A2, A3), const volatile T *arg)
 Create a Callback with a static function and bound pointer.
template<typename F >
 Callback (F f, typename detail::enable_if< detail::is_type< R(F::*)(A0, A1, A2, A3),&F::operator()>::value &&sizeof(F)<=sizeof(uintptr_t) >::type=detail::nil())
 Create a Callback with a function object.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to Callback(func, arg)") Callback(void *obj
 Create a Callback with a static function and bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to Callback(func, arg)") Callback(const void *obj
 Create a Callback with a static function and bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to Callback(func, arg)") Callback(volatile void *obj
 Create a Callback with a static function and bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to Callback(func, arg)") Callback(const volatile void *obj
 Create a Callback with a static function and bound pointer.
 ~Callback ()
 Destroy a callback.
void attach (R(*func)(A0, A1, A2, A3))
 Attach a static function.
void attach (const Callback< R(A0, A1, A2, A3)> &func)
 Attach a Callback.
template<typename T >
void attach (T *obj, R(T::*method)(A0, A1, A2, A3))
 Attach a member function.
template<typename T >
void attach (const T *obj, R(T::*method)(A0, A1, A2, A3) const)
 Attach a member function.
template<typename T >
void attach (volatile T *obj, R(T::*method)(A0, A1, A2, A3) volatile)
 Attach a member function.
template<typename T >
void attach (const volatile T *obj, R(T::*method)(A0, A1, A2, A3) const volatile)
 Attach a member function.
void attach (R(*func)(void *, A0, A1, A2, A3), void *arg)
 Attach a static function with a bound pointer.
void attach (R(*func)(const void *, A0, A1, A2, A3), const void *arg)
 Attach a static function with a bound pointer.
void attach (R(*func)(volatile void *, A0, A1, A2, A3), volatile void *arg)
 Attach a static function with a bound pointer.
void attach (R(*func)(const volatile void *, A0, A1, A2, A3), const volatile void *arg)
 Attach a static function with a bound pointer.
template<typename T >
void attach (R(*func)(T *, A0, A1, A2, A3), T *arg)
 Attach a static function with a bound pointer.
template<typename T >
void attach (R(*func)(const T *, A0, A1, A2, A3), const T *arg)
 Attach a static function with a bound pointer.
template<typename T >
void attach (R(*func)(volatile T *, A0, A1, A2, A3), volatile T *arg)
 Attach a static function with a bound pointer.
template<typename T >
void attach (R(*func)(const volatile T *, A0, A1, A2, A3), const volatile T *arg)
 Attach a static function with a bound pointer.
template<typename F >
void attach (F f, typename detail::enable_if< detail::is_type< R(F::*)(A0, A1, A2, A3),&F::operator()>::value &&sizeof(F)<=sizeof(uintptr_t) >::type=detail::nil())
 Attach a function object.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to attach(func, arg)") void attach(void *obj
 Attach a static function with a bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to attach(func, arg)") void attach(const void *obj
 Attach a static function with a bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to attach(func, arg)") void attach(volatile void *obj
 Attach a static function with a bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to attach(func, arg)") void attach(const volatile void *obj
 Attach a static function with a bound pointer.
Callback & operator= (const Callback &that)
 Assign a callback.
call (A0 a0, A1 a1, A2 a2, A3 a3) const
 Call the attached function.
operator() (A0 a0, A1 a1, A2 a2, A3 a3) const
 Call the attached function.
 operator bool () const
 Test if function has been attached.
static R thunk (void *func, A0 a0, A1 a1, A2 a2, A3 a3)
 Static thunk for passing as C-style function.
 Callback (const Callback< R(A0, A1, A2, A3, A4)> &func)
 Attach a Callback.
template<typename T >
 Callback (T *obj, R(T::*method)(A0, A1, A2, A3, A4))
 Create a Callback with a member function.
template<typename T >
 Callback (const T *obj, R(T::*method)(A0, A1, A2, A3, A4) const)
 Create a Callback with a member function.
template<typename T >
 Callback (volatile T *obj, R(T::*method)(A0, A1, A2, A3, A4) volatile)
 Create a Callback with a member function.
template<typename T >
 Callback (const volatile T *obj, R(T::*method)(A0, A1, A2, A3, A4) const volatile)
 Create a Callback with a member function.
 Callback (R(*func)(void *, A0, A1, A2, A3, A4), void *arg)
 Create a Callback with a static function and bound pointer.
 Callback (R(*func)(const void *, A0, A1, A2, A3, A4), const void *arg)
 Create a Callback with a static function and bound pointer.
 Callback (R(*func)(volatile void *, A0, A1, A2, A3, A4), volatile void *arg)
 Create a Callback with a static function and bound pointer.
 Callback (R(*func)(const volatile void *, A0, A1, A2, A3, A4), const volatile void *arg)
 Create a Callback with a static function and bound pointer.
template<typename T >
 Callback (R(*func)(T *, A0, A1, A2, A3, A4), T *arg)
 Create a Callback with a static function and bound pointer.
template<typename T >
 Callback (R(*func)(const T *, A0, A1, A2, A3, A4), const T *arg)
 Create a Callback with a static function and bound pointer.
template<typename T >
 Callback (R(*func)(volatile T *, A0, A1, A2, A3, A4), volatile T *arg)
 Create a Callback with a static function and bound pointer.
template<typename T >
 Callback (R(*func)(const volatile T *, A0, A1, A2, A3, A4), const volatile T *arg)
 Create a Callback with a static function and bound pointer.
template<typename F >
 Callback (F f, typename detail::enable_if< detail::is_type< R(F::*)(A0, A1, A2, A3, A4),&F::operator()>::value &&sizeof(F)<=sizeof(uintptr_t) >::type=detail::nil())
 Create a Callback with a function object.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to Callback(func, arg)") Callback(void *obj
 Create a Callback with a static function and bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to Callback(func, arg)") Callback(const void *obj
 Create a Callback with a static function and bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to Callback(func, arg)") Callback(volatile void *obj
 Create a Callback with a static function and bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to Callback(func, arg)") Callback(const volatile void *obj
 Create a Callback with a static function and bound pointer.
 ~Callback ()
 Destroy a callback.
void attach (R(*func)(A0, A1, A2, A3, A4))
 Attach a static function.
void attach (const Callback< R(A0, A1, A2, A3, A4)> &func)
 Attach a Callback.
template<typename T >
void attach (T *obj, R(T::*method)(A0, A1, A2, A3, A4))
 Attach a member function.
template<typename T >
void attach (const T *obj, R(T::*method)(A0, A1, A2, A3, A4) const)
 Attach a member function.
template<typename T >
void attach (volatile T *obj, R(T::*method)(A0, A1, A2, A3, A4) volatile)
 Attach a member function.
template<typename T >
void attach (const volatile T *obj, R(T::*method)(A0, A1, A2, A3, A4) const volatile)
 Attach a member function.
void attach (R(*func)(void *, A0, A1, A2, A3, A4), void *arg)
 Attach a static function with a bound pointer.
void attach (R(*func)(const void *, A0, A1, A2, A3, A4), const void *arg)
 Attach a static function with a bound pointer.
void attach (R(*func)(volatile void *, A0, A1, A2, A3, A4), volatile void *arg)
 Attach a static function with a bound pointer.
void attach (R(*func)(const volatile void *, A0, A1, A2, A3, A4), const volatile void *arg)
 Attach a static function with a bound pointer.
template<typename T >
void attach (R(*func)(T *, A0, A1, A2, A3, A4), T *arg)
 Attach a static function with a bound pointer.
template<typename T >
void attach (R(*func)(const T *, A0, A1, A2, A3, A4), const T *arg)
 Attach a static function with a bound pointer.
template<typename T >
void attach (R(*func)(volatile T *, A0, A1, A2, A3, A4), volatile T *arg)
 Attach a static function with a bound pointer.
template<typename T >
void attach (R(*func)(const volatile T *, A0, A1, A2, A3, A4), const volatile T *arg)
 Attach a static function with a bound pointer.
template<typename F >
void attach (F f, typename detail::enable_if< detail::is_type< R(F::*)(A0, A1, A2, A3, A4),&F::operator()>::value &&sizeof(F)<=sizeof(uintptr_t) >::type=detail::nil())
 Attach a function object.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to attach(func, arg)") void attach(void *obj
 Attach a static function with a bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to attach(func, arg)") void attach(const void *obj
 Attach a static function with a bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to attach(func, arg)") void attach(volatile void *obj
 Attach a static function with a bound pointer.
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to attach(func, arg)") void attach(const volatile void *obj
 Attach a static function with a bound pointer.
Callback & operator= (const Callback &that)
 Assign a callback.
call (A0 a0, A1 a1, A2 a2, A3 a3, A4 a4) const
 Call the attached function.
operator() (A0 a0, A1 a1, A2 a2, A3 a3, A4 a4) const
 Call the attached function.
 operator bool () const
 Test if function has been attached.
static R thunk (void *func, A0 a0, A1 a1, A2 a2, A3 a3, A4 a4)
 Static thunk for passing as C-style function.
template<typename R >
Callback< R()> callback (R(*func)()=0)
 Create a callback class with type infered from the arguments.
template<typename R >
Callback< R()> callback (const Callback< R()> &func)
 Create a callback class with type infered from the arguments.
template<typename T , typename R >
Callback< R()> callback (T *obj, R(T::*func)())
 Create a callback class with type infered from the arguments.
template<typename T , typename R >
Callback< R()> callback (const T *obj, R(T::*func)() const)
 Create a callback class with type infered from the arguments.
template<typename T , typename R >
Callback< R()> callback (volatile T *obj, R(T::*func)() volatile)
 Create a callback class with type infered from the arguments.
template<typename T , typename R >
Callback< R()> callback (const volatile T *obj, R(T::*func)() const volatile)
 Create a callback class with type infered from the arguments.
template<typename R >
Callback< R()> callback (R(*func)(void *), void *arg)
 Create a callback class with type infered from the arguments.
template<typename R >
Callback< R()> callback (R(*func)(const void *), const void *arg)
 Create a callback class with type infered from the arguments.
template<typename R >
Callback< R()> callback (R(*func)(volatile void *), volatile void *arg)
 Create a callback class with type infered from the arguments.
template<typename R >
Callback< R()> callback (R(*func)(const volatile void *), const volatile void *arg)
 Create a callback class with type infered from the arguments.
template<typename T , typename R >
Callback< R()> callback (R(*func)(T *), T *arg)
 Create a callback class with type infered from the arguments.
template<typename T , typename R >
Callback< R()> callback (R(*func)(const T *), const T *arg)
 Create a callback class with type infered from the arguments.
template<typename T , typename R >
Callback< R()> callback (R(*func)(volatile T *), volatile T *arg)
 Create a callback class with type infered from the arguments.
template<typename T , typename R >
Callback< R()> callback (R(*func)(const volatile T *), const volatile T *arg)
 Create a callback class with type infered from the arguments.
template<typename R >
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to callback(func, arg)") Callback< R()> callback(void *obj
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 >
Callback< R(A0)> callback (R(*func)(A0)=0)
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 >
Callback< R(A0)> callback (const Callback< R(A0)> &func)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 >
Callback< R(A0)> callback (T *obj, R(T::*func)(A0))
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 >
Callback< R(A0)> callback (const T *obj, R(T::*func)(A0) const)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 >
Callback< R(A0)> callback (volatile T *obj, R(T::*func)(A0) volatile)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 >
Callback< R(A0)> callback (const volatile T *obj, R(T::*func)(A0) const volatile)
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 >
Callback< R(A0)> callback (R(*func)(void *, A0), void *arg)
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 >
Callback< R(A0)> callback (R(*func)(const void *, A0), const void *arg)
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 >
Callback< R(A0)> callback (R(*func)(volatile void *, A0), volatile void *arg)
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 >
Callback< R(A0)> callback (R(*func)(const volatile void *, A0), const volatile void *arg)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 >
Callback< R(A0)> callback (R(*func)(T *, A0), T *arg)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 >
Callback< R(A0)> callback (R(*func)(const T *, A0), const T *arg)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 >
Callback< R(A0)> callback (R(*func)(volatile T *, A0), volatile T *arg)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 >
Callback< R(A0)> callback (R(*func)(const volatile T *, A0), const volatile T *arg)
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 , typename A1 >
Callback< R(A0, A1)> callback (R(*func)(A0, A1)=0)
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 , typename A1 >
Callback< R(A0, A1)> callback (const Callback< R(A0, A1)> &func)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 >
Callback< R(A0, A1)> callback (T *obj, R(T::*func)(A0, A1))
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 >
Callback< R(A0, A1)> callback (const T *obj, R(T::*func)(A0, A1) const)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 >
Callback< R(A0, A1)> callback (volatile T *obj, R(T::*func)(A0, A1) volatile)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 >
Callback< R(A0, A1)> callback (const volatile T *obj, R(T::*func)(A0, A1) const volatile)
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 , typename A1 >
Callback< R(A0, A1)> callback (R(*func)(void *, A0, A1), void *arg)
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 , typename A1 >
Callback< R(A0, A1)> callback (R(*func)(const void *, A0, A1), const void *arg)
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 , typename A1 >
Callback< R(A0, A1)> callback (R(*func)(volatile void *, A0, A1), volatile void *arg)
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 , typename A1 >
Callback< R(A0, A1)> callback (R(*func)(const volatile void *, A0, A1), const volatile void *arg)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 >
Callback< R(A0, A1)> callback (R(*func)(T *, A0, A1), T *arg)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 >
Callback< R(A0, A1)> callback (R(*func)(const T *, A0, A1), const T *arg)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 >
Callback< R(A0, A1)> callback (R(*func)(volatile T *, A0, A1), volatile T *arg)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 >
Callback< R(A0, A1)> callback (R(*func)(const volatile T *, A0, A1), const volatile T *arg)
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 , typename A1 , typename A2 >
Callback< R(A0, A1, A2)> callback (R(*func)(A0, A1, A2)=0)
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 , typename A1 , typename A2 >
Callback< R(A0, A1, A2)> callback (const Callback< R(A0, A1, A2)> &func)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 , typename A2 >
Callback< R(A0, A1, A2)> callback (T *obj, R(T::*func)(A0, A1, A2))
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 , typename A2 >
Callback< R(A0, A1, A2)> callback (const T *obj, R(T::*func)(A0, A1, A2) const)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 , typename A2 >
Callback< R(A0, A1, A2)> callback (volatile T *obj, R(T::*func)(A0, A1, A2) volatile)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 , typename A2 >
Callback< R(A0, A1, A2)> callback (const volatile T *obj, R(T::*func)(A0, A1, A2) const volatile)
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 , typename A1 , typename A2 >
Callback< R(A0, A1, A2)> callback (R(*func)(void *, A0, A1, A2), void *arg)
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 , typename A1 , typename A2 >
Callback< R(A0, A1, A2)> callback (R(*func)(const void *, A0, A1, A2), const void *arg)
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 , typename A1 , typename A2 >
Callback< R(A0, A1, A2)> callback (R(*func)(volatile void *, A0, A1, A2), volatile void *arg)
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 , typename A1 , typename A2 >
Callback< R(A0, A1, A2)> callback (R(*func)(const volatile void *, A0, A1, A2), const volatile void *arg)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 , typename A2 >
Callback< R(A0, A1, A2)> callback (R(*func)(T *, A0, A1, A2), T *arg)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 , typename A2 >
Callback< R(A0, A1, A2)> callback (R(*func)(const T *, A0, A1, A2), const T *arg)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 , typename A2 >
Callback< R(A0, A1, A2)> callback (R(*func)(volatile T *, A0, A1, A2), volatile T *arg)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 , typename A2 >
Callback< R(A0, A1, A2)> callback (R(*func)(const volatile T *, A0, A1, A2), const volatile T *arg)
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 , typename A1 , typename A2 , typename A3 >
Callback< R(A0, A1, A2, A3)> callback (R(*func)(A0, A1, A2, A3)=0)
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 , typename A1 , typename A2 , typename A3 >
Callback< R(A0, A1, A2, A3)> callback (const Callback< R(A0, A1, A2, A3)> &func)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 , typename A2 , typename A3 >
Callback< R(A0, A1, A2, A3)> callback (T *obj, R(T::*func)(A0, A1, A2, A3))
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 , typename A2 , typename A3 >
Callback< R(A0, A1, A2, A3)> callback (const T *obj, R(T::*func)(A0, A1, A2, A3) const)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 , typename A2 , typename A3 >
Callback< R(A0, A1, A2, A3)> callback (volatile T *obj, R(T::*func)(A0, A1, A2, A3) volatile)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 , typename A2 , typename A3 >
Callback< R(A0, A1, A2, A3)> callback (const volatile T *obj, R(T::*func)(A0, A1, A2, A3) const volatile)
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 , typename A1 , typename A2 , typename A3 >
Callback< R(A0, A1, A2, A3)> callback (R(*func)(void *, A0, A1, A2, A3), void *arg)
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 , typename A1 , typename A2 , typename A3 >
Callback< R(A0, A1, A2, A3)> callback (R(*func)(const void *, A0, A1, A2, A3), const void *arg)
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 , typename A1 , typename A2 , typename A3 >
Callback< R(A0, A1, A2, A3)> callback (R(*func)(volatile void *, A0, A1, A2, A3), volatile void *arg)
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 , typename A1 , typename A2 , typename A3 >
Callback< R(A0, A1, A2, A3)> callback (R(*func)(const volatile void *, A0, A1, A2, A3), const volatile void *arg)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 , typename A2 , typename A3 >
Callback< R(A0, A1, A2, A3)> callback (R(*func)(T *, A0, A1, A2, A3), T *arg)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 , typename A2 , typename A3 >
Callback< R(A0, A1, A2, A3)> callback (R(*func)(const T *, A0, A1, A2, A3), const T *arg)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 , typename A2 , typename A3 >
Callback< R(A0, A1, A2, A3)> callback (R(*func)(volatile T *, A0, A1, A2, A3), volatile T *arg)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 , typename A2 , typename A3 >
Callback< R(A0, A1, A2, A3)> callback (R(*func)(const volatile T *, A0, A1, A2, A3), const volatile T *arg)
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 >
Callback< R(A0, A1, A2, A3, A4)> callback (R(*func)(A0, A1, A2, A3, A4)=0)
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 >
Callback< R(A0, A1, A2, A3, A4)> callback (const Callback< R(A0, A1, A2, A3, A4)> &func)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 >
Callback< R(A0, A1, A2, A3, A4)> callback (T *obj, R(T::*func)(A0, A1, A2, A3, A4))
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 >
Callback< R(A0, A1, A2, A3, A4)> callback (const T *obj, R(T::*func)(A0, A1, A2, A3, A4) const)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 >
Callback< R(A0, A1, A2, A3, A4)> callback (volatile T *obj, R(T::*func)(A0, A1, A2, A3, A4) volatile)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 >
Callback< R(A0, A1, A2, A3, A4)> callback (const volatile T *obj, R(T::*func)(A0, A1, A2, A3, A4) const volatile)
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 >
Callback< R(A0, A1, A2, A3, A4)> callback (R(*func)(void *, A0, A1, A2, A3, A4), void *arg)
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 >
Callback< R(A0, A1, A2, A3, A4)> callback (R(*func)(const void *, A0, A1, A2, A3, A4), const void *arg)
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 >
Callback< R(A0, A1, A2, A3, A4)> callback (R(*func)(volatile void *, A0, A1, A2, A3, A4), volatile void *arg)
 Create a callback class with type infered from the arguments.
template<typename R , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 >
Callback< R(A0, A1, A2, A3, A4)> callback (R(*func)(const volatile void *, A0, A1, A2, A3, A4), const volatile void *arg)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 >
Callback< R(A0, A1, A2, A3, A4)> callback (R(*func)(T *, A0, A1, A2, A3, A4), T *arg)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 >
Callback< R(A0, A1, A2, A3, A4)> callback (R(*func)(const T *, A0, A1, A2, A3, A4), const T *arg)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 >
Callback< R(A0, A1, A2, A3, A4)> callback (R(*func)(volatile T *, A0, A1, A2, A3, A4), volatile T *arg)
 Create a callback class with type infered from the arguments.
template<typename T , typename R , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 >
Callback< R(A0, A1, A2, A3, A4)> callback (R(*func)(const volatile T *, A0, A1, A2, A3, A4), const volatile T *arg)
 Create a callback class with type infered from the arguments.
pFunctionPointer_t add (Callback< void()> func)
 Add a function at the end of the chain.
template<typename T , typename M >
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","The add function does not support cv-qualifiers. Replaced by ""add(callback(obj, method)).") pFunctionPointer_t add(T *obj
 Add a function at the end of the chain.
pFunctionPointer_t add_front (Callback< void()> func)
 Add a function at the beginning of the chain.
template<typename T , typename M >
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","The add_front function does not support cv-qualifiers. Replaced by ""add_front(callback(obj, method)).") pFunctionPointer_t add_front(T *obj
 Add a function at the beginning of the chain.
pFunctionPointer_t get (int i) const
 Get a function object from the chain.
int find (pFunctionPointer_t f) const
 Look for a function object in the call chain.
void clear ()
 Clear the call chain (remove all functions in the chain).
bool remove (pFunctionPointer_t f)
 Remove a function object from the chain.
void call ()
 Call all the functions in the chain in sequence.
void push (const T &data)
 Push the transaction to the buffer.
bool pop (T &data)
 Pop the transaction from the buffer.
bool empty ()
 Check if the buffer is empty.
bool full ()
 Check if the buffer is full.
void reset ()
 Reset the buffer.
bool core_util_are_interrupts_enabled (void)
 Determine the current interrupts enabled state.
void core_util_critical_section_enter (void)
 Mark the start of a critical section.
void core_util_critical_section_exit (void)
 Mark the end of a critical section.
bool core_util_atomic_cas_u8 (uint8_t *ptr, uint8_t *expectedCurrentValue, uint8_t desiredValue)
 Atomic compare and set.
bool core_util_atomic_cas_u16 (uint16_t *ptr, uint16_t *expectedCurrentValue, uint16_t desiredValue)
 Atomic compare and set.
bool core_util_atomic_cas_u32 (uint32_t *ptr, uint32_t *expectedCurrentValue, uint32_t desiredValue)
 Atomic compare and set.
bool core_util_atomic_cas_ptr (void **ptr, void **expectedCurrentValue, void *desiredValue)
 Atomic compare and set.
uint8_t core_util_atomic_incr_u8 (uint8_t *valuePtr, uint8_t delta)
 Atomic increment.
uint16_t core_util_atomic_incr_u16 (uint16_t *valuePtr, uint16_t delta)
 Atomic increment.
uint32_t core_util_atomic_incr_u32 (uint32_t *valuePtr, uint32_t delta)
 Atomic increment.
void * core_util_atomic_incr_ptr (void **valuePtr, ptrdiff_t delta)
 Atomic increment.
uint8_t core_util_atomic_decr_u8 (uint8_t *valuePtr, uint8_t delta)
 Atomic decrement.
uint16_t core_util_atomic_decr_u16 (uint16_t *valuePtr, uint16_t delta)
 Atomic decrement.
uint32_t core_util_atomic_decr_u32 (uint32_t *valuePtr, uint32_t delta)
 Atomic decrement.
void * core_util_atomic_decr_ptr (void **valuePtr, ptrdiff_t delta)
 Atomic decrement.
void mbed_assert_internal (const char *expr, const char *file, int line)
 Internal mbed assert function which is invoked when MBED_ASSERT macro failes.
static void debug (const char *format,...)
 Output a debug message.
static void debug_if (int condition, const char *format,...)
 Conditionally output a debug message.
int mbed_interface_connected (void)
 Functions to control the mbed interface.
int mbed_interface_reset (void)
 Instruct the mbed interface to reset, as if the reset button had been pressed.
int mbed_interface_disconnect (void)
 This will disconnect the debug aspect of the interface, so semihosting will be disabled.
int mbed_interface_powerdown (void)
 This will disconnect the debug aspect of the interface, and if the USB cable is not connected, also power down the interface.
int mbed_interface_uid (char *uid)
 This returns a string containing the 32-character UID of the mbed interface This is a weak function that can be overwritten if required.
void mbed_mac_address (char *mac)
 This returns a unique 6-byte MAC address, based on the interface UID If the interface is not present, it returns a default fixed MAC address (00:02:F7:F0:00:00)
void mbed_die (void)
 Cause the mbed to flash the BLOD (Blue LEDs Of Death) sequence.
void mbed_error_printf (const char *format,...)
 Print out an error message.
void mbed_error_vfprintf (const char *format, va_list arg)
 Print out an error message.
void mbed_mem_trace_set_callback (mbed_mem_trace_cb_t cb)
 Set the callback used by the memory tracer (use NULL for disable tracing).
void * mbed_mem_trace_malloc (void *res, size_t size, void *caller)
 Trace a call to 'malloc'.
void * mbed_mem_trace_realloc (void *res, void *ptr, size_t size, void *caller)
 Trace a call to 'realloc'.
void * mbed_mem_trace_calloc (void *res, size_t num, size_t size, void *caller)
 Trace a call to 'calloc'.
void mbed_mem_trace_free (void *ptr, void *caller)
 Trace a call to 'free'.
void mbed_mem_trace_default_callback (uint8_t op, void *res, void *caller,...)
 Default memory trace callback.
void mbed_stats_heap_get (mbed_stats_heap_t *stats)
 Fill the passed in structure with heap stats.
void set_time (time_t t)
 Implementation of the C time.h functions.
void attach_rtc (time_t(*read_rtc)(void), void(*write_rtc)(time_t), void(*init_rtc)(void), int(*isenabled_rtc)(void))
 Attach an external RTC to be used for the C time functions.
static void singleton_lock (void)
 Lock the singleton mutex.
static void singleton_unlock (void)
 Unlock the singleton mutex.
Class * get_object ()
 Get object's instance for the transaction.
transaction_t * get_transaction ()
 Get the transaction.

Variables

size_t tx_length
 Length of Tx buffer.
void * rx_buffer
 Rx buffer.
size_t rx_length
 Length of Rx buffer.
uint32_t event
 Event for a transaction.
event_callback_t callback
 User's callback.
uint8_t width
 Buffer's word width (8, 16, 32, 64)

Friends

bool operator== (const Callback &l, const Callback &r)
 Test for equality.
bool operator!= (const Callback &l, const Callback &r)
 Test for inequality.
bool operator== (const Callback &l, const Callback &r)
 Test for equality.
bool operator!= (const Callback &l, const Callback &r)
 Test for inequality.
bool operator== (const Callback &l, const Callback &r)
 Test for equality.
bool operator!= (const Callback &l, const Callback &r)
 Test for inequality.
bool operator== (const Callback &l, const Callback &r)
 Test for equality.
bool operator!= (const Callback &l, const Callback &r)
 Test for inequality.
bool operator== (const Callback &l, const Callback &r)
 Test for equality.
bool operator!= (const Callback &l, const Callback &r)
 Test for inequality.
bool operator== (const Callback &l, const Callback &r)
 Test for equality.
bool operator!= (const Callback &l, const Callback &r)
 Test for inequality.

Typedef Documentation

typedef void(* mbed_mem_trace_cb_t)(uint8_t op, void *res, void *caller,...)

Type of the callback used by the memory tracer.

This callback is called when a memory allocation operation (malloc, realloc, calloc, free) is called and tracing is enabled for that memory allocation function.

Parameters:
opthe ID of the operation (MBED_MEM_TRACE_MALLOC, MBED_MEM_TRACE_REALLOC, MBED_MEM_TRACE_CALLOC or MBED_MEM_TRACE_FREE).
resthe result that the memory operation returned (NULL for 'free').
callerthe caller of the memory operation. Note that the value of 'caller' might be unreliable.

The rest of the parameters passed 'mbed_mem_trace_cb_t' are the same as the memory operations that triggered its call (see 'man malloc' for details):

  • for malloc: cb(MBED_MEM_TRACE_MALLOC, res, caller, size).
  • for realloc: cb(MBED_MEM_TRACE_REALLOC, res, caller, ptr, size).
  • for calloc: cb(MBED_MEM_TRACE_CALLOC, res, caller, nmemb, size).
  • for free: cb(MBED_MEM_TRACE_FREE, NULL, caller, ptr).

Definition at line 60 of file mbed_mem_trace.h.

typedef Callback<void()>* pFunctionPointer_t

Group one or more functions in an instance of a CallChain, then call them in sequence using CallChain::call().

Used mostly by the interrupt chaining code, but can be used for other purposes.

Synchronization level: Not protected

Example:

 #include "mbed.h"

 CallChain chain;

 void first(void) {
     printf("'first' function.\n");
 }

 void second(void) {
     printf("'second' function.\n");
 }

 class Test {
 public:
     void f(void) {
         printf("A::f (class member).\n");
     }
 };

 int main() {
     Test test;

     chain.add(second);
     chain.add_front(first);
     chain.add(&test, &Test::f);
     chain.call();
 }

Definition at line 65 of file CallChain.h.


Function Documentation

pFunctionPointer_t add ( Callback< void()>  func ) [inherited]

Add a function at the end of the chain.

Parameters:
funcA pointer to a void function
Returns:
The function object created for 'func'

Definition at line 28 of file CallChain.cpp.

pFunctionPointer_t add_front ( Callback< void()>  func ) [inherited]

Add a function at the beginning of the chain.

Parameters:
funcA pointer to a void function
Returns:
The function object created for 'func'

Definition at line 45 of file CallChain.cpp.

void attach ( const Callback< R()> &  func ) [inherited]

Attach a Callback.

Parameters:
funcThe Callback to attach

Definition at line 360 of file Callback.h.

void attach ( R(*)(volatile T *)  func,
volatile T *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 466 of file Callback.h.

void attach ( R(*)(const volatile T *)  func,
const volatile T *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 476 of file Callback.h.

void attach ( R(*)(void *, A0, A1)  func,
void *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 1823 of file Callback.h.

void attach ( R(*)(const void *, A0, A1)  func,
const void *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 1832 of file Callback.h.

void attach ( R(*)(volatile void *, A0, A1)  func,
volatile void *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 1841 of file Callback.h.

void attach ( R(*)(const volatile void *, A0, A1)  func,
const volatile void *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 1850 of file Callback.h.

void attach ( R(*)(T *, A0, A1)  func,
T *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 1860 of file Callback.h.

void attach ( R(*)(const T *, A0, A1)  func,
const T *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 1870 of file Callback.h.

void attach ( R(*)(volatile T *, A0, A1)  func,
volatile T *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 1880 of file Callback.h.

void attach ( R(*)(const volatile T *, A0, A1)  func,
const volatile T *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 1890 of file Callback.h.

void attach ( f ) [inherited]

Attach a function object.

Parameters:
funcFunction object to attach
Note:
The function object is limited to a single word of storage

Definition at line 486 of file Callback.h.

void attach ( f ) [inherited]

Attach a function object.

Parameters:
funcFunction object to attach
Note:
The function object is limited to a single word of storage

Definition at line 1900 of file Callback.h.

void attach ( R(*)(A0, A1, A2, A3, A4)  func ) [inherited]

Attach a static function.

Parameters:
funcStatic function to attach

Definition at line 3887 of file Callback.h.

void attach ( const Callback< R(A0, A1, A2, A3, A4)> &  func ) [inherited]

Attach a Callback.

Parameters:
funcThe Callback to attach

Definition at line 3895 of file Callback.h.

void attach ( T *  obj,
R(T::*)(A0, A1, A2, A3, A4)  method 
) [inherited]

Attach a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 3905 of file Callback.h.

void attach ( const T *  obj,
R(T::*)(A0, A1, A2, A3, A4) const   method 
) [inherited]

Attach a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 3915 of file Callback.h.

void attach ( volatile T *  obj,
R(T::*)(A0, A1, A2, A3, A4) volatile  method 
) [inherited]

Attach a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 3925 of file Callback.h.

void attach ( R(*)(A0)  func ) [inherited]

Attach a static function.

Parameters:
funcStatic function to attach

Definition at line 1059 of file Callback.h.

void attach ( const volatile T *  obj,
R(T::*)(A0, A1, A2, A3, A4) const volatile  method 
) [inherited]

Attach a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 3935 of file Callback.h.

void attach ( R(*)(void *, A0, A1, A2, A3, A4)  func,
void *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 3944 of file Callback.h.

void attach ( R(*)(const void *, A0, A1, A2, A3, A4)  func,
const void *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 3953 of file Callback.h.

void attach ( R(*)(volatile void *, A0, A1, A2, A3, A4)  func,
volatile void *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 3962 of file Callback.h.

void attach ( R(*)(const volatile void *, A0, A1, A2, A3, A4)  func,
const volatile void *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 3971 of file Callback.h.

void attach ( R(*)(T *, A0, A1, A2, A3, A4)  func,
T *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 3981 of file Callback.h.

void attach ( R(*)(const T *, A0, A1, A2, A3, A4)  func,
const T *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 3991 of file Callback.h.

void attach ( R(*)(volatile T *, A0, A1, A2, A3, A4)  func,
volatile T *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 4001 of file Callback.h.

void attach ( const Callback< R(A0)> &  func ) [inherited]

Attach a Callback.

Parameters:
funcThe Callback to attach

Definition at line 1067 of file Callback.h.

void attach ( T *  obj,
R(T::*)(A0)  method 
) [inherited]

Attach a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 1077 of file Callback.h.

void attach ( R(*)(const volatile T *, A0, A1, A2, A3, A4)  func,
const volatile T *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 4011 of file Callback.h.

void attach ( f ) [inherited]

Attach a function object.

Parameters:
funcFunction object to attach
Note:
The function object is limited to a single word of storage

Definition at line 4021 of file Callback.h.

void attach ( const T *  obj,
R(T::*)(A0) const   method 
) [inherited]

Attach a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 1087 of file Callback.h.

void attach ( volatile T *  obj,
R(T::*)(A0) volatile  method 
) [inherited]

Attach a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 1097 of file Callback.h.

void attach ( const volatile T *  obj,
R(T::*)(A0) const volatile  method 
) [inherited]

Attach a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 1107 of file Callback.h.

void attach ( R(*)(void *, A0)  func,
void *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 1116 of file Callback.h.

void attach ( R(*)(const void *, A0)  func,
const void *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 1125 of file Callback.h.

void attach ( R(*)(volatile void *, A0)  func,
volatile void *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 1134 of file Callback.h.

void attach ( T *  obj,
R(T::*)()  method 
) [inherited]

Attach a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 370 of file Callback.h.

void attach ( R(*)(const volatile void *, A0)  func,
const volatile void *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 1143 of file Callback.h.

void attach ( R(*)(T *, A0)  func,
T *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 1153 of file Callback.h.

void attach ( R(*)(const T *, A0)  func,
const T *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 1163 of file Callback.h.

void attach ( R(*)(volatile T *, A0)  func,
volatile T *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 1173 of file Callback.h.

void attach ( R(*)(const volatile T *, A0)  func,
const volatile T *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 1183 of file Callback.h.

void attach ( f ) [inherited]

Attach a function object.

Parameters:
funcFunction object to attach
Note:
The function object is limited to a single word of storage

Definition at line 1193 of file Callback.h.

void attach ( R(*)(A0, A1, A2)  func ) [inherited]

Attach a static function.

Parameters:
funcStatic function to attach

Definition at line 2473 of file Callback.h.

void attach ( const Callback< R(A0, A1, A2)> &  func ) [inherited]

Attach a Callback.

Parameters:
funcThe Callback to attach

Definition at line 2481 of file Callback.h.

void attach ( T *  obj,
R(T::*)(A0, A1, A2)  method 
) [inherited]

Attach a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 2491 of file Callback.h.

void attach ( const T *  obj,
R(T::*)() const   method 
) [inherited]

Attach a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 380 of file Callback.h.

void attach ( const T *  obj,
R(T::*)(A0, A1, A2) const   method 
) [inherited]

Attach a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 2501 of file Callback.h.

void attach ( volatile T *  obj,
R(T::*)(A0, A1, A2) volatile  method 
) [inherited]

Attach a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 2511 of file Callback.h.

void attach ( const volatile T *  obj,
R(T::*)(A0, A1, A2) const volatile  method 
) [inherited]

Attach a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 2521 of file Callback.h.

void attach ( R(*)(void *, A0, A1, A2)  func,
void *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 2530 of file Callback.h.

void attach ( R(*)(const void *, A0, A1, A2)  func,
const void *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 2539 of file Callback.h.

void attach ( R(*)(volatile void *, A0, A1, A2)  func,
volatile void *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 2548 of file Callback.h.

void attach ( R(*)(const volatile void *, A0, A1, A2)  func,
const volatile void *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 2557 of file Callback.h.

void attach ( R(*)(T *, A0, A1, A2)  func,
T *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 2567 of file Callback.h.

void attach ( R(*)(const T *, A0, A1, A2)  func,
const T *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 2577 of file Callback.h.

void attach ( R(*)(volatile T *, A0, A1, A2)  func,
volatile T *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 2587 of file Callback.h.

void attach ( R(*)(const volatile T *, A0, A1, A2)  func,
const volatile T *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 2597 of file Callback.h.

void attach ( f ) [inherited]

Attach a function object.

Parameters:
funcFunction object to attach
Note:
The function object is limited to a single word of storage

Definition at line 2607 of file Callback.h.

void attach ( R(*)()  func ) [inherited]

Attach a static function.

Parameters:
funcStatic function to attach

Definition at line 352 of file Callback.h.

void attach ( volatile T *  obj,
R(T::*)() volatile  method 
) [inherited]

Attach a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 390 of file Callback.h.

void attach ( const volatile T *  obj,
R(T::*)() const volatile  method 
) [inherited]

Attach a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 400 of file Callback.h.

void attach ( R(*)(void *)  func,
void *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 409 of file Callback.h.

void attach ( R(*)(const void *)  func,
const void *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 418 of file Callback.h.

void attach ( R(*)(const volatile void *)  func,
const volatile void *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 436 of file Callback.h.

void attach ( R(*)(A0, A1, A2, A3)  func ) [inherited]

Attach a static function.

Parameters:
funcStatic function to attach

Definition at line 3180 of file Callback.h.

void attach ( const Callback< R(A0, A1, A2, A3)> &  func ) [inherited]

Attach a Callback.

Parameters:
funcThe Callback to attach

Definition at line 3188 of file Callback.h.

void attach ( T *  obj,
R(T::*)(A0, A1, A2, A3)  method 
) [inherited]

Attach a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 3198 of file Callback.h.

void attach ( const T *  obj,
R(T::*)(A0, A1, A2, A3) const   method 
) [inherited]

Attach a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 3208 of file Callback.h.

void attach ( volatile T *  obj,
R(T::*)(A0, A1, A2, A3) volatile  method 
) [inherited]

Attach a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 3218 of file Callback.h.

void attach ( const volatile T *  obj,
R(T::*)(A0, A1, A2, A3) const volatile  method 
) [inherited]

Attach a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 3228 of file Callback.h.

void attach ( R(*)(void *, A0, A1, A2, A3)  func,
void *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 3237 of file Callback.h.

void attach ( R(*)(const void *, A0, A1, A2, A3)  func,
const void *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 3246 of file Callback.h.

void attach ( R(*)(volatile void *, A0, A1, A2, A3)  func,
volatile void *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 3255 of file Callback.h.

void attach ( R(*)(const volatile void *, A0, A1, A2, A3)  func,
const volatile void *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 3264 of file Callback.h.

void attach ( R(*)(T *, A0, A1, A2, A3)  func,
T *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 3274 of file Callback.h.

void attach ( R(*)(const T *, A0, A1, A2, A3)  func,
const T *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 3284 of file Callback.h.

void attach ( R(*)(volatile T *, A0, A1, A2, A3)  func,
volatile T *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 3294 of file Callback.h.

void attach ( R(*)(const volatile T *, A0, A1, A2, A3)  func,
const volatile T *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 3304 of file Callback.h.

void attach ( f ) [inherited]

Attach a function object.

Parameters:
funcFunction object to attach
Note:
The function object is limited to a single word of storage

Definition at line 3314 of file Callback.h.

void attach ( R(*)(volatile void *)  func,
volatile void *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 427 of file Callback.h.

void attach ( R(*)(T *)  func,
T *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 446 of file Callback.h.

void attach ( R(*)(A0, A1)  func ) [inherited]

Attach a static function.

Parameters:
funcStatic function to attach

Definition at line 1766 of file Callback.h.

void attach ( const Callback< R(A0, A1)> &  func ) [inherited]

Attach a Callback.

Parameters:
funcThe Callback to attach

Definition at line 1774 of file Callback.h.

void attach ( R(*)(const T *)  func,
const T *  arg 
) [inherited]

Attach a static function with a bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 456 of file Callback.h.

void attach ( T *  obj,
R(T::*)(A0, A1)  method 
) [inherited]

Attach a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 1784 of file Callback.h.

void attach ( const T *  obj,
R(T::*)(A0, A1) const   method 
) [inherited]

Attach a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 1794 of file Callback.h.

void attach ( volatile T *  obj,
R(T::*)(A0, A1) volatile  method 
) [inherited]

Attach a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 1804 of file Callback.h.

void attach ( const volatile T *  obj,
R(T::*)(A0, A1) const volatile  method 
) [inherited]

Attach a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 1814 of file Callback.h.

void attach_rtc ( time_t(*)(void)  read_rtc,
void(*)(time_t)  write_rtc,
void(*)(void)  init_rtc,
int(*)(void)  isenabled_rtc 
)

Attach an external RTC to be used for the C time functions.

Synchronization level: Thread safe

Parameters:
read_rtcpointer to function which returns current UNIX timestamp
write_rtcpointer to function which sets current UNIX timestamp, can be NULL
init_rtcpointer to funtion which initializes RTC, can be NULL
isenabled_rtcpointer to function wich returns if the rtc is enabled, can be NULL

Definition at line 87 of file mbed_rtc_time.cpp.

R call ( A0  a0,
A1  a1 
) const [inherited]

Call the attached function.

Definition at line 2068 of file Callback.h.

R call ( A0  a0,
A1  a1,
A2  a2,
A3  a3,
A4  a4 
) const [inherited]

Call the attached function.

Definition at line 4189 of file Callback.h.

R call (  ) const [inherited]

Call the attached function.

Definition at line 654 of file Callback.h.

R call ( A0  a0 ) const [inherited]

Call the attached function.

Definition at line 1361 of file Callback.h.

R call ( A0  a0,
A1  a1,
A2  a2 
) const [inherited]

Call the attached function.

Definition at line 2775 of file Callback.h.

void call (  ) [inherited]

Call all the functions in the chain in sequence.

Definition at line 108 of file CallChain.cpp.

R call ( A0  a0,
A1  a1,
A2  a2,
A3  a3 
) const [inherited]

Call the attached function.

Definition at line 3482 of file Callback.h.

Callback<R(A0, A1, A2, A3, A4)> mbed::callback ( const volatile T *  obj,
R(T::*)(A0, A1, A2, A3, A4) const volatile  func 
)

Create a callback class with type infered from the arguments.

Parameters:
objOptional pointer to object to bind to function
methodMember function to attach
Returns:
Callback with infered type

Definition at line 5732 of file Callback.h.

Callback<R(A0, A1, A2, A3, A4)> mbed::callback ( R(*)(const T *, A0, A1, A2, A3, A4)  func,
const T *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 5798 of file Callback.h.

Callback ( volatile T *  obj,
R(T::*)() volatile  method 
) [inherited]

Create a Callback with a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 112 of file Callback.h.

Callback ( const Callback< R(A0, A1, A2, A3, A4)> &  func ) [inherited]

Attach a Callback.

Parameters:
funcThe Callback to attach

Definition at line 3617 of file Callback.h.

Callback<R(A0, A1, A2, A3, A4)> mbed::callback ( const Callback< R(A0, A1, A2, A3, A4)> &  func )

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
Returns:
Callback with infered type

Definition at line 5688 of file Callback.h.

Callback ( T *  obj,
R(T::*)(A0, A1, A2, A3, A4)  method 
) [inherited]

Create a Callback with a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 3629 of file Callback.h.

Callback ( R(*)(const volatile T *, A0)  func,
const volatile T *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 896 of file Callback.h.

Callback ( const T *  obj,
R(T::*)(A0, A1, A2, A3, A4) const   method 
) [inherited]

Create a Callback with a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 3638 of file Callback.h.

Callback ( volatile T *  obj,
R(T::*)(A0, A1, A2, A3, A4) volatile  method 
) [inherited]

Create a Callback with a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 3647 of file Callback.h.

Callback ( f ) [inherited]

Create a Callback with a function object.

Parameters:
funcFunction object to attach
Note:
The function object is limited to a single word of storage

Definition at line 905 of file Callback.h.

Callback ( const volatile T *  obj,
R(T::*)(A0, A1, A2, A3, A4) const volatile  method 
) [inherited]

Create a Callback with a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 3656 of file Callback.h.

Callback ( R(*)(void *, A0, A1, A2, A3, A4)  func,
void *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 3664 of file Callback.h.

Callback ( R(*)(const void *, A0, A1, A2, A3, A4)  func,
const void *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 3672 of file Callback.h.

Callback ( R(*)(volatile void *, A0, A1, A2, A3, A4)  func,
volatile void *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 3680 of file Callback.h.

Callback<R(A0, A1, A2, A3)> mbed::callback ( R(*)(const T *, A0, A1, A2, A3)  func,
const T *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 5525 of file Callback.h.

Callback ( R(*)(const volatile void *, A0, A1, A2, A3, A4)  func,
const volatile void *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 3688 of file Callback.h.

Callback ( R(*)(T *, A0, A1, A2, A3, A4)  func,
T *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 3697 of file Callback.h.

Callback ( R(*)(volatile void *)  func,
volatile void *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 145 of file Callback.h.

Callback ( R(*)(const T *, A0, A1, A2, A3, A4)  func,
const T *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 3706 of file Callback.h.

Callback ( R(*)(volatile T *, A0, A1, A2, A3, A4)  func,
volatile T *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 3715 of file Callback.h.

Callback ( R(*)(const volatile T *, A0, A1, A2, A3, A4)  func,
const volatile T *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 3724 of file Callback.h.

Callback ( f ) [inherited]

Create a Callback with a function object.

Parameters:
funcFunction object to attach
Note:
The function object is limited to a single word of storage

Definition at line 3733 of file Callback.h.

Callback<R(A0, A1, A2, A3)> mbed::callback ( const T *  obj,
R(T::*)(A0, A1, A2, A3) const   func 
)

Create a callback class with type infered from the arguments.

Parameters:
objOptional pointer to object to bind to function
methodMember function to attach
Returns:
Callback with infered type

Definition at line 5437 of file Callback.h.

Callback ( R(*)(const volatile void *)  func,
const volatile void *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 153 of file Callback.h.

Callback<R()> mbed::callback ( R(*)()  func = 0 )

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
Returns:
Callback with infered type

Definition at line 4313 of file Callback.h.

Callback ( const Callback< R(A0, A1, A2)> &  func ) [inherited]

Attach a Callback.

Parameters:
funcThe Callback to attach

Definition at line 2203 of file Callback.h.

Callback<R()> mbed::callback ( const Callback< R()> &  func )

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
Returns:
Callback with infered type

Definition at line 4323 of file Callback.h.

Callback<R()> mbed::callback ( T *  obj,
R(T::*)()  func 
)

Create a callback class with type infered from the arguments.

Parameters:
objOptional pointer to object to bind to function
methodMember function to attach
Returns:
Callback with infered type

Definition at line 4334 of file Callback.h.

Callback ( T *  obj,
R(T::*)(A0, A1, A2)  method 
) [inherited]

Create a Callback with a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 2215 of file Callback.h.

Callback<R()> mbed::callback ( const T *  obj,
R(T::*)() const   func 
)

Create a callback class with type infered from the arguments.

Parameters:
objOptional pointer to object to bind to function
methodMember function to attach
Returns:
Callback with infered type

Definition at line 4345 of file Callback.h.

Callback<R()> mbed::callback ( volatile T *  obj,
R(T::*)() volatile  func 
)

Create a callback class with type infered from the arguments.

Parameters:
objOptional pointer to object to bind to function
methodMember function to attach
Returns:
Callback with infered type

Definition at line 4356 of file Callback.h.

Callback ( const T *  obj,
R(T::*)(A0, A1, A2) const   method 
) [inherited]

Create a Callback with a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 2224 of file Callback.h.

Callback<R(A0, A1, A2)> mbed::callback ( R(*)(const volatile T *, A0, A1, A2)  func,
const volatile T *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 5274 of file Callback.h.

Callback<R()> mbed::callback ( const volatile T *  obj,
R(T::*)() const volatile  func 
)

Create a callback class with type infered from the arguments.

Parameters:
objOptional pointer to object to bind to function
methodMember function to attach
Returns:
Callback with infered type

Definition at line 4367 of file Callback.h.

Callback<R()> mbed::callback ( R(*)(void *)  func,
void *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 4378 of file Callback.h.

Callback ( volatile T *  obj,
R(T::*)(A0, A1, A2) volatile  method 
) [inherited]

Create a Callback with a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 2233 of file Callback.h.

Callback<R(A0, A1, A2)> mbed::callback ( R(*)(const volatile void *, A0, A1, A2)  func,
const volatile void *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 5230 of file Callback.h.

Callback<R()> mbed::callback ( R(*)(const void *)  func,
const void *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 4389 of file Callback.h.

Callback<R()> mbed::callback ( R(*)(volatile void *)  func,
volatile void *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 4400 of file Callback.h.

Callback ( const volatile T *  obj,
R(T::*)(A0, A1, A2) const volatile  method 
) [inherited]

Create a Callback with a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 2242 of file Callback.h.

Callback<R(A0, A1, A2)> mbed::callback ( const volatile T *  obj,
R(T::*)(A0, A1, A2) const volatile  func 
)

Create a callback class with type infered from the arguments.

Parameters:
objOptional pointer to object to bind to function
methodMember function to attach
Returns:
Callback with infered type

Definition at line 5186 of file Callback.h.

Callback<R(A0, A1, A2)> mbed::callback ( volatile T *  obj,
R(T::*)(A0, A1, A2) volatile  func 
)

Create a callback class with type infered from the arguments.

Parameters:
objOptional pointer to object to bind to function
methodMember function to attach
Returns:
Callback with infered type

Definition at line 5175 of file Callback.h.

Callback<R()> mbed::callback ( R(*)(const volatile void *)  func,
const volatile void *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 4411 of file Callback.h.

Callback<R()> mbed::callback ( R(*)(T *)  func,
T *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 4422 of file Callback.h.

Callback<R(A0, A1, A2)> mbed::callback ( const Callback< R(A0, A1, A2)> &  func )

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
Returns:
Callback with infered type

Definition at line 5142 of file Callback.h.

Callback ( R(*)(void *, A0, A1, A2)  func,
void *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 2250 of file Callback.h.

Callback<R()> mbed::callback ( R(*)(const T *)  func,
const T *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 4433 of file Callback.h.

Callback<R()> mbed::callback ( R(*)(volatile T *)  func,
volatile T *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 4444 of file Callback.h.

Callback<R(A0, A1, A2, A3, A4)> mbed::callback ( R(*)(volatile T *, A0, A1, A2, A3, A4)  func,
volatile T *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 5809 of file Callback.h.

Callback ( R(*)(T *)  func,
T *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 162 of file Callback.h.

Callback ( R(*)(const void *, A0, A1, A2)  func,
const void *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 2258 of file Callback.h.

Callback<R()> mbed::callback ( R(*)(const volatile T *)  func,
const volatile T *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 4455 of file Callback.h.

Callback ( R(*)(volatile void *, A0, A1, A2)  func,
volatile void *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 2266 of file Callback.h.

Callback<R(A0)> mbed::callback ( R(*)(A0)  func = 0 )

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
Returns:
Callback with infered type

Definition at line 4586 of file Callback.h.

Callback<R(A0, A1)> mbed::callback ( R(*)(const T *, A0, A1)  func,
const T *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 4979 of file Callback.h.

Callback<R(A0)> mbed::callback ( const Callback< R(A0)> &  func )

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
Returns:
Callback with infered type

Definition at line 4596 of file Callback.h.

Callback ( T *  obj,
R(T::*)()  method 
) [inherited]

Create a Callback with a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 94 of file Callback.h.

Callback ( R(*)(const volatile void *, A0, A1, A2)  func,
const volatile void *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 2274 of file Callback.h.

Callback<R(A0, A1)> mbed::callback ( R(*)(const void *, A0, A1)  func,
const void *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 4935 of file Callback.h.

Callback<R(A0)> mbed::callback ( T *  obj,
R(T::*)(A0)  func 
)

Create a callback class with type infered from the arguments.

Parameters:
objOptional pointer to object to bind to function
methodMember function to attach
Returns:
Callback with infered type

Definition at line 4607 of file Callback.h.

Callback<R(A0, A1)> mbed::callback ( const volatile T *  obj,
R(T::*)(A0, A1) const volatile  func 
)

Create a callback class with type infered from the arguments.

Parameters:
objOptional pointer to object to bind to function
methodMember function to attach
Returns:
Callback with infered type

Definition at line 4913 of file Callback.h.

Callback<R(A0)> mbed::callback ( const T *  obj,
R(T::*)(A0) const   func 
)

Create a callback class with type infered from the arguments.

Parameters:
objOptional pointer to object to bind to function
methodMember function to attach
Returns:
Callback with infered type

Definition at line 4618 of file Callback.h.

Callback<R(A0, A1)> mbed::callback ( const T *  obj,
R(T::*)(A0, A1) const   func 
)

Create a callback class with type infered from the arguments.

Parameters:
objOptional pointer to object to bind to function
methodMember function to attach
Returns:
Callback with infered type

Definition at line 4891 of file Callback.h.

Callback ( R(*)(T *, A0, A1, A2)  func,
T *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 2283 of file Callback.h.

Callback<R(A0)> mbed::callback ( volatile T *  obj,
R(T::*)(A0) volatile  func 
)

Create a callback class with type infered from the arguments.

Parameters:
objOptional pointer to object to bind to function
methodMember function to attach
Returns:
Callback with infered type

Definition at line 4629 of file Callback.h.

Callback<R(A0)> mbed::callback ( const volatile T *  obj,
R(T::*)(A0) const volatile  func 
)

Create a callback class with type infered from the arguments.

Parameters:
objOptional pointer to object to bind to function
methodMember function to attach
Returns:
Callback with infered type

Definition at line 4640 of file Callback.h.

Callback<R(A0)> mbed::callback ( R(*)(const volatile T *, A0)  func,
const volatile T *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 4728 of file Callback.h.

Callback<R(A0)> mbed::callback ( R(*)(volatile T *, A0)  func,
volatile T *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 4717 of file Callback.h.

Callback<R(A0)> mbed::callback ( R(*)(const T *, A0)  func,
const T *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 4706 of file Callback.h.

Callback ( R(*)(const T *, A0, A1, A2)  func,
const T *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 2292 of file Callback.h.

Callback<R(A0)> mbed::callback ( R(*)(void *, A0)  func,
void *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 4651 of file Callback.h.

Callback<R(A0)> mbed::callback ( R(*)(const void *, A0)  func,
const void *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 4662 of file Callback.h.

Callback ( R(*)(volatile T *, A0, A1, A2)  func,
volatile T *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 2301 of file Callback.h.

Callback<R(A0)> mbed::callback ( R(*)(volatile void *, A0)  func,
volatile void *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 4673 of file Callback.h.

Callback<R(A0)> mbed::callback ( R(*)(const volatile void *, A0)  func,
const volatile void *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 4684 of file Callback.h.

Callback ( R(*)(const volatile T *, A0, A1, A2)  func,
const volatile T *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 2310 of file Callback.h.

Callback<R(A0)> mbed::callback ( R(*)(T *, A0)  func,
T *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 4695 of file Callback.h.

Callback ( f ) [inherited]

Create a Callback with a function object.

Parameters:
funcFunction object to attach
Note:
The function object is limited to a single word of storage

Definition at line 2319 of file Callback.h.

Callback ( f ) [inherited]

Create a Callback with a function object.

Parameters:
funcFunction object to attach
Note:
The function object is limited to a single word of storage

Definition at line 1612 of file Callback.h.

Callback<R(A0, A1)> mbed::callback ( R(*)(A0, A1)  func = 0 )

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
Returns:
Callback with infered type

Definition at line 4859 of file Callback.h.

Callback<R(A0, A1)> mbed::callback ( const Callback< R(A0, A1)> &  func )

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
Returns:
Callback with infered type

Definition at line 4869 of file Callback.h.

Callback<R(A0, A1)> mbed::callback ( T *  obj,
R(T::*)(A0, A1)  func 
)

Create a callback class with type infered from the arguments.

Parameters:
objOptional pointer to object to bind to function
methodMember function to attach
Returns:
Callback with infered type

Definition at line 4880 of file Callback.h.

Callback ( const volatile T *  obj,
R(T::*)() const volatile  method 
) [inherited]

Create a Callback with a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 121 of file Callback.h.

Callback<R(A0, A1)> mbed::callback ( volatile T *  obj,
R(T::*)(A0, A1) volatile  func 
)

Create a callback class with type infered from the arguments.

Parameters:
objOptional pointer to object to bind to function
methodMember function to attach
Returns:
Callback with infered type

Definition at line 4902 of file Callback.h.

Callback<R(A0, A1)> mbed::callback ( R(*)(void *, A0, A1)  func,
void *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 4924 of file Callback.h.

Callback<R(A0, A1)> mbed::callback ( R(*)(volatile void *, A0, A1)  func,
volatile void *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 4946 of file Callback.h.

Callback<R(A0, A1)> mbed::callback ( R(*)(const volatile void *, A0, A1)  func,
const volatile void *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 4957 of file Callback.h.

Callback<R(A0, A1)> mbed::callback ( R(*)(T *, A0, A1)  func,
T *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 4968 of file Callback.h.

Callback<R(A0, A1)> mbed::callback ( R(*)(volatile T *, A0, A1)  func,
volatile T *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 4990 of file Callback.h.

Callback<R(A0, A1)> mbed::callback ( R(*)(const volatile T *, A0, A1)  func,
const volatile T *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 5001 of file Callback.h.

Callback<R(A0, A1, A2, A3, A4)> mbed::callback ( R(*)(const volatile T *, A0, A1, A2, A3, A4)  func,
const volatile T *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 5820 of file Callback.h.

Callback ( R(*)(const volatile T *, A0, A1)  func,
const volatile T *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 1603 of file Callback.h.

Callback<R(A0, A1, A2)> mbed::callback ( R(*)(A0, A1, A2)  func = 0 )

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
Returns:
Callback with infered type

Definition at line 5132 of file Callback.h.

Callback<R(A0, A1, A2)> mbed::callback ( T *  obj,
R(T::*)(A0, A1, A2)  func 
)

Create a callback class with type infered from the arguments.

Parameters:
objOptional pointer to object to bind to function
methodMember function to attach
Returns:
Callback with infered type

Definition at line 5153 of file Callback.h.

Callback<R(A0, A1, A2)> mbed::callback ( const T *  obj,
R(T::*)(A0, A1, A2) const   func 
)

Create a callback class with type infered from the arguments.

Parameters:
objOptional pointer to object to bind to function
methodMember function to attach
Returns:
Callback with infered type

Definition at line 5164 of file Callback.h.

Callback ( R(*)(const T *)  func,
const T *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 171 of file Callback.h.

Callback<R(A0, A1, A2)> mbed::callback ( R(*)(void *, A0, A1, A2)  func,
void *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 5197 of file Callback.h.

Callback<R(A0, A1, A2)> mbed::callback ( R(*)(const void *, A0, A1, A2)  func,
const void *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 5208 of file Callback.h.

Callback<R(A0, A1, A2)> mbed::callback ( R(*)(volatile void *, A0, A1, A2)  func,
volatile void *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 5219 of file Callback.h.

Callback ( const Callback< R()> &  func ) [inherited]

Attach a Callback.

Parameters:
funcThe Callback to attach

Definition at line 82 of file Callback.h.

Callback<R(A0, A1, A2)> mbed::callback ( R(*)(T *, A0, A1, A2)  func,
T *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 5241 of file Callback.h.

Callback<R(A0, A1, A2)> mbed::callback ( R(*)(const T *, A0, A1, A2)  func,
const T *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 5252 of file Callback.h.

Callback<R(A0, A1, A2)> mbed::callback ( R(*)(volatile T *, A0, A1, A2)  func,
volatile T *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 5263 of file Callback.h.

Callback<R(A0, A1, A2, A3)> mbed::callback ( R(*)(A0, A1, A2, A3)  func = 0 )

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
Returns:
Callback with infered type

Definition at line 5405 of file Callback.h.

Callback<R(A0, A1, A2, A3)> mbed::callback ( const Callback< R(A0, A1, A2, A3)> &  func )

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
Returns:
Callback with infered type

Definition at line 5415 of file Callback.h.

Callback<R(A0, A1, A2, A3)> mbed::callback ( T *  obj,
R(T::*)(A0, A1, A2, A3)  func 
)

Create a callback class with type infered from the arguments.

Parameters:
objOptional pointer to object to bind to function
methodMember function to attach
Returns:
Callback with infered type

Definition at line 5426 of file Callback.h.

Callback ( const T *  obj,
R(T::*)() const   method 
) [inherited]

Create a Callback with a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 103 of file Callback.h.

Callback ( R(*)(volatile T *)  func,
volatile T *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 180 of file Callback.h.

Callback<R(A0, A1, A2, A3)> mbed::callback ( volatile T *  obj,
R(T::*)(A0, A1, A2, A3) volatile  func 
)

Create a callback class with type infered from the arguments.

Parameters:
objOptional pointer to object to bind to function
methodMember function to attach
Returns:
Callback with infered type

Definition at line 5448 of file Callback.h.

Callback<R(A0, A1, A2, A3)> mbed::callback ( const volatile T *  obj,
R(T::*)(A0, A1, A2, A3) const volatile  func 
)

Create a callback class with type infered from the arguments.

Parameters:
objOptional pointer to object to bind to function
methodMember function to attach
Returns:
Callback with infered type

Definition at line 5459 of file Callback.h.

Callback<R(A0, A1, A2, A3)> mbed::callback ( R(*)(void *, A0, A1, A2, A3)  func,
void *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 5470 of file Callback.h.

Callback<R(A0, A1, A2, A3)> mbed::callback ( R(*)(const void *, A0, A1, A2, A3)  func,
const void *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 5481 of file Callback.h.

Callback<R(A0, A1, A2, A3)> mbed::callback ( R(*)(volatile void *, A0, A1, A2, A3)  func,
volatile void *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 5492 of file Callback.h.

Callback<R(A0, A1, A2, A3)> mbed::callback ( R(*)(const volatile void *, A0, A1, A2, A3)  func,
const volatile void *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 5503 of file Callback.h.

Callback<R(A0, A1, A2, A3)> mbed::callback ( R(*)(T *, A0, A1, A2, A3)  func,
T *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 5514 of file Callback.h.

Callback<R(A0, A1, A2, A3)> mbed::callback ( R(*)(volatile T *, A0, A1, A2, A3)  func,
volatile T *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 5536 of file Callback.h.

Callback<R(A0, A1, A2, A3)> mbed::callback ( R(*)(const volatile T *, A0, A1, A2, A3)  func,
const volatile T *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 5547 of file Callback.h.

Callback ( R(*)(void *)  func,
void *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 129 of file Callback.h.

Callback<R(A0, A1, A2, A3, A4)> mbed::callback ( R(*)(A0, A1, A2, A3, A4)  func = 0 )

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
Returns:
Callback with infered type

Definition at line 5678 of file Callback.h.

Callback<R(A0, A1, A2, A3, A4)> mbed::callback ( T *  obj,
R(T::*)(A0, A1, A2, A3, A4)  func 
)

Create a callback class with type infered from the arguments.

Parameters:
objOptional pointer to object to bind to function
methodMember function to attach
Returns:
Callback with infered type

Definition at line 5699 of file Callback.h.

Callback<R(A0, A1, A2, A3, A4)> mbed::callback ( const T *  obj,
R(T::*)(A0, A1, A2, A3, A4) const   func 
)

Create a callback class with type infered from the arguments.

Parameters:
objOptional pointer to object to bind to function
methodMember function to attach
Returns:
Callback with infered type

Definition at line 5710 of file Callback.h.

Callback<R(A0, A1, A2, A3, A4)> mbed::callback ( volatile T *  obj,
R(T::*)(A0, A1, A2, A3, A4) volatile  func 
)

Create a callback class with type infered from the arguments.

Parameters:
objOptional pointer to object to bind to function
methodMember function to attach
Returns:
Callback with infered type

Definition at line 5721 of file Callback.h.

Callback ( const Callback< R(A0, A1)> &  func ) [inherited]

Attach a Callback.

Parameters:
funcThe Callback to attach

Definition at line 1496 of file Callback.h.

Callback ( const Callback< R(A0, A1, A2, A3)> &  func ) [inherited]

Attach a Callback.

Parameters:
funcThe Callback to attach

Definition at line 2910 of file Callback.h.

Callback<R(A0, A1, A2, A3, A4)> mbed::callback ( R(*)(void *, A0, A1, A2, A3, A4)  func,
void *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 5743 of file Callback.h.

Callback<R(A0, A1, A2, A3, A4)> mbed::callback ( R(*)(volatile void *, A0, A1, A2, A3, A4)  func,
volatile void *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 5765 of file Callback.h.

Callback ( T *  obj,
R(T::*)(A0, A1, A2, A3)  method 
) [inherited]

Create a Callback with a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 2922 of file Callback.h.

Callback<R(A0, A1, A2, A3, A4)> mbed::callback ( R(*)(T *, A0, A1, A2, A3, A4)  func,
T *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 5787 of file Callback.h.

Callback ( const T *  obj,
R(T::*)(A0, A1, A2, A3) const   method 
) [inherited]

Create a Callback with a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 2931 of file Callback.h.

Callback ( const Callback< R(A0)> &  func ) [inherited]

Attach a Callback.

Parameters:
funcThe Callback to attach

Definition at line 789 of file Callback.h.

Callback ( T *  obj,
R(T::*)(A0, A1)  method 
) [inherited]

Create a Callback with a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 1508 of file Callback.h.

Callback ( volatile T *  obj,
R(T::*)(A0, A1, A2, A3) volatile  method 
) [inherited]

Create a Callback with a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 2940 of file Callback.h.

Callback ( const volatile T *  obj,
R(T::*)(A0, A1, A2, A3) const volatile  method 
) [inherited]

Create a Callback with a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 2949 of file Callback.h.

Callback ( const T *  obj,
R(T::*)(A0, A1) const   method 
) [inherited]

Create a Callback with a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 1517 of file Callback.h.

Callback ( R(*)(void *, A0, A1, A2, A3)  func,
void *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 2957 of file Callback.h.

Callback ( R(*)(const void *, A0, A1, A2, A3)  func,
const void *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 2965 of file Callback.h.

Callback ( R(*)(const volatile T *)  func,
const volatile T *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 189 of file Callback.h.

Callback ( volatile T *  obj,
R(T::*)(A0, A1) volatile  method 
) [inherited]

Create a Callback with a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 1526 of file Callback.h.

Callback ( R(*)(volatile void *, A0, A1, A2, A3)  func,
volatile void *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 2973 of file Callback.h.

Callback ( T *  obj,
R(T::*)(A0)  method 
) [inherited]

Create a Callback with a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 801 of file Callback.h.

Callback ( const volatile T *  obj,
R(T::*)(A0, A1) const volatile  method 
) [inherited]

Create a Callback with a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 1535 of file Callback.h.

Callback ( R(*)(T *, A0, A1, A2, A3)  func,
T *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 2990 of file Callback.h.

Callback ( R(*)(const T *, A0, A1, A2, A3)  func,
const T *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 2999 of file Callback.h.

Callback ( const T *  obj,
R(T::*)(A0) const   method 
) [inherited]

Create a Callback with a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 810 of file Callback.h.

Callback ( R(*)(volatile T *, A0, A1, A2, A3)  func,
volatile T *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 3008 of file Callback.h.

Callback ( R(*)(void *, A0, A1)  func,
void *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 1543 of file Callback.h.

Callback ( R(*)(const volatile T *, A0, A1, A2, A3)  func,
const volatile T *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 3017 of file Callback.h.

Callback ( R(*)(const void *, A0, A1)  func,
const void *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 1551 of file Callback.h.

Callback ( f ) [inherited]

Create a Callback with a function object.

Parameters:
funcFunction object to attach
Note:
The function object is limited to a single word of storage

Definition at line 3026 of file Callback.h.

Callback ( volatile T *  obj,
R(T::*)(A0) volatile  method 
) [inherited]

Create a Callback with a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 819 of file Callback.h.

Callback ( R(*)(volatile void *, A0, A1)  func,
volatile void *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 1559 of file Callback.h.

Callback ( R(*)(const volatile void *, A0, A1)  func,
const volatile void *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 1567 of file Callback.h.

Callback<R(A0, A1, A2, A3, A4)> mbed::callback ( R(*)(const void *, A0, A1, A2, A3, A4)  func,
const void *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 5754 of file Callback.h.

Callback<R(A0, A1, A2, A3, A4)> mbed::callback ( R(*)(const volatile void *, A0, A1, A2, A3, A4)  func,
const volatile void *  arg 
)

Create a callback class with type infered from the arguments.

Parameters:
funcStatic function to attach
argPointer argument to function
Returns:
Callback with infered type

Definition at line 5776 of file Callback.h.

Callback ( f ) [inherited]

Create a Callback with a function object.

Parameters:
funcFunction object to attach
Note:
The function object is limited to a single word of storage

Definition at line 198 of file Callback.h.

Callback ( R(*)(T *, A0, A1)  func,
T *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 1576 of file Callback.h.

Callback ( const volatile T *  obj,
R(T::*)(A0) const volatile  method 
) [inherited]

Create a Callback with a member function.

Parameters:
objPointer to object to invoke member function on
methodMember function to attach

Definition at line 828 of file Callback.h.

Callback ( R(*)(const T *, A0, A1)  func,
const T *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 1585 of file Callback.h.

Callback ( R(*)(volatile T *, A0, A1)  func,
volatile T *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 1594 of file Callback.h.

Callback ( R(*)(void *, A0)  func,
void *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 836 of file Callback.h.

Callback ( R(*)(const void *)  func,
const void *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 137 of file Callback.h.

Callback ( R(*)(const void *, A0)  func,
const void *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 844 of file Callback.h.

Callback ( R(*)(volatile void *, A0)  func,
volatile void *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 852 of file Callback.h.

Callback ( R(*)(const volatile void *, A0, A1, A2, A3)  func,
const volatile void *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 2981 of file Callback.h.

Callback ( R(*)(T *, A0)  func,
T *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 869 of file Callback.h.

Callback ( R(*)(const volatile void *, A0)  func,
const volatile void *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 860 of file Callback.h.

Callback ( R(*)(const T *, A0)  func,
const T *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 878 of file Callback.h.

Callback ( R(*)(volatile T *, A0)  func,
volatile T *  arg 
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
funcStatic function to attach
argPointer argument to function

Definition at line 887 of file Callback.h.

void clear ( void   ) [inherited]

Clear the call chain (remove all functions in the chain).

Definition at line 86 of file CallChain.cpp.

bool core_util_are_interrupts_enabled ( void   )

Determine the current interrupts enabled state.

This function can be called to determine whether or not interrupts are currently enabled.

Note:
NOTE: This function works for both cortex-A and cortex-M, although the underlyng implementation differs.
Returns:
true if interrupts are enabled, false otherwise

Definition at line 29 of file mbed_critical.c.

bool core_util_atomic_cas_ptr ( void **  ptr,
void **  expectedCurrentValue,
void *  desiredValue 
)

Atomic compare and set.

It compares the contents of a memory location to a given value and, only if they are the same, modifies the contents of that memory location to a given new value. This is done as a single atomic operation. The atomicity guarantees that the new value is calculated based on up-to-date information; if the value had been updated by another thread in the meantime, the write would fail due to a mismatched expectedCurrentValue.

Refer to https://en.wikipedia.org/wiki/Compare-and-set [which may redirect you to the article on compare-and swap].

Parameters:
ptrThe target memory location.
[in,out]expectedCurrentValueA pointer to some location holding the expected current value of the data being set atomically. The computed 'desiredValue' should be a function of this current value. : This is an in-out parameter. In the failure case of atomic_cas (where the destination isn't set), the pointee of expectedCurrentValue is updated with the current value.
[in]desiredValueThe new value computed based on '*expectedCurrentValue'.
Returns:
true if the memory location was atomically updated with the desired value (after verifying that it contained the expectedCurrentValue), false otherwise. In the failure case, exepctedCurrentValue is updated with the new value of the target memory location.

pseudocode: function cas(p : pointer to int, old : pointer to int, new : int) returns bool { if *p != *old { *old = *p return false } *p = new return true }

: In the failure case (where the destination isn't set), the value pointed to by expectedCurrentValue is still updated with the current value. This property helps writing concise code for the following incr:

function incr(p : pointer to int, a : int) returns int { done = false value = *p // This fetch operation need not be atomic. while not done { done = atomic_cas(p, &value, value + a) // *value gets updated automatically until success } return value + a }

Definition at line 306 of file mbed_critical.c.

bool core_util_atomic_cas_u16 ( uint16_t *  ptr,
uint16_t *  expectedCurrentValue,
uint16_t  desiredValue 
)

Atomic compare and set.

It compares the contents of a memory location to a given value and, only if they are the same, modifies the contents of that memory location to a given new value. This is done as a single atomic operation. The atomicity guarantees that the new value is calculated based on up-to-date information; if the value had been updated by another thread in the meantime, the write would fail due to a mismatched expectedCurrentValue.

Refer to https://en.wikipedia.org/wiki/Compare-and-set [which may redirect you to the article on compare-and swap].

Parameters:
ptrThe target memory location.
[in,out]expectedCurrentValueA pointer to some location holding the expected current value of the data being set atomically. The computed 'desiredValue' should be a function of this current value. : This is an in-out parameter. In the failure case of atomic_cas (where the destination isn't set), the pointee of expectedCurrentValue is updated with the current value.
[in]desiredValueThe new value computed based on '*expectedCurrentValue'.
Returns:
true if the memory location was atomically updated with the desired value (after verifying that it contained the expectedCurrentValue), false otherwise. In the failure case, exepctedCurrentValue is updated with the new value of the target memory location.

pseudocode: function cas(p : pointer to int, old : pointer to int, new : int) returns bool { if *p != *old { *old = *p return false } *p = new return true }

: In the failure case (where the destination isn't set), the value pointed to by expectedCurrentValue is still updated with the current value. This property helps writing concise code for the following incr:

function incr(p : pointer to int, a : int) returns int { done = false value = *p // This fetch operation need not be atomic. while not done { done = atomic_cas(p, &value, value + a) // *value gets updated automatically until success } return value + a }

Definition at line 206 of file mbed_critical.c.

bool core_util_atomic_cas_u32 ( uint32_t *  ptr,
uint32_t *  expectedCurrentValue,
uint32_t  desiredValue 
)

Atomic compare and set.

It compares the contents of a memory location to a given value and, only if they are the same, modifies the contents of that memory location to a given new value. This is done as a single atomic operation. The atomicity guarantees that the new value is calculated based on up-to-date information; if the value had been updated by another thread in the meantime, the write would fail due to a mismatched expectedCurrentValue.

Refer to https://en.wikipedia.org/wiki/Compare-and-set [which may redirect you to the article on compare-and swap].

Parameters:
ptrThe target memory location.
[in,out]expectedCurrentValueA pointer to some location holding the expected current value of the data being set atomically. The computed 'desiredValue' should be a function of this current value. : This is an in-out parameter. In the failure case of atomic_cas (where the destination isn't set), the pointee of expectedCurrentValue is updated with the current value.
[in]desiredValueThe new value computed based on '*expectedCurrentValue'.
Returns:
true if the memory location was atomically updated with the desired value (after verifying that it contained the expectedCurrentValue), false otherwise. In the failure case, exepctedCurrentValue is updated with the new value of the target memory location.

pseudocode: function cas(p : pointer to int, old : pointer to int, new : int) returns bool { if *p != *old { *old = *p return false } *p = new return true }

: In the failure case (where the destination isn't set), the value pointed to by expectedCurrentValue is still updated with the current value. This property helps writing concise code for the following incr:

function incr(p : pointer to int, a : int) returns int { done = false value = *p // This fetch operation need not be atomic. while not done { done = atomic_cas(p, &value, value + a) // *value gets updated automatically until success } return value + a }

Definition at line 224 of file mbed_critical.c.

bool core_util_atomic_cas_u8 ( uint8_t *  ptr,
uint8_t *  expectedCurrentValue,
uint8_t  desiredValue 
)

Atomic compare and set.

It compares the contents of a memory location to a given value and, only if they are the same, modifies the contents of that memory location to a given new value. This is done as a single atomic operation. The atomicity guarantees that the new value is calculated based on up-to-date information; if the value had been updated by another thread in the meantime, the write would fail due to a mismatched expectedCurrentValue.

Refer to https://en.wikipedia.org/wiki/Compare-and-set [which may redirect you to the article on compare-and swap].

Parameters:
ptrThe target memory location.
[in,out]expectedCurrentValueA pointer to some location holding the expected current value of the data being set atomically. The computed 'desiredValue' should be a function of this current value. : This is an in-out parameter. In the failure case of atomic_cas (where the destination isn't set), the pointee of expectedCurrentValue is updated with the current value.
[in]desiredValueThe new value computed based on '*expectedCurrentValue'.
Returns:
true if the memory location was atomically updated with the desired value (after verifying that it contained the expectedCurrentValue), false otherwise. In the failure case, exepctedCurrentValue is updated with the new value of the target memory location.

pseudocode: function cas(p : pointer to int, old : pointer to int, new : int) returns bool { if *p != *old { *old = *p return false } *p = new return true }

: In the failure case (where the destination isn't set), the value pointed to by expectedCurrentValue is still updated with the current value. This property helps writing concise code for the following incr:

function incr(p : pointer to int, a : int) returns int { done = false value = *p // This fetch operation need not be atomic. while not done { done = atomic_cas(p, &value, value + a) // *value gets updated automatically until success } return value + a }

Definition at line 189 of file mbed_critical.c.

void* core_util_atomic_decr_ptr ( void **  valuePtr,
ptrdiff_t  delta 
)

Atomic decrement.

Parameters:
valuePtrTarget memory location being decremented.
deltaThe amount being decremented in bytes.
Returns:
The new decremented value.
Note:
The type of the pointer argument is not taken into account and the pointer is decremented by bytes

Definition at line 317 of file mbed_critical.c.

uint16_t core_util_atomic_decr_u16 ( uint16_t *  valuePtr,
uint16_t  delta 
)

Atomic decrement.

Parameters:
valuePtrTarget memory location being decremented.
deltaThe amount being decremented.
Returns:
The new decremented value.

Definition at line 283 of file mbed_critical.c.

uint32_t core_util_atomic_decr_u32 ( uint32_t *  valuePtr,
uint32_t  delta 
)

Atomic decrement.

Parameters:
valuePtrTarget memory location being decremented.
deltaThe amount being decremented.
Returns:
The new decremented value.

Definition at line 293 of file mbed_critical.c.

uint8_t core_util_atomic_decr_u8 ( uint8_t *  valuePtr,
uint8_t  delta 
)

Atomic decrement.

Parameters:
valuePtrTarget memory location being decremented.
deltaThe amount being decremented.
Returns:
The new decremented value.

Definition at line 273 of file mbed_critical.c.

void* core_util_atomic_incr_ptr ( void **  valuePtr,
ptrdiff_t  delta 
)

Atomic increment.

Parameters:
valuePtrTarget memory location being incremented.
deltaThe amount being incremented in bytes.
Returns:
The new incremented value.
Note:
The type of the pointer argument is not taken into account and the pointer is incremented by bytes.

Definition at line 313 of file mbed_critical.c.

uint16_t core_util_atomic_incr_u16 ( uint16_t *  valuePtr,
uint16_t  delta 
)

Atomic increment.

Parameters:
valuePtrTarget memory location being incremented.
deltaThe amount being incremented.
Returns:
The new incremented value.

Definition at line 252 of file mbed_critical.c.

uint32_t core_util_atomic_incr_u32 ( uint32_t *  valuePtr,
uint32_t  delta 
)

Atomic increment.

Parameters:
valuePtrTarget memory location being incremented.
deltaThe amount being incremented.
Returns:
The new incremented value.

Definition at line 262 of file mbed_critical.c.

uint8_t core_util_atomic_incr_u8 ( uint8_t *  valuePtr,
uint8_t  delta 
)

Atomic increment.

Parameters:
valuePtrTarget memory location being incremented.
deltaThe amount being incremented.
Returns:
The new incremented value.

Definition at line 242 of file mbed_critical.c.

void core_util_critical_section_enter ( void   )

Mark the start of a critical section.

This function should be called to mark the start of a critical section of code.

Note:
NOTES: 1) The use of this style of critical section is targetted at C based implementations. 2) These critical sections can be nested. 3) The interrupt enable state on entry to the first critical section (of a nested set, or single section) will be preserved on exit from the section. 4) This implementation will currently only work on code running in privileged mode.

Definition at line 38 of file mbed_critical.c.

void core_util_critical_section_exit ( void   )

Mark the end of a critical section.

This function should be called to mark the end of a critical section of code.

Note:
NOTES: 1) The use of this style of critical section is targetted at C based implementations. 2) These critical sections can be nested. 3) The interrupt enable state on entry to the first critical section (of a nested set, or single section) will be preserved on exit from the section. 4) This implementation will currently only work on code running in privileged mode.

Definition at line 63 of file mbed_critical.c.

static void debug ( const char *  format,
  ... 
) [static]

Output a debug message.

Parameters:
formatprintf-style format string, followed by variables

Definition at line 35 of file mbed_debug.h.

static void debug_if ( int  condition,
const char *  format,
  ... 
) [static]

Conditionally output a debug message.

NOTE: If the condition is constant false (!= 1) and the compiler optimization level is greater than 0, then the whole function will be compiled away.

Parameters:
conditionoutput only if condition is true (== 1)
formatprintf-style format string, followed by variables

Definition at line 50 of file mbed_debug.h.

bool empty (  ) [inherited]

Check if the buffer is empty.

Returns:
True if the buffer is empty, false if not

Definition at line 79 of file CircularBuffer.h.

int find ( pFunctionPointer_t  f ) const [inherited]

Look for a function object in the call chain.

Parameters:
fthe function object to search
Returns:
The index of the function object if found, -1 otherwise.

Definition at line 73 of file CallChain.cpp.

bool full (  ) [inherited]

Check if the buffer is full.

Returns:
True if the buffer is full, false if not

Definition at line 90 of file CircularBuffer.h.

pFunctionPointer_t get ( int  i ) const [inherited]

Get a function object from the chain.

Parameters:
ifunction object index
Returns:
The function object at position 'i' in the chain

Definition at line 62 of file CallChain.cpp.

Class* get_object (  ) [inherited]

Get object's instance for the transaction.

Returns:
The object which was stored

Definition at line 58 of file Transaction.h.

transaction_t* get_transaction (  ) [inherited]

Get the transaction.

Returns:
The transaction which was stored

Definition at line 66 of file Transaction.h.

void mbed_assert_internal ( const char *  expr,
const char *  file,
int  line 
)

Internal mbed assert function which is invoked when MBED_ASSERT macro failes.

This function is active only if NDEBUG is not defined prior to including this assert header file. In case of MBED_ASSERT failing condition, error() is called with the assertation message.

Parameters:
exprExpresion to be checked.
fileFile where assertation failed.
lineFailing assertation line number.

Definition at line 22 of file mbed_assert.c.

MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to Callback< R()>(func, arg)"   
) const [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to Callback< R(A0)>(func, arg)"   
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to Callback< R(A0)>(func, arg)"   
) const [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to Callback< R(A0, A1, A2, A3, A4)>(func, arg)"   
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to Callback< R(A0)>(func, arg)"   
) volatile [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to Callback< R(A0, A1, A2, A3, A4)>(func, arg)"   
) volatile [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to Callback< R(A0, A1, A2, A3, A4)>(func, arg)"   
) const volatile [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to Callback< R()>(func, arg)"   
) volatile [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to attach(func, arg)"   
) const [inherited]

Attach a static function with a bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to Callback< R(A0)>(func, arg)"   
) const volatile [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to attach(func, arg)"   
) volatile [inherited]

Attach a static function with a bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to attach(func, arg)"   
) const volatile [inherited]

Attach a static function with a bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to attach(func, arg)"   
) [inherited]

Attach a static function with a bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to attach(func, arg)"   
) const volatile [inherited]

Attach a static function with a bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to attach(func, arg)"   
) const [inherited]

Attach a static function with a bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to attach(func, arg)"   
) [inherited]

Attach a static function with a bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to Callback< R()>(func, arg)"   
) const volatile [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to attach(func, arg)"   
) volatile [inherited]

Attach a static function with a bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to attach(func, arg)"   
) volatile [inherited]

Attach a static function with a bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to attach(func, arg)"   
) const [inherited]

Attach a static function with a bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to attach(func, arg)"   
) const volatile [inherited]

Attach a static function with a bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to attach(func, arg)"   
) volatile [inherited]

Attach a static function with a bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to attach(func, arg)"   
) [inherited]

Attach a static function with a bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to Callback< R(A0, A1, A2)>(func, arg)"   
) const volatile [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to attach(func, arg)"   
) const [inherited]

Attach a static function with a bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to Callback< R(A0, A1, A2)>(func, arg)"   
) volatile [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to Callback< R(A0, A1, A2)>(func, arg)"   
) const [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to Callback< R(A0, A1, A2)>(func, arg)"   
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to Callback< R(A0, A1, A2, A3)>(func, arg)"   
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to callback(func, arg)"   
)

Create a callback class with type infered from the arguments.

Parameters:
objOptional pointer to object to bind to function
funcStatic function to attach
Returns:
Callback with infered type
Parameters:
objOptional pointer to object to bind to function
funcStatic function to attach
Returns:
Callback with infered type
Parameters:
objOptional pointer to object to bind to function
funcStatic function to attach
Returns:
Callback with infered type
Parameters:
objOptional pointer to object to bind to function
funcStatic function to attach
Returns:
Callback with infered type
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to Callback< R(A0, A1)>(func, arg)"   
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to attach(func, arg)"   
) [inherited]

Attach a static function with a bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to attach(func, arg)"   
) const volatile [inherited]

Attach a static function with a bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to attach(func, arg)"   
) const volatile [inherited]

Attach a static function with a bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to attach(func, arg)"   
) volatile [inherited]

Attach a static function with a bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to attach(func, arg)"   
) const volatile [inherited]

Attach a static function with a bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to attach(func, arg)"   
) const [inherited]

Attach a static function with a bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to attach(func, arg)"   
) [inherited]

Attach a static function with a bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to Callback< R(A0, A1, A2, A3)>(func, arg)"   
) const volatile [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to Callback< R(A0, A1, A2, A3, A4)>(func, arg)"   
) const [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to Callback< R()>(func, arg)"   
) [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to attach(func, arg)"   
) const [inherited]

Attach a static function with a bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to attach(func, arg)"   
) [inherited]

Attach a static function with a bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to Callback< R(A0, A1, A2, A3)>(func, arg)"   
) const [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to Callback< R(A0, A1, A2, A3)>(func, arg)"   
) volatile [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"The add_front function does not support cv-qualifiers. Replaced by ""add_front(callback(obj, method))."   
) [inherited]

Add a function at the beginning of the chain.

Parameters:
tptrpointer to the object to call the member function on
mptrpointer to the member function to be called
Returns:
The function object created for 'tptr' and 'mptr'
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to Callback< R(A0, A1)>(func, arg)"   
) const [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to Callback< R(A0, A1)>(func, arg)"   
) volatile [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to Callback< R(A0, A1)>(func, arg)"   
) const volatile [inherited]

Create a Callback with a static function and bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"The add function does not support cv-qualifiers. Replaced by ""add(callback(obj, method))."   
) [inherited]

Add a function at the end of the chain.

Parameters:
objpointer to the object to call the member function on
methodpointer to the member function to be called
Returns:
The function object created for 'obj' and 'method'
MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to attach(func, arg)"   
) volatile [inherited]

Attach a static function with a bound pointer.

Parameters:
objPointer to object to bind to function
funcStatic function to attach
void mbed_die ( void   )

Cause the mbed to flash the BLOD (Blue LEDs Of Death) sequence.

Definition at line 29 of file mbed_board.c.

void mbed_error_printf ( const char *  format,
  ... 
)

Print out an error message.

This is typically called when hanlding a crash.

Synchronization level: Interrupt safe

Definition at line 69 of file mbed_board.c.

void mbed_error_vfprintf ( const char *  format,
va_list  arg 
)

Print out an error message.

Similar to mbed_error_printf but uses a va_list.

Synchronization level: Interrupt safe

Definition at line 76 of file mbed_board.c.

int mbed_interface_connected ( void   )

Functions to control the mbed interface.

mbed Microcontrollers have a built-in interface to provide functionality such as drag-n-drop download, reset, serial-over-usb, and access to the mbed local file system. These functions provide means to control the interface suing semihost calls it supports. Determine whether the mbed interface is connected, based on whether debug is enabled

Returns:
1 if interface is connected, 0 otherwise

Definition at line 28 of file mbed_interface.c.

int mbed_interface_disconnect ( void   )

This will disconnect the debug aspect of the interface, so semihosting will be disabled.

The interface will still support the USB serial aspect

Returns:
0 if successful, -1 otherwise (e.g. interface not present)

Definition at line 50 of file mbed_interface.c.

int mbed_interface_powerdown ( void   )

This will disconnect the debug aspect of the interface, and if the USB cable is not connected, also power down the interface.

If the USB cable is connected, the interface will remain powered up and visible to the host

Returns:
0 if successful, -1 otherwise (e.g. interface not present)

Definition at line 62 of file mbed_interface.c.

int mbed_interface_reset ( void   )

Instruct the mbed interface to reset, as if the reset button had been pressed.

Returns:
1 if successful, 0 otherwise (e.g. interface not present)

Definition at line 32 of file mbed_interface.c.

int mbed_interface_uid ( char *  uid )

This returns a string containing the 32-character UID of the mbed interface This is a weak function that can be overwritten if required.

Parameters:
uidA 33-byte array to write the null terminated 32-byte string
Returns:
0 if successful, -1 otherwise (e.g. interface not present)

Definition at line 41 of file mbed_interface.c.

void mbed_mac_address ( char *  mac )

This returns a unique 6-byte MAC address, based on the interface UID If the interface is not present, it returns a default fixed MAC address (00:02:F7:F0:00:00)

This is a weak function that can be overwritten if you want to provide your own mechanism to provide a MAC address.

Parameters:
macA 6-byte array to write the MAC address

Definition at line 84 of file mbed_interface.c.

void* mbed_mem_trace_calloc ( void *  res,
size_t  num,
size_t  size,
void *  caller 
)

Trace a call to 'calloc'.

Parameters:
resthe result of running 'calloc'.
nmembthe 'nmemb' argument given to 'calloc'.
sizethe 'size' argument given to 'calloc'.
callerthe caller of the memory operation. 'res' (the first argument).

Definition at line 62 of file mbed_mem_trace.c.

void mbed_mem_trace_default_callback ( uint8_t  op,
void *  res,
void *  caller,
  ... 
)

Default memory trace callback.

DO NOT CALL DIRECTLY. It is meant to be used as the second argument of 'mbed_mem_trace_setup'.

The default callback outputs trace data using 'printf', in a format that's easily parsable by an external tool. For each memory operation, the callback outputs a line that begins with '#<op>:<0xresult>;<0xcaller>-':

  • 'op' identifies the memory operation ('m' for 'malloc', 'r' for 'realloc', 'c' for 'calloc' and 'f' for 'free').
  • 'result' (base 16) is the result of the memor operation. This is always NULL for 'free', since 'free' doesn't return anything. -'caller' (base 16) is the caller of the memory operation. Note that the value of 'caller' might be unreliable.

The rest of the output depends on the operation being traced:

  • for 'malloc': 'size', where 'size' is the original argument to 'malloc'.
  • for 'realloc': '0xptr;size', where 'ptr' (base 16) and 'size' are the original arguments to 'realloc'.
  • for 'calloc': 'nmemb;size', where 'nmemb' and 'size' are the original arguments to 'calloc'.
  • for 'free': '0xptr', where 'ptr' (base 16) is the original argument to 'free'.

Examples:

  • 'm:0x20003240;0x600d-50' encodes a 'malloc' that returned 0x20003240, was called by the instruction at 0x600D with a the 'size' argument equal to 50.
  • 'f:0x0;0x602f-0x20003240' encodes a 'free' that was called by the instruction at 0x602f with the 'ptr' argument equal to 0x20003240.

Definition at line 81 of file mbed_mem_trace.c.

void mbed_mem_trace_free ( void *  ptr,
void *  caller 
)

Trace a call to 'free'.

Parameters:
ptrthe 'ptr' argument given to 'free'.
callerthe caller of the memory operation.

Definition at line 72 of file mbed_mem_trace.c.

void* mbed_mem_trace_malloc ( void *  res,
size_t  size,
void *  caller 
)

Trace a call to 'malloc'.

Parameters:
resthe result of running 'malloc'.
sizethe 'size' argument given to 'malloc'.
callerthe caller of the memory operation.
Returns:
'res' (the first argument).

Definition at line 42 of file mbed_mem_trace.c.

void* mbed_mem_trace_realloc ( void *  res,
void *  ptr,
size_t  size,
void *  caller 
)

Trace a call to 'realloc'.

Parameters:
resthe result of running 'realloc'.
ptrthe 'ptr' argument given to 'realloc'.
sizethe 'size' argument given to 'realloc'.
Returns:
'res' (the first argument).

Definition at line 52 of file mbed_mem_trace.c.

void mbed_mem_trace_set_callback ( mbed_mem_trace_cb_t  cb )

Set the callback used by the memory tracer (use NULL for disable tracing).

Parameters:
cbthe callback to call on each memory operation.

Definition at line 38 of file mbed_mem_trace.c.

void mbed_stats_heap_get ( mbed_stats_heap_t *  stats )

Fill the passed in structure with heap stats.

Definition at line 57 of file mbed_alloc_wrappers.cpp.

operator bool (  ) const [inherited]

Test if function has been attached.

Definition at line 1374 of file Callback.h.

operator bool (  ) const [inherited]

Test if function has been attached.

Definition at line 667 of file Callback.h.

operator bool (  ) const [inherited]

Test if function has been attached.

Definition at line 2788 of file Callback.h.

operator bool (  ) const [inherited]

Test if function has been attached.

Definition at line 4202 of file Callback.h.

operator bool (  ) const [inherited]

Test if function has been attached.

Definition at line 2081 of file Callback.h.

operator bool (  ) const [inherited]

Test if function has been attached.

Definition at line 3495 of file Callback.h.

R operator() ( void   ) const [inherited]

Call the attached function.

Definition at line 661 of file Callback.h.

R operator() ( A0  a0,
A1  a1,
A2  a2,
A3  a3 
) const [inherited]

Call the attached function.

Definition at line 3489 of file Callback.h.

R operator() ( A0  a0 ) const [inherited]

Call the attached function.

Definition at line 1368 of file Callback.h.

R operator() ( A0  a0,
A1  a1 
) const [inherited]

Call the attached function.

Definition at line 2075 of file Callback.h.

R operator() ( A0  a0,
A1  a1,
A2  a2 
) const [inherited]

Call the attached function.

Definition at line 2782 of file Callback.h.

R operator() ( A0  a0,
A1  a1,
A2  a2,
A3  a3,
A4  a4 
) const [inherited]

Call the attached function.

Definition at line 4196 of file Callback.h.

Callback& operator= ( const Callback< R()> &  that ) [inherited]

Assign a callback.

Definition at line 643 of file Callback.h.

Callback& operator= ( const Callback< R(A0, A1, A2, A3, A4)> &  that ) [inherited]

Assign a callback.

Definition at line 4178 of file Callback.h.

Callback& operator= ( const Callback< R(A0, A1)> &  that ) [inherited]

Assign a callback.

Definition at line 2057 of file Callback.h.

Callback& operator= ( const Callback< R(A0, A1, A2, A3)> &  that ) [inherited]

Assign a callback.

Definition at line 3471 of file Callback.h.

Callback& operator= ( const Callback< R(A0, A1, A2)> &  that ) [inherited]

Assign a callback.

Definition at line 2764 of file Callback.h.

Callback& operator= ( const Callback< R(A0)> &  that ) [inherited]

Assign a callback.

Definition at line 1350 of file Callback.h.

bool pop ( T &  data ) [inherited]

Pop the transaction from the buffer.

Parameters:
dataData to be pushed to the buffer
Returns:
True if the buffer is not empty and data contains a transaction, false otherwise

Definition at line 62 of file CircularBuffer.h.

void push ( const T &  data ) [inherited]

Push the transaction to the buffer.

This overwrites the buffer if it's full

Parameters:
dataData to be pushed to the buffer

Definition at line 43 of file CircularBuffer.h.

bool remove ( pFunctionPointer_t  f ) [inherited]

Remove a function object from the chain.

  • f the function object to remove
Returns:
true if the function object was found and removed, false otherwise.

Definition at line 96 of file CallChain.cpp.

void reset ( void   ) [inherited]

Reset the buffer.

Definition at line 100 of file CircularBuffer.h.

void set_time ( time_t  t )

Implementation of the C time.h functions.

Provides mechanisms to set and read the current time, based on the microcontroller Real-Time Clock (RTC), plus some standard C manipulation and formating functions.

Example:

 #include "mbed.h"

 int main() {
     set_time(1256729737);  // Set RTC time to Wed, 28 Oct 2009 11:35:37

     while(1) {
         time_t seconds = time(NULL);

         printf("Time as seconds since January 1, 1970 = %d\n", seconds);

         printf("Time as a basic string = %s", ctime(&seconds));

         char buffer[32];
         strftime(buffer, 32, "%I:%M %p\n", localtime(&seconds));
         printf("Time as a custom formatted string = %s", buffer);

         wait(1);
     }
 }

Set the current time

Initialises and sets the time of the microcontroller Real-Time Clock (RTC) to the time represented by the number of seconds since January 1, 1970 (the UNIX timestamp).

Parameters:
tNumber of seconds since January 1, 1970 (the UNIX timestamp)

Synchronization level: Thread safe

Example:

 #include "mbed.h"

 int main() {
     set_time(1256729737); // Set time to Wed, 28 Oct 2009 11:35:37
 }

Definition at line 68 of file mbed_rtc_time.cpp.

static void singleton_lock ( void   ) [static]

Lock the singleton mutex.

This function is typically used to provide exclusive access when initializing a global object.

Definition at line 39 of file SingletonPtr.h.

static void singleton_unlock ( void   ) [static]

Unlock the singleton mutex.

This function is typically used to provide exclusive access when initializing a global object.

Definition at line 52 of file SingletonPtr.h.

static R thunk ( void *  func,
A0  a0 
) [static, inherited]

Static thunk for passing as C-style function.

Parameters:
funcCallback to call passed as void pointer

Definition at line 1393 of file Callback.h.

static R thunk ( void *  func,
A0  a0,
A1  a1,
A2  a2 
) [static, inherited]

Static thunk for passing as C-style function.

Parameters:
funcCallback to call passed as void pointer

Definition at line 2807 of file Callback.h.

static R thunk ( void *  func,
A0  a0,
A1  a1 
) [static, inherited]

Static thunk for passing as C-style function.

Parameters:
funcCallback to call passed as void pointer

Definition at line 2100 of file Callback.h.

static R thunk ( void *  func,
A0  a0,
A1  a1,
A2  a2,
A3  a3 
) [static, inherited]

Static thunk for passing as C-style function.

Parameters:
funcCallback to call passed as void pointer

Definition at line 3514 of file Callback.h.

static R thunk ( void *  func,
A0  a0,
A1  a1,
A2  a2,
A3  a3,
A4  a4 
) [static, inherited]

Static thunk for passing as C-style function.

Parameters:
funcCallback to call passed as void pointer

Definition at line 4221 of file Callback.h.

static R thunk ( void *  func ) [static, inherited]

Static thunk for passing as C-style function.

Parameters:
funcCallback to call passed as void pointer

Definition at line 686 of file Callback.h.

~Callback (  ) [inherited]

Destroy a callback.

Definition at line 3171 of file Callback.h.

~Callback (  ) [inherited]

Destroy a callback.

Definition at line 1757 of file Callback.h.

~Callback (  ) [inherited]

Destroy a callback.

Definition at line 1050 of file Callback.h.

~Callback (  ) [inherited]

Destroy a callback.

Definition at line 343 of file Callback.h.

~Callback (  ) [inherited]

Destroy a callback.

Definition at line 3878 of file Callback.h.

~Callback (  ) [inherited]

Destroy a callback.

Definition at line 2464 of file Callback.h.


Variable Documentation

event_callback_t callback [inherited]

User's callback.

Definition at line 34 of file Transaction.h.

uint32_t event [inherited]

Event for a transaction.

Definition at line 33 of file Transaction.h.

void* rx_buffer [inherited]

Rx buffer.

Definition at line 31 of file Transaction.h.

size_t rx_length [inherited]

Length of Rx buffer.

Definition at line 32 of file Transaction.h.

size_t tx_length [inherited]

Length of Tx buffer.

Definition at line 30 of file Transaction.h.

uint8_t width [inherited]

Buffer's word width (8, 16, 32, 64)

Definition at line 35 of file Transaction.h.


Friends

bool operator!= ( const Callback< R()> &  l,
const Callback< R()> &  r 
) [friend, inherited]

Test for inequality.

Definition at line 679 of file Callback.h.

bool operator!= ( const Callback< R(A0)> &  l,
const Callback< R(A0)> &  r 
) [friend, inherited]

Test for inequality.

Definition at line 1386 of file Callback.h.

bool operator!= ( const Callback< R(A0, A1, A2)> &  l,
const Callback< R(A0, A1, A2)> &  r 
) [friend, inherited]

Test for inequality.

Definition at line 2800 of file Callback.h.

bool operator!= ( const Callback< R(A0, A1, A2, A3)> &  l,
const Callback< R(A0, A1, A2, A3)> &  r 
) [friend, inherited]

Test for inequality.

Definition at line 3507 of file Callback.h.

bool operator!= ( const Callback< R(A0, A1)> &  l,
const Callback< R(A0, A1)> &  r 
) [friend, inherited]

Test for inequality.

Definition at line 2093 of file Callback.h.

bool operator!= ( const Callback< R(A0, A1, A2, A3, A4)> &  l,
const Callback< R(A0, A1, A2, A3, A4)> &  r 
) [friend, inherited]

Test for inequality.

Definition at line 4214 of file Callback.h.

bool operator== ( const Callback< R(A0, A1, A2)> &  l,
const Callback< R(A0, A1, A2)> &  r 
) [friend, inherited]

Test for equality.

Definition at line 2794 of file Callback.h.

bool operator== ( const Callback< R(A0, A1, A2, A3)> &  l,
const Callback< R(A0, A1, A2, A3)> &  r 
) [friend, inherited]

Test for equality.

Definition at line 3501 of file Callback.h.

bool operator== ( const Callback< R(A0, A1, A2, A3, A4)> &  l,
const Callback< R(A0, A1, A2, A3, A4)> &  r 
) [friend, inherited]

Test for equality.

Definition at line 4208 of file Callback.h.

bool operator== ( const Callback< R(A0)> &  l,
const Callback< R(A0)> &  r 
) [friend, inherited]

Test for equality.

Definition at line 1380 of file Callback.h.

bool operator== ( const Callback< R()> &  l,
const Callback< R()> &  r 
) [friend, inherited]

Test for equality.

Definition at line 673 of file Callback.h.

bool operator== ( const Callback< R(A0, A1)> &  l,
const Callback< R(A0, A1)> &  r 
) [friend, inherited]

Test for equality.

Definition at line 2087 of file Callback.h.