uwb-core DPL (Decawave Porting Layer) time abstraction  
More...
uwb-core DPL (Decawave Porting Layer) time abstraction 
- Author
 - Francisco Molina franc.nosp@m.ois-.nosp@m.xavie.nosp@m.r.mo.nosp@m.lina@.nosp@m.inri.nosp@m.a.fr 
 
Definition in file dpl_time.h.
 
Go to the source code of this file.
◆ dpl_time_delay()
Wait until the number of ticks has elapsed, BLOICKING. 
- Parameters
 - 
  
    | [in] | ticks | The number of ticks to wait.  | 
  
   
Definition at line 93 of file dpl_time.h.
 
 
◆ dpl_time_get()
Returns the low 32 bits of cputime. 
- Returns
 - uint32_t The lower 32 bits of cputime 
 
Definition at line 33 of file dpl_time.h.
 
 
◆ dpl_time_ms_to_ticks()
Converts the given number of milliseconds into cputime ticks. 
- Parameters
 - 
  
    | [in] | ms | The number of milliseconds to convert to ticks  | 
    | [out] | out_ticks | The number of ticks corresponding to 'ms' | 
  
   
- Returns
 - dpl_error_t DPL_OK - no error 
 
Definition at line 46 of file dpl_time.h.
 
 
◆ dpl_time_ms_to_ticks32()
  
  
      
        
          | static dpl_time_t dpl_time_ms_to_ticks32  | 
          ( | 
          uint32_t  | 
          ms | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
Converts the given number of milliseconds into cputime ticks. 
- Parameters
 - 
  
    | [in] | ms | The number of milliseconds to convert to ticks | 
  
   
- Returns
 - uint32_t The number of ticks corresponding to 'ms' 
 
Definition at line 71 of file dpl_time.h.
 
 
◆ dpl_time_ticks_to_ms()
Convert the given number of ticks into milliseconds. 
- Parameters
 - 
  
    | [in] | ticks | The number of ticks to convert to milliseconds.  | 
    | [out] | out_ms | The converted milliseconds from 'ticks' | 
  
   
- Returns
 - dpl_error_t DPL_OK - no error 
 
Definition at line 59 of file dpl_time.h.
 
 
◆ dpl_time_ticks_to_ms32()
Convert the given number of ticks into milliseconds. 
- Parameters
 - 
  
    | [in] | ticks | The number of ticks to convert to milliseconds. | 
  
   
- Returns
 - uint32_t The number of milliseconds corresponding to 'ticks' 
 
Definition at line 83 of file dpl_time.h.