Timer management for the lwIP Raw HTTP basic example.
Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.
#include "board.h"
#include "tc.h"
#include "timer_mgt.h"
#include "lwip/init.h"
#include "lwip/sys.h"
#include "tc_interrupt.h"
Functions | |
uint32_t | sys_get_ms (void) |
Return the number of timer ticks (ms). More... | |
void | sys_init_timing (void) |
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... | |
static void | tc_callback (struct tc_module *const module_inst) |
Variables | |
static volatile uint32_t | gs_ul_clk_tick |
struct tc_module | tc_instance |
uint32_t sys_get_ms | ( | void | ) |
Return the number of timer ticks (ms).
References gs_ul_clk_tick.
Referenced by sys_now(), and timers_update().
References tc_callback(), tc_init(), and tc_instance.
Referenced by init_ethernet().
Returns the current time in milliseconds, may be the same as sys_jiffies or at least based on it.
References sys_get_ms().
Referenced by sys_timeouts_init().
|
static |
References gs_ul_clk_tick.
Referenced by sys_init_timing().
|
static |
Referenced by sys_get_ms(), and tc_callback().
struct tc_module tc_instance |
Referenced by sys_init_timing().