資源簡介
demo3,使用串口中斷,在中斷完成收發(fā),提高效率。取消用特殊標識符作為接收完成的標志。使用超時判斷。(一個字節(jié)一個字節(jié)接收,每次接收計數(shù)值清零,當停止接收后,計數(shù)值不再清零,超過預設值就代表接收完成)
代碼片段和文件信息
/**
??******************************************************************************
??*?@file????system_stm32f4xx.c
??*?@author??MCD?Application?Team
??*?@version?V1.7.0
??*?@date????22-April-2016
??*?@brief???CMSIS?Cortex-M4?Device?Peripheral?Access?layer?System?Source?File.
??*??????????This?file?contains?the?system?clock?configuration?for?STM32F4xx?devices.
??*?????????????
??*?1.??This?file?provides?two?functions?and?one?global?variable?to?be?called?from?
??*?????user?application:
??*??????-?SystemInit():?Setups?the?system?clock?(System?clock?source?PLL?Multiplier
??*??????????????????????and?Divider?factors?AHB/APBx?prescalers?and?Flash?settings)
??*??????????????????????depending?on?the?configuration?made?in?the?clock?xls?tool.?
??*??????????????????????This?functio
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-02-18?10:59??串口中斷接收字符串-超時\
?????目錄???????????0??2018-11-09?16:48??串口中斷接收字符串-超時\CMSIS\
?????目錄???????????0??2018-11-09?16:48??串口中斷接收字符串-超時\CMSIS\Include\
?????文件????????7253??2016-05-19?01:08??串口中斷接收字符串-超時\CMSIS\Include\arm_common_tables.h
?????文件????????3942??2016-05-19?01:09??串口中斷接收字符串-超時\CMSIS\Include\arm_const_structs.h
?????文件??????252177??2016-05-19?01:08??串口中斷接收字符串-超時\CMSIS\Include\arm_math.h
?????文件???????36181??2016-05-19?01:08??串口中斷接收字符串-超時\CMSIS\Include\core_cm0.h
?????文件???????43812??2016-05-19?01:09??串口中斷接收字符串-超時\CMSIS\Include\core_cm0plus.h
?????文件??????103865??2016-05-19?01:08??串口中斷接收字符串-超時\CMSIS\Include\core_cm3.h
?????文件??????114403??2016-05-19?01:09??串口中斷接收字符串-超時\CMSIS\Include\core_cm4.h
?????文件??????138654??2016-05-19?01:09??串口中斷接收字符串-超時\CMSIS\Include\core_cm7.h
?????文件???????18323??2016-05-19?01:08??串口中斷接收字符串-超時\CMSIS\Include\core_cmFunc.h
?????文件???????27908??2016-05-19?01:08??串口中斷接收字符串-超時\CMSIS\Include\core_cmInstr.h
?????文件???????22947??2016-05-19?01:08??串口中斷接收字符串-超時\CMSIS\Include\core_cmSimd.h
?????文件???????44330??2016-05-19?01:09??串口中斷接收字符串-超時\CMSIS\Include\core_sc000.h
?????文件??????102775??2016-05-19?01:08??串口中斷接收字符串-超時\CMSIS\Include\core_sc300.h
?????文件???????29604??2018-09-17?17:46??串口中斷接收字符串-超時\CMSIS\startup_stm32f40_41xxx.s
?????文件??????919428??2016-05-19?01:12??串口中斷接收字符串-超時\CMSIS\stm32f4xx.h
?????文件????????5851??2016-11-09?02:19??串口中斷接收字符串-超時\CMSIS\stm32f4xx_conf.h
?????文件???????60305??2016-05-19?01:12??串口中斷接收字符串-超時\CMSIS\system_stm32f4xx.c
?????文件????????2232??2016-05-19?01:12??串口中斷接收字符串-超時\CMSIS\system_stm32f4xx.h
?????目錄???????????0??2018-11-09?16:48??串口中斷接收字符串-超時\DebugConfig\
?????文件????????2084??2015-10-27?12:06??串口中斷接收字符串-超時\DebugConfig\Target_1_STM32F407ZGTx.dbgconf
?????文件????????2084??2015-10-27?12:06??串口中斷接收字符串-超時\DebugConfig\demo_STM32F407ZGTx.dbgconf
?????目錄???????????0??2019-02-18?11:33??串口中斷接收字符串-超時\Listings\
?????目錄???????????0??2018-11-09?17:01??串口中斷接收字符串-超時\ob
?????文件???????15605??2018-11-09?17:01??串口中斷接收字符串-超時\ob
?????目錄???????????0??2018-11-09?16:48??串口中斷接收字符串-超時\STM32F4xx_StdPeriph_Driver\
?????文件??????122631??2016-11-09?02:18??串口中斷接收字符串-超時\STM32F4xx_StdPeriph_Driver\Release_Notes.html
?????目錄???????????0??2018-11-09?16:48??串口中斷接收字符串-超時\STM32F4xx_StdPeriph_Driver\inc\
?????文件????????6926??2016-11-05?01:33??串口中斷接收字符串-超時\STM32F4xx_StdPeriph_Driver\inc\misc.h
............此處省略114個文件信息
評論
共有 條評論