|
static __always_inline uint32_t | cpu_cy_2_ms (unsigned long cy, unsigned long fcpu_hz) |
| Convert CPU cycles into milli-seconds. More...
|
|
static __always_inline uint32_t | cpu_cy_2_us (unsigned long cy, unsigned long fcpu_hz) |
| Convert CPU cycles into micro-seconds. More...
|
|
static __always_inline void | cpu_delay_cy (unsigned long delay) |
| Waits during at least the specified delay (in CPU cycles) before returning. More...
|
|
static __always_inline void | cpu_delay_ms (unsigned long delay, unsigned long fcpu_hz) |
| Waits during at least the specified delay (in millisecond) before returning. More...
|
|
static __always_inline void | cpu_delay_us (unsigned long delay, unsigned long fcpu_hz) |
| Waits during at least the specified delay (in microsecond) before returning. More...
|
|
static __always_inline
unsigned long | cpu_is_timeout (t_cpu_time *cpu_time) |
| Test if a timer variable reached its timeout. More...
|
|
static __always_inline
unsigned long | cpu_is_timer_stopped (t_cpu_time *cpu_time) |
| Test if a timer is stopped. More...
|
|
static __always_inline uint32_t | cpu_ms_2_cy (unsigned long ms, unsigned long fcpu_hz) |
| Convert milli-seconds into CPU cycles. More...
|
|
static __always_inline void | cpu_set_timeout (unsigned long delay, t_cpu_time *cpu_time) |
| Set a timer variable. More...
|
|
static __always_inline void | cpu_stop_timeout (t_cpu_time *cpu_time) |
| Stop a timeout detection. More...
|
|
static __always_inline uint32_t | cpu_us_2_cy (unsigned long us, unsigned long fcpu_hz) |
| Convert micro-seconds into CPU cycles. More...
|
|