diff options
| author | hathach <[email protected]> | 2013-02-27 20:58:11 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-02-27 20:58:11 +0700 |
| commit | f56f6b67499b3ca2a0b2c18cfba7399a4eea6276 (patch) | |
| tree | 6c5850935d43fd679e327c49136de0cd96c8ffe5 /tinyusb/osal/osal.h | |
| parent | 594fc6771c4106b84c4bbaa03a8f3b81c5d82b0a (diff) | |
add timeout_timer.h to provide real tick timeout service for blocking control
Diffstat (limited to 'tinyusb/osal/osal.h')
| -rw-r--r-- | tinyusb/osal/osal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tinyusb/osal/osal.h b/tinyusb/osal/osal.h index 594f4908d..b1f67055f 100644 --- a/tinyusb/osal/osal.h +++ b/tinyusb/osal/osal.h @@ -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 |
