Timer management for LwIP.
Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.
#include "FreeRTOS.h"
#include "task.h"
#include "board.h"
#include "timer_mgt_sam.h"
#include "tc.h"
#include "pmc.h"
#include "sysclk.h"
#include "lwip/sys.h"
Functions | |
uint32_t | sys_get_ms (void) |
Get the system clock time in ms. More... | |
u32_t | sys_now (void) |
Returns the current time in milliseconds, may be the same as sys_jiffies or at least based on it. More... | |
uint32_t sys_get_ms | ( | void | ) |
Get the system clock time in ms.
Return the number of timer ticks (ms).
References gs_ul_clk_tick, and xTaskGetTickCount().
u32_t sys_now | ( | void | ) |
Returns the current time in milliseconds, may be the same as sys_jiffies or at least based on it.
Returns the current time in milliseconds.
Returns the current time in milliseconds, may be the same as sys_jiffies or at least based on it.
References sys_get_ms(), and xTaskGetTickCount().