Mistake on this page?
Report an issue in GitHub or email us
Deprecated List
Global ConditionVariable::wait_for (uint32_t millisec)
Pass a chrono duration, not an integer millisecond count. For example use 5s rather than 5000.
Global ConditionVariable::wait_until (uint64_t millisec)
Pass a chrono time_point, not an integer millisecond count. For example use Kernel::Clock::now() + 5s rather than Kernel::get_ms_count() + 5000.
Global Event< void(ArgTs...)>::delay (int d)
Pass a chrono duration, not an integer millisecond count.
Global Event< void(ArgTs...)>::period (int p)
Pass a chrono duration, not an integer millisecond count.
Global Mail< T, queue_sz >::alloc (MBED_UNUSED uint32_t millisec=0)
Replaced with try_alloc. In future alloc() will be an untimed blocking call.
Global Mail< T, queue_sz >::alloc_for (uint32_t millisec)
Pass a chrono duration, not an integer millisecond count. For example use 5s rather than 5000.
Global Mail< T, queue_sz >::alloc_until (uint64_t millisec)
Pass a chrono time_point, not an integer millisecond count. For example use Kernel::Clock::now() + 5s rather than Kernel::get_ms_count() + 5000.
Global Mail< T, queue_sz >::calloc (MBED_UNUSED uint32_t millisec=0)
Replaced with try_calloc. In future calloc() will be an untimed blocking call.
Global Mail< T, queue_sz >::calloc_for (uint32_t millisec)
Pass a chrono duration, not an integer millisecond count. For example use 5s rather than 5000.
Global Mail< T, queue_sz >::calloc_until (uint64_t millisec)
Pass a chrono time_point, not an integer millisecond count. For example use Kernel::Clock::now() + 5s rather than Kernel::get_ms_count() + 5000.
Global Mail< T, queue_sz >::get (uint32_t millisec=osWaitForever)
Replaced with try_get and try_get_for. In future get will be an untimed blocking call.
Global mbed_set_error_hook (mbed_error_hook_t custom_error_hook)
You should use an overridden mbed_error_hook() function if you like to catch errors in your application. With mbed_set_error_hook() it is not possible to catch errors before your application started.
Global MBED_STATIC_ASSERT (expr, msg)
This feature is now no longer necessary with the minimum supported language versions. It will be removed in a forthcoming release. Use static_assert instead. For C this is provided by <assert.h>, and for C++ it is a built-in keyword.
Global MBED_STRUCT_STATIC_ASSERT (expr, message)
This feature is now no longer necessary with the minimum supported language versions. It will be removed in a forthcoming release. Use static_assert instead. For C this is provided by <assert.h>, and for C++ it is a built-in keyword.
Global MemoryPool< T, pool_sz >::alloc ()
Replaced with try_alloc. In future alloc() will be an untimed blocking call.
Global MemoryPool< T, pool_sz >::alloc_for (uint32_t millisec)
Replaced with try_alloc_for. For example use try_alloc_for(5s) rather than alloc_for(5000).
Global MemoryPool< T, pool_sz >::alloc_until (uint64_t millisec)
Replaced with try_alloc_until. For example use try_alloc_until(Kernel::Clock::now() + 5s) rather than alloc_until(Kernel::get_ms_count() + 5000).
Global MemoryPool< T, pool_sz >::calloc ()
Replaced with try_calloc. In future calloc() will be an untimed blocking call.
Global MemoryPool< T, pool_sz >::calloc_for (uint32_t millisec)
Replaced with try_calloc_for. For example use try_calloc_for(5s) rather than calloc_for(5000).
Global MemoryPool< T, pool_sz >::calloc_until (uint64_t millisec)
Replaced with try_calloc_until. For example use try_calloc_until(Kernel::Clock::now() + 5s) rather than calloc_until(Kernel::get_ms_count() + 5000).
Global Mutex::trylock_for (uint32_t millisec)
Pass a chrono duration, not an integer millisecond count. For example use 5s rather than 5000.
Global Mutex::trylock_until (uint64_t millisec)
Pass a chrono time_point, not an integer millisecond count. For example use Kernel::Clock::now() + 5s rather than Kernel::get_ms_count() + 5000.
Global Queue< T, queue_sz >::get (uint32_t millisec=osWaitForever)
Replaced with try_get and try_get_for. In future get will be an untimed blocking call.
Global Queue< T, queue_sz >::put (T *data, uint32_t millisec=0, uint8_t prio=0)
Replaced with try_put and try_put_for. In future put will be an untimed blocking call.
Global radio_fsk_settings::iq_inverted
Does not apply to FSK.
Global rtos::Kernel::get_ms_count ()
Use Kernel::Clock::now() to get a chrono time_point instead of an integer millisecond count.
Global rtos::ThisThread::flags_wait_all_for (uint32_t flags, uint32_t millisec, bool clear=true)
Pass a chrono duration, not an integer millisecond count. For example use 5s rather than 5000.
Global rtos::ThisThread::flags_wait_all_until (uint32_t flags, uint64_t millisec, bool clear=true)
Pass a chrono time_point, not an integer millisecond count. For example use Kernel::Clock::now() + 5s rather than Kernel::get_ms_count() + 5000.
Global rtos::ThisThread::flags_wait_any_for (uint32_t flags, uint32_t millisec, bool clear=true)
Pass a chrono duration, not an integer millisecond count. For example use 5s rather than 5000.
Global rtos::ThisThread::flags_wait_any_until (uint32_t flags, uint64_t millisec, bool clear=true)
Pass a chrono time_point, not an integer millisecond count. For example use Kernel::Clock::now() + 5s rather than Kernel::get_ms_count() + 5000.
Global rtos::ThisThread::sleep_for (uint32_t millisec)
Pass a chrono duration, not an integer millisecond count. For example use 5s rather than 5000.
Global rtos::ThisThread::sleep_until (uint64_t millisec)
Pass a chrono time_point, not an integer millisecond count. For example use Kernel::Clock::now() + 5s rather than Kernel::get_ms_count() + 5000.
Global Semaphore::try_acquire_for (uint32_t millisec)
Pass a chrono duration, not an integer millisecond count. For example use 5s rather than 5000.
Global Semaphore::try_acquire_until (uint64_t millisec)
Pass a chrono time_point, not an integer millisecond count. For example use Kernel::Clock::now() + 5s rather than Kernel::get_ms_count() + 5000.
Global TickerBase::attach (F &&func, float t)
Pass a chrono duration, not a float second count. For example use 10ms rather than 0.01f.
Global TickerBase::attach_us (Callback< void()> func, us_timestamp_t t)
Pass a chrono duration, not an integer microsecond count. For example use 10ms rather than 10000.
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.