Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
callback_timer_data Struct Reference
The configuration of a timer. More...
#include <callback_timer.h>
Public Member Functions | |
| callback_timer_data (etl::timer::id::type id_, void(*p_callback_)(), uint32_t period_, bool repeating_) | |
| C function callback. | |
| callback_timer_data (etl::timer::id::type id_, etl::ifunction< void > &callback_, uint32_t period_, bool repeating_) | |
| ETL function callback. | |
| bool | is_active () const |
| Returns true if the timer is active. | |
| void | set_inactive () |
| Sets the timer to the inactive state. | |
Detailed Description
The configuration of a timer.
Definition at line 49 of file callback_timer.h.
Constructor & Destructor Documentation
| callback_timer_data | ( | etl::timer::id::type | id_, |
| void(*)() | p_callback_, | ||
| uint32_t | period_, | ||
| bool | repeating_ | ||
| ) |
C function callback.
Definition at line 67 of file callback_timer.h.
| callback_timer_data | ( | etl::timer::id::type | id_, |
| etl::ifunction< void > & | callback_, | ||
| uint32_t | period_, | ||
| bool | repeating_ | ||
| ) |
ETL function callback.
Definition at line 85 of file callback_timer.h.
Member Function Documentation
| bool is_active | ( | ) | const |
Returns true if the timer is active.
Definition at line 103 of file callback_timer.h.
| void set_inactive | ( | ) |
Sets the timer to the inactive state.
Definition at line 111 of file callback_timer.h.
Generated on Tue Jul 12 2022 14:05:49 by
1.7.2