|
|
|
|
|
|
|
|
#define interrupts() __enable_irq() |
|
|
#define interrupts() __enable_irq() |
|
|
#define noInterrupts() __disable_irq() |
|
|
#define noInterrupts() __disable_irq() |
|
|
|
|
|
|
|
|
#define clockCyclesPerMicrosecond() ( F_CPU / 1000000L ) |
|
|
|
|
|
|
|
|
#define clockCyclesPerMicrosecond() ( F_CPU_ACTUAL / 1000000L ) |
|
|
#define clockCyclesToMicroseconds(a) ( (a) / clockCyclesPerMicrosecond() ) |
|
|
#define clockCyclesToMicroseconds(a) ( (a) / clockCyclesPerMicrosecond() ) |
|
|
#define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) |
|
|
#define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) |
|
|
|
|
|
|