dRonin
adbada4
dRonin firmware
|
#include <pios.h>
Go to the source code of this file.
Data Structures | |
struct | rtc_callback_entry |
Macros | |
#define | SYSTICK_HZ 1250 |
#define | RTC_DIVIDER 2 /* Must be power of 2; this results in 625Hz "RTC" */ |
#define | PIOS_RTC_MAX_CALLBACKS 3 |
Functions | |
static void | PIOS_DELAY_Systick_Handler (void) |
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_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... | |
float | PIOS_RTC_Rate () |
float | PIOS_RTC_MsPerTick () |
bool | PIOS_RTC_RegisterTickCallback (void(*fn)(uintptr_t id), uintptr_t data) |
static void | PIOS_RTC_Tick () |
Variables | |
static struct rtc_callback_entry | rtc_callback_list [PIOS_RTC_MAX_CALLBACKS] |