赞
踩
void time_delay(u32 us)//设置时间 { u32 freq = 1000000 / us; timer_cfg(freq, us);//传参:当只需要设置频率,则us = 0 }