shit-202408082000

This commit is contained in:
hulk
2024-08-08 19:59:43 +08:00
parent f526aa2b8f
commit ea9e742e72
6 changed files with 48 additions and 66 deletions

View File

@@ -32,7 +32,6 @@ void systick_config(void)
count_1ms = (float)count_1us * 1000;
}
/**
* ************************************************************************
* @brief delay_us 微秒延时函数
@@ -60,10 +59,8 @@ void delay_us(uint32_t count)
SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk;
//将 SysTick 计数器的当前值清零,以便下次使用
SysTick->VAL = 0x0000U;
}
/**
* ************************************************************************
* @brief delay_ms 毫秒延时函数