資源簡介
stm32103c8t6ESP8266串口轉WIFI模塊TCP服務器(STA模式)單片機用兩個串口分別給ESP8266發送數據和給電腦打印信息,方便調試和觀測

代碼片段和文件信息
/********************?(C)?COPYRIGHT??源地工作室?********************************
?*?文件名??:delay.c
?*?描述????:嘀嗒定時器實現ms延時,us延時?????
?*?作者????:zhuoyingxingyu
?*?淘寶????:源地工作室http://vcc-gnd.taobao.com/
?*?論壇地址:極客園地-嵌入式開發論壇http://vcc-gnd.com/
?*?版本更新:?2016-04-08
?*?硬件連接:?無
?*?調試方式:J-link-OB
********************************************************************************/
//頭文件
#include?“delay.h“
extern?u16?nTime;
?/**
??*?@file???SYSTICK_Init
??*?@brief??初始化SYSTICK,1us中斷1次
??*?@param??無
??*?@retval?無
??*/
void?SYSTICK_Init(void)
{
/*SystemCoreClock/?1000000:1us中斷1次;SystemCoreClock/?1000:1ms中斷一次*/
??while?(SysTick_Config(SystemCoreClock/1000000));
}
?/**
??*?@file???delay_us
??*?@brief??微妙延時
??*?@param??延時時間
??*?@retval?無
??*/
void?delay_us(u16?nus)
{
??nTime=nus;
??while(nTime);
}
?/**
??*?@file???delay_ms
??*?@brief??毫秒延時
??*?@param??延時時間
??*?@retval?無
??*/
void?delay_ms(u16?nms)
{
??while(nms--)
??delay_us(1000);
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-09-27?09:19??TCP服務器(STA模式)\
?????目錄???????????0??2017-08-29?10:37??TCP服務器(STA模式)\BSP\
?????文件???????13557??2016-04-21?23:39??TCP服務器(STA模式)\BSP\ESP8266.c
?????文件????????1097??2016-04-21?23:39??TCP服務器(STA模式)\BSP\ESP8266.h
?????文件????????1084??2016-04-21?10:39??TCP服務器(STA模式)\BSP\delay.c
?????文件?????????150??2015-10-01?23:01??TCP服務器(STA模式)\BSP\delay.h
?????文件????????2461??2016-04-21?10:39??TCP服務器(STA模式)\BSP\dma.c
?????文件?????????259??2016-03-08?16:39??TCP服務器(STA模式)\BSP\dma.h
?????文件????????1948??2016-04-21?10:39??TCP服務器(STA模式)\BSP\led.c
?????文件?????????747??2015-10-24?14:58??TCP服務器(STA模式)\BSP\led.h
?????文件????????2786??2016-04-21?10:39??TCP服務器(STA模式)\BSP\timer.c
?????文件?????????111??2016-03-08?22:50??TCP服務器(STA模式)\BSP\timer.h
?????文件????????4687??2016-04-21?10:39??TCP服務器(STA模式)\BSP\usart.c
?????文件?????????404??2016-03-08?21:00??TCP服務器(STA模式)\BSP\usart.h
?????文件????????4131??2016-04-21?14:38??TCP服務器(STA模式)\BSP\usart2.c
?????文件?????????673??2016-03-08?22:57??TCP服務器(STA模式)\BSP\usart2.h
?????目錄???????????0??2016-06-05?10:35??TCP服務器(STA模式)\Libraries\
?????目錄???????????0??2017-08-29?10:37??TCP服務器(STA模式)\Libraries\CMSIS\
?????目錄???????????0??2016-06-05?10:35??TCP服務器(STA模式)\Libraries\CMSIS\CM3\
?????目錄???????????0??2017-08-29?10:37??TCP服務器(STA模式)\Libraries\CMSIS\CM3\CoreSupport\
?????文件???????17273??2010-06-07?10:25??TCP服務器(STA模式)\Libraries\CMSIS\CM3\CoreSupport\core_cm3.c
?????文件???????85714??2011-02-09?14:59??TCP服務器(STA模式)\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h
?????目錄???????????0??2016-06-05?10:35??TCP服務器(STA模式)\Libraries\CMSIS\CM3\DeviceSupport\
?????目錄???????????0??2016-06-05?10:35??TCP服務器(STA模式)\Libraries\CMSIS\CM3\DeviceSupport\ST\
?????目錄???????????0??2017-08-29?10:37??TCP服務器(STA模式)\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\
?????文件???????26297??2011-03-14?12:31??TCP服務器(STA模式)\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\Release_Notes.html
?????目錄???????????0??2016-06-05?10:35??TCP服務器(STA模式)\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\
?????目錄???????????0??2017-08-29?10:37??TCP服務器(STA模式)\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\
?????文件???????12604??2011-03-10?10:54??TCP服務器(STA模式)\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\startup_stm32f10x_cl.s
?????文件???????12592??2011-03-10?10:53??TCP服務器(STA模式)\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\startup_stm32f10x_hd.s
?????文件???????12239??2011-03-10?10:53??TCP服務器(STA模式)\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\startup_stm32f10x_hd_vl.s
............此處省略239個文件信息
- 上一篇:歷屆網絡工程師考試真題及答案
- 下一篇:EDA課程設計大全,很多完整的課程設計
評論
共有 條評論