esp-open-rtos/include/espressif/esp_timer.h
Angus Gratton e743d03a78 Preprocess all binary SDK symbols to add an sdk_ prefix
* This fixes the problem of axTLS symbols hmac_md5/hmac_sha1 having same
  name as symbols in libwpa (which have incompatible signatures)

* Also allows for easier identification and piece-by-piece removal of
  binary functions.

* Some libc symbols are not renamed, list is in lib/symbols_norename.txt
2015-06-02 15:08:35 +10:00

22 lines
503 B
C

/*
* Copyright (C) 2013 -2014 Espressif System
*
*/
#ifndef __ESP_TIMER_H__
#define __ESP_TIMER_H__
/* timer related */
typedef void sdk_os_timer_func_t(void *timer_arg);
typedef struct _os_timer_t {
struct _os_timer_t *timer_next;
void *freerots_handle;
uint32_t timer_expire;
uint32_t timer_period;
sdk_os_timer_func_t *timer_func;
bool timer_repeat_flag;
void *timer_arg;
} sdk_os_timer_t;
#endif