STC15W408AS library 0.9.0
|
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... | |
Functions and data structures related to delaying program flow
#define delay_ms | ( | ms | ) |
Delays program flow using CPU nop.
Using CPU cycles to delay. Use delay_ms with care.
ms | uint16_t delay value |