資源簡介
基于stm32f407的串口調試 程序,波特率設置 iO口配置,已經過測試
代碼片段和文件信息
#include?“delay.h“
__IO?u16?ntime; ????
void?delay_ms(u16?nms)
{ ? ?? ??
ntime=nms;
SysTick_Config(168000);//1ms產生一次中斷
while(ntime);
SysTick->CTRL=0x00; ?? ????
}???
???? ???
void?delay_us(u32?nus)
{
ntime=nus;
SysTick_Config(168);//1us產生一次中斷
while(ntime);
SysTick->CTRL=0x00;
}
void?Delay(u32?count)
{
while(count--);
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????390??2011-12-25?19:40??UART2\HARDWARE\delay\delay.c
?????文件????????157??2011-12-24?19:54??UART2\HARDWARE\delay\delay.h
?????文件???????2406??2014-01-07?19:31??UART2\HARDWARE\IO\IO.c
?????文件????????165??2014-08-22?17:20??UART2\HARDWARE\IO\IO.h
?????文件????????755??2011-12-24?20:30??UART2\HARDWARE\led\led.c
?????文件????????364??2011-12-24?19:54??UART2\HARDWARE\led\led.h
?????文件???????3078??2014-01-02?20:28??UART2\HARDWARE\uart\uart.c
?????文件????????193??2013-12-30?19:54??UART2\HARDWARE\uart\uart.h
?????文件????????399??2011-12-24?19:54??UART2\keilkilll.bat
?????文件??????16955??2014-12-13?12:03??UART2\OBJ\485.hex
?????文件???????6792??2011-12-24?19:54??UART2\STM32F40X_FWLib\inc\misc.h
?????文件??????32417??2011-12-24?19:54??UART2\STM32F40X_FWLib\inc\stm32f4xx_adc.h
?????文件??????27186??2011-12-24?19:54??UART2\STM32F40X_FWLib\inc\stm32f4xx_can.h
?????文件???????2284??2011-12-24?19:54??UART2\STM32F40X_FWLib\inc\stm32f4xx_crc.h
?????文件??????12528??2011-12-24?19:54??UART2\STM32F40X_FWLib\inc\stm32f4xx_cryp.h
?????文件??????14814??2011-12-24?19:54??UART2\STM32F40X_FWLib\inc\stm32f4xx_dac.h
?????文件???????4164??2011-12-24?19:54??UART2\STM32F40X_FWLib\inc\stm32f4xx_dbgmcu.h
?????文件??????12845??2011-12-24?19:54??UART2\STM32F40X_FWLib\inc\stm32f4xx_dcmi.h
?????文件??????28750??2011-12-24?19:54??UART2\STM32F40X_FWLib\inc\stm32f4xx_dma.h
?????文件???????7880??2011-12-24?19:54??UART2\STM32F40X_FWLib\inc\stm32f4xx_exti.h
?????文件??????14463??2011-12-24?19:54??UART2\STM32F40X_FWLib\inc\stm32f4xx_flash.h
?????文件??????27044??2011-12-24?19:54??UART2\STM32F40X_FWLib\inc\stm32f4xx_fsmc.h
?????文件??????17569??2011-12-24?19:54??UART2\STM32F40X_FWLib\inc\stm32f4xx_gpio.h
?????文件???????8952??2011-12-24?19:54??UART2\STM32F40X_FWLib\inc\stm32f4xx_hash.h
?????文件??????31516??2011-12-24?19:54??UART2\STM32F40X_FWLib\inc\stm32f4xx_i2c.h
?????文件???????4191??2011-12-24?19:54??UART2\STM32F40X_FWLib\inc\stm32f4xx_iwdg.h
?????文件???????6022??2011-12-24?19:54??UART2\STM32F40X_FWLib\inc\stm32f4xx_pwr.h
?????文件??????24742??2011-12-24?19:54??UART2\STM32F40X_FWLib\inc\stm32f4xx_rcc.h
?????文件???????3826??2011-12-24?19:54??UART2\STM32F40X_FWLib\inc\stm32f4xx_rng.h
?????文件??????40414??2011-12-24?19:54??UART2\STM32F40X_FWLib\inc\stm32f4xx_rtc.h
............此處省略62個文件信息
- 上一篇:轉速器盤夾具設計銑直徑9的端面
- 下一篇:基于FPGA技術的自動售貨機控制器設計
評論
共有 條評論