add timeout_timer.h to provide real tick timeout service for blocking control

This commit is contained in:
hathach
2013-02-27 20:58:11 +07:00
parent 594fc6771c
commit f56f6b6749
4 changed files with 92 additions and 1 deletions

View File

@@ -164,6 +164,10 @@ osal_queue_handle_t osal_queue_create (osal_queue_t *p_queue);
void osal_queue_receive (osal_queue_handle_t const queue_hdl, uint32_t *p_data, uint32_t msec, tusb_error_t *p_error);
tusb_error_t osal_queue_send (osal_queue_handle_t const queue_hdl, uint32_t data);
//--------------------------------------------------------------------+
// TICK API
//--------------------------------------------------------------------+
uint32_t osal_tick_get(void);
#endif
#ifdef __cplusplus

View File

@@ -56,7 +56,6 @@
#endif
#include "common/common.h"
//typedef void (*pfTask)( void * );
enum
{