15 lines
322 B
C
15 lines
322 B
C
|
#ifndef __SYSTICK_H
|
|||
|
#define __SYSTICK_H
|
|||
|
|
|||
|
#include "stm32h7xx.h"
|
|||
|
|
|||
|
typedef uint32_t u32;
|
|||
|
|
|||
|
extern void SysTick_Init(void);
|
|||
|
extern void Delay_us(__IO u32 nTime);
|
|||
|
extern void TimingDelay_Decrement(void);
|
|||
|
#define Delay_ms(x) Delay_us(100*x) //<2F><>λms
|
|||
|
#define HAL_Delay(x) Delay_us(100*x) //<2F><>λms
|
|||
|
|
|||
|
#endif /* __SYSTICK_H */
|