#include <stdint.h>

Go to the source code of this file.
Classes | |
| union | ticks_t |
Macros | |
| #define | RTPRES 3 |
| #define | RTPRES_SEC BOARD_FREQ_SLCK_XTAL |
| #define | TIME_MS_PER_TICK_F (TIME_SECS_PER_TICK_F*1000.0f) |
| #define | TIME_MS_PER_TICK_LF (TIME_SECS_PER_TICK_LF*1000.0) |
| #define | TIME_SECS_PER_TICK_F (((float)RTPRES)/(float)RTPRES_SEC) |
| #define | TIME_SECS_PER_TICK_LF (((double)RTPRES)/(double)RTPRES_SEC) |
| #define | TIME_TICKS_PER_MS (TIME_TICKS_PER_SEC/1000) |
| #define | TIME_TICKS_PER_SEC (RTPRES_SEC/RTPRES) |
| #define | TIME_TICKS_PER_US (TIME_TICKS_PER_SEC/1000000) |
| #define | TIME_US_PER_TICK_F (TIME_SECS_PER_TICK_F*1000000.0f) |
| #define | TIME_US_PER_TICK_LF (TIME_SECS_PER_TICK_LF*1000000.0) |
Functions | |
| void | time_delay (uint32_t ms) |
| void | time_init (void) |
| uint32_t | time_msec (void) |
| float | time_msecf (void) |
| double | time_mseclf (void) |
| float | time_secf (void) |
| double | time_seclf (void) |
| volatile uint64_t | time_ticks (void) |
| uint32_t | time_usec (void) |
| float | time_usecf (void) |
| double | time_useclf (void) |
| #define RTPRES_SEC BOARD_FREQ_SLCK_XTAL |
| #define TIME_MS_PER_TICK_F (TIME_SECS_PER_TICK_F*1000.0f) |
| #define TIME_MS_PER_TICK_LF (TIME_SECS_PER_TICK_LF*1000.0) |
| #define TIME_SECS_PER_TICK_F (((float)RTPRES)/(float)RTPRES_SEC) |
| #define TIME_SECS_PER_TICK_LF (((double)RTPRES)/(double)RTPRES_SEC) |
| #define TIME_TICKS_PER_MS (TIME_TICKS_PER_SEC/1000) |
| #define TIME_TICKS_PER_SEC (RTPRES_SEC/RTPRES) |
| #define TIME_TICKS_PER_US (TIME_TICKS_PER_SEC/1000000) |
| #define TIME_US_PER_TICK_F (TIME_SECS_PER_TICK_F*1000000.0f) |
| #define TIME_US_PER_TICK_LF (TIME_SECS_PER_TICK_LF*1000000.0) |