|
SAM4SD32 (SAM4S-EK2)
|
This module provides simple loop-based delay routines for those applications requiring a brief wait during execution. More...
Macros | |
| #define | delay_init(fcpu_hz) |
| Initialize the delay driver. | |
| #define | delay_ms(delay) |
| Delay in milliseconds. | |
| #define | delay_s(delay) |
| Delay in seconds. | |
| #define | delay_us(delay) |
| Delay in microseconds. | |
| #define | F_CPU sysclk_get_cpu_hz() |
| MCU Clock Frequency (Hertz). | |
This module provides simple loop-based delay routines for those applications requiring a brief wait during execution.
Common API for UC3, XMEGA, and AVR MEGA.
| #define delay_init | ( | fcpu_hz | ) |
Initialize the delay driver.
| fcpu_hz | CPU frequency in Hz |
The functions in this module call sysclk_get_cpu_hz() to obtain the system clock frequency.
| #define delay_ms | ( | delay | ) |
Delay in milliseconds.
| delay | Delay in milliseconds |
| #define delay_s | ( | delay | ) |
Delay in seconds.
| delay | Delay in seconds |
| #define delay_us | ( | delay | ) |
Delay in microseconds.
| delay | Delay in microseconds |
| #define F_CPU sysclk_get_cpu_hz() |
MCU Clock Frequency (Hertz).