delay.h 234 B

123456789101112131415
  1. #ifndef __DELAY_H
  2. #define __DELAY_H
  3. #include "stm32f4xx.h"
  4. extern vu32 sysTickUptime;
  5. void Delay_init(void);
  6. void delay_ms(u16 nms);
  7. void delay_us(u32 nus);
  8. extern uint32_t Micros(void);
  9. extern void cycleCounterInit(void);
  10. #endif