| 
    HAL
    
   HAL layer above libopencm3 library. 
   | 
 
Spin-waiting blocking API. More...
Functions | |
| static void | delay_cycles (const int64_t cycles) | 
| Spin-wait delay, spinning specified amount of processor cycles.  More... | |
| static void | delay_us (uint32_t us, uint64_t cpufreq) | 
| Spin-wait delay, spinning specified amount of microseconds.  More... | |
| static void | delay_ms (uint32_t ms, uint64_t cpufreq) | 
| Spin-wait delay, spinning specified amount of microseconds.  More... | |
Spin-waiting blocking API.
LGPL License Terms HAL License
      
  | 
  static | 
Spin-wait delay, spinning specified amount of processor cycles.
| [in] | cycles | Cycles count need to spent in spin-wait | 
Definition at line 99 of file delay.h.
References _delay_3t().
Referenced by delay_ms(), and delay_us().
      
  | 
  static | 
Spin-wait delay, spinning specified amount of microseconds.
| [in] | ms | Milliseconds needed to spin wait. | 
| [in] | cpufreq | Current CPU frequency in Hz | 
Definition at line 130 of file delay.h.
References delay_cycles().
      
  | 
  static | 
Spin-wait delay, spinning specified amount of microseconds.
| [in] | us | Microseconds needed to spin wait. | 
| [in] | cpufreq | Current CPU frequency in Hz | 
Definition at line 120 of file delay.h.
References delay_cycles().