Macros
delay.h File Reference

Common Delay Service. More...

#include <sysclk.h>
Include dependency graph for delay.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define delay_init(fcpu_hz)
 Initialize the delay driver. More...
 
#define delay_ms(delay)   ((delay) ? cpu_delay_ms(delay, F_CPU) : cpu_delay_us(1, F_CPU))
 Delay in milliseconds. More...
 
#define delay_s(delay)   ((delay) ? cpu_delay_ms(1000 * delay, F_CPU) : cpu_delay_us(1, F_CPU))
 Delay in seconds. More...
 
#define delay_us(delay)   ((delay) ? cpu_delay_us(delay, F_CPU) : cpu_delay_us(1, F_CPU))
 Delay in microseconds. More...
 
#define F_CPU   sysclk_get_cpu_hz()
 MCU Clock Frequency (Hertz) More...
 

Detailed Description

Common Delay Service.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

Definition in file delay.h.



inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:05