dRonin
adbada4
dRonin firmware
|
#include <pios.h>
Go to the source code of this file.
Functions | |
int32_t | PIOS_DELAY_Init (void) |
int32_t | PIOS_DELAY_WaituS (uint32_t uS) |
int32_t | PIOS_DELAY_WaitmS (uint32_t mS) |
uint32_t | PIOS_DELAY_GetuS () |
Query the Delay timer for the current uS. More... | |
uint32_t | PIOS_DELAY_GetuSSince (uint32_t t) |
Calculate time in microseconds since a previous time. More... | |
uint32_t | PIOS_DELAY_GetuSExpired (uint32_t t) |
Calculates whether a given time has passed. More... | |
uint32_t | PIOS_DELAY_GetRaw () |
Get the raw delay timer, useful for timing. More... | |
uint32_t | PIOS_DELAY_DiffuS (uint32_t raw) |
Subtract raw time from now and convert to us. More... | |
uint32_t | PIOS_DELAY_DiffuS2 (uint32_t raw, uint32_t later) |
Subrtact two raw times and convert to us. More... | |
Variables | |
static uint32_t | us_ticks |
static uint32_t | us_modulo |