/********************************************************************************************************* * Module : SysTick.h * Abstract : SysTick modules,systick be used to delay of Milliseconds or Nanoseconds !!! * Version : 1.0.0 * Author : Leopul(COPYRIGHT 2025 - 2027 Leopul. All rights reserved.) * Complete : 2025-02-16 * Content : None * Note : None *********************************************************************************************************/ #ifndef _SYS_TICK_H_ #define _SYS_TICK_H_ #include "gd32f30x_libopt.h" #include /* configure systick */ void systick_config(void); /* delay a time in milliseconds */ void delay_1ms(uint32_t count); /* delay decrement */ void delay_decrement(void); void DelayNms(unsigned int nms); void DelayNus(unsigned int nus); #endif