STC15W408AS library 0.9.0
Macros
delay.h File Reference
#include <stdint.h>
#include <frequency.h>
Include dependency graph for delay.h:

Go to the source code of this file.

Macros

#define TICKS_DELAY_1ms   ((uint16_t) (((get_master_clock_frequency() / 1000UL) - 30UL) / 18UL))
 Ticks for 1ms delay.
 
#define delay_ms(ms)
 Delays program flow using CPU nop. More...