2016-12-27 23:03:08 +00:00
|
|
|
#ifndef __DELAY_H_
|
|
|
|
#define __DELAY_H_
|
2017-01-10 01:24:10 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2016-12-27 23:03:08 +00:00
|
|
|
|
|
|
|
/** Initialize delay core - configure SysTick timer */
|
|
|
|
void delay_init();
|
|
|
|
|
2017-01-10 20:21:44 +00:00
|
|
|
void _delay_us(uint16_t us, uint8_t precise);
|
2017-01-10 01:24:10 +00:00
|
|
|
|
2016-12-27 23:03:08 +00:00
|
|
|
void _delay_ms(uint32_t ms);
|
|
|
|
|
2017-01-10 01:24:10 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2016-12-27 23:03:08 +00:00
|
|
|
#endif
|