![]()  | 
  
    PDK API Guide for J721E
    
   | 
 
Timer and events utility functions.
Go to the source code of this file.
Macros | |
| #define | CB_USLEEP(x) usleep(x) | 
| micro second unit sleep  More... | |
| #define | CB_SLEEP(x) sleep(x) | 
| second unit sleep  More... | |
| #define | CB_MKTIME(x) mktime(x) | 
| seconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC)  More... | |
Typedefs | |
| typedef struct cb_timer_object | cb_timer_object_t | 
| handler for cb_timer_object  More... | |
Enumerations | |
| enum | cb_timer_clear_t { CB_TIMER_NO_CLEAR, CB_TIMER_DECREMENT, CB_TIMER_ALL_CLEAR } | 
| enumeration used for timer to clear, decrement or no clear. This enumeration has following members:  More... | |
Functions | |
| static int | cb_nanosleep64 (int64_t ts64, int64_t *rts64) | 
| nano second unit sleep  More... | |
| cb_timer_object_t * | cb_timer_create (char *tname) | 
| creates timer.  More... | |
| void | cb_timer_close (cb_timer_object_t *mtmo) | 
| close the timer  More... | |
| int | cb_timer_start_interval (cb_timer_object_t *mtmo, uint32_t value_ms, uint32_t interval_ms) | 
| start timer interval.  More... | |
| int | cb_timer_stop (cb_timer_object_t *mtmo) | 
| timer stop.  More... | |
| bool | cb_timer_expired (cb_timer_object_t *mtmo, cb_timer_clear_t clear) | 
| timer expired  More... | |