|
idfxx 1.0.0
Modern C++23 components for ESP-IDF
|
FreeRTOS tick conversions using std::chrono. More...
Namespaces | |
| namespace | idfxx |
| namespace | idfxx::chrono |
| ESP-IDF C++ chrono utilities. | |
Classes | |
| struct | idfxx::chrono::tick_clock |
| Steady clock based on FreeRTOS tick count. More... | |
Functions | |
| template<class Rep , class Period > | |
| constexpr TickType_t | idfxx::chrono::ticks (const std::chrono::duration< Rep, Period > &d) |
| Converts a std::chrono duration to TickType_t ticks. | |
FreeRTOS tick conversions using std::chrono.
Provides utilities for converting std::chrono::duration to FreeRTOS ticks.
|
constexpr |
Converts a std::chrono duration to TickType_t ticks.
Definition at line 33 of file chrono.hpp.
Referenced by idfxx::task::self::take_for(), idfxx::task::self::take_until(), idfxx::task::try_join(), idfxx::task::try_join_until(), idfxx::queue< T >::try_peek(), idfxx::queue< T >::try_peek_until(), idfxx::event_loop::try_post(), idfxx::queue< T >::try_receive(), idfxx::queue< T >::try_receive_until(), idfxx::user_event_loop::try_run(), idfxx::queue< T >::try_send(), idfxx::queue< T >::try_send_to_front(), idfxx::queue< T >::try_send_to_front_until(), idfxx::queue< T >::try_send_until(), idfxx::event_group< E >::try_sync(), idfxx::event_group< E >::try_sync_until(), idfxx::event_group< E >::try_wait(), idfxx::event_group< E >::try_wait_until(), idfxx::task::self::wait_for(), and idfxx::task::self::wait_until().