![]() |
Mbed OS Reference
|
Portable interface to timeouts and to the CPU cycle counter. More...
Go to the source code of this file.
Data Structures | |
| struct | mbedtls_timing_hr_time |
| timer structure More... | |
| struct | mbedtls_timing_delay_context |
| Context for mbedtls_timing_set/get_delay() More... | |
Typedefs | |
| typedef struct mbedtls_timing_delay_context | mbedtls_timing_delay_context |
| Context for mbedtls_timing_set/get_delay() | |
Functions | |
| unsigned long | mbedtls_timing_hardclock (void) |
| Return the CPU cycle counter value. | |
| unsigned long | mbedtls_timing_get_timer (struct mbedtls_timing_hr_time *val, int reset) |
| Return the elapsed time in milliseconds. | |
| void | mbedtls_set_alarm (int seconds) |
| Setup an alarm clock. | |
| void | mbedtls_timing_set_delay (void *data, uint32_t int_ms, uint32_t fin_ms) |
Set a pair of delays to watch (See mbedtls_timing_get_delay().) | |
| int | mbedtls_timing_get_delay (void *data) |
| Get the status of delays (Memory helper: number of delays passed.) | |
Portable interface to timeouts and to the CPU cycle counter.
Definition in file timing.h.