systick.h 408 B

123456789101112131415161718192021222324
  1. /*!
  2. \file systick.h
  3. \brief the header file of systick
  4. */
  5. /*
  6. Copyright (C) 2017 GigaDevice
  7. 2017-06-06, V1.0.0, firmware for GD32F3x0
  8. */
  9. #ifndef SYS_TICK_H
  10. #define SYS_TICK_H
  11. #include <stdint.h>
  12. /* configure systick */
  13. void systick_config(void);
  14. /* delay a time in milliseconds */
  15. void delay_1ms(uint32_t count);
  16. /* delay decrement */
  17. void delay_decrement(void);
  18. #endif /* SYS_TICK_H */