Job_SignsPads/STM32/Code/STM32-IAP/SYSTEM/delay.h
2025-04-22 10:29:37 +08:00

48 lines
590 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef __DELAY_H
#define __DELAY_H
#include <sys.h>
//////////////////////////////////////////////////////////////////////////////////
//使用SysTick的普通计数模式对延迟进行管理(支持ucosii)
//包括delay_us,delay_ms
//STM32F4工程-库函数版本
//淘宝店铺http://mcudev.taobao.com
//********************************************************************************
//修改说明
//无
//////////////////////////////////////////////////////////////////////////////////
void delay_init(u8 SYSCLK);
void delay_ms(u16 nms);
void delay_us(u32 nus);
#endif