資源簡介
STM32CubeMX 串口 DMA+空閑中斷實現不定長接收 利用hal庫進行修改實現不定長的uart接收,應用于不定長幀的傳輸

代碼片段和文件信息
/**
??******************************************************************************
??*?@file????stm32f3xx_hal.c
??*?@author??MCD?Application?Team
??*?@brief???HAL?module?driver.
??*??????????This?is?the?common?part?of?the?HAL?initialization
??*
??@verbatim
??==============================================================================
?????????????????????#####?How?to?use?this?driver?#####
??==============================================================================
????[..]
????The?common?HAL?driver?contains?a?set?of?generic?and?common?APIs?that?can?be
????used?by?the?PPP?peripheral?drivers?and?the?user?to?start?using?the?HAL.
????[..]
????The?HAL?contains?two?APIs?categories:
?????????(+)?HAL?Initialization?and?de-initialization?functions
?????????(+)?HAL?Control?functions
??@endverbatim
??******************************************************************************
??*?@attention
??*
??*?©?COPYRIGHT(c)?2016?STMicroelectronics
??*
??*?Redistribution?and?use?in?source?and?binary?forms?with?or?without?modification
??*?are?permitted?provided?that?the?following?conditions?are?met:
??*???1.?Redistributions?of?source?code?must?retain?the?above?copyright?notice
??*??????this?list?of?conditions?and?the?following?disclaimer.
??*???2.?Redistributions?in?binary?form?must?reproduce?the?above?copyright?notice
??*??????this?list?of?conditions?and?the?following?disclaimer?in?the?documentation
??*??????and/or?other?materials?provided?with?the?distribution.
??*???3.?Neither?the?name?of?STMicroelectronics?nor?the?names?of?its?contributors
??*??????may?be?used?to?endorse?or?promote?products?derived?from?this?software
??*??????without?specific?prior?written?permission.
??*
??*?THIS?SOFTWARE?IS?PROVIDED?BY?THE?COPYRIGHT?HOLDERS?AND?CONTRIBUTORS?“AS?IS“
??*?AND?ANY?EXPRESS?OR?IMPLIED?WARRANTIES?INCLUDING?BUT?NOT?LIMITED?TO?THE
??*?IMPLIED?WARRANTIES?OF?MERCHANTABILITY?AND?FITNESS?FOR?A?PARTICULAR?PURPOSE?ARE
??*?DISCLAIMED.?IN?NO?EVENT?SHALL?THE?COPYRIGHT?HOLDER?OR?CONTRIBUTORS?BE?LIABLE
??*?FOR?ANY?DIRECT?INDIRECT?INCIDENTAL?SPECIAL?EXEMPLARY?OR?CONSEQUENTIAL
??*?DAMAGES?(INCLUDING?BUT?NOT?LIMITED?TO?PROCUREMENT?OF?SUBSTITUTE?GOODS?OR
??*?SERVICES;?LOSS?OF?USE?DATA?OR?PROFITS;?OR?BUSINESS?INTERRUPTION)?HOWEVER
??*?CAUSED?AND?ON?ANY?THEORY?OF?LIABILITY?WHETHER?IN?CONTRACT?STRICT?LIABILITY
??*?OR?TORT?(INCLUDING?NEGLIGENCE?OR?OTHERWISE)?ARISING?IN?ANY?WAY?OUT?OF?THE?USE
??*?OF?THIS?SOFTWARE?EVEN?IF?ADVISED?OF?THE?POSSIBILITY?OF?SUCH?DAMAGE.
??*
??******************************************************************************??
??*/
/*?Includes?------------------------------------------------------------------*/
#include?“stm32f3xx_hal.h“
/**?@addtogroup?STM32F3xx_HAL_Driver
??*?@{
??*/
/**?@defgroup?HAL?HAL
??*?@brief?HAL?module?driver.
??*?@{
??*/
#ifdef?HAL_MODULE_ENABLED
/*?Private?typedef?--------------------------------------------------
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????4523??2018-03-09?09:01??USART\.mxproject
?????文件????1306863??2017-12-25?15:45??USART\Drivers\CMSIS\Device\ST\STM32F3xx\Include\stm32f303xe.h
?????文件???????9198??2017-12-25?15:45??USART\Drivers\CMSIS\Device\ST\STM32F3xx\Include\stm32f3xx.h
?????文件???????3746??2017-12-25?15:45??USART\Drivers\CMSIS\Device\ST\STM32F3xx\Include\system_stm32f3xx.h
?????文件???????7265??2017-12-25?15:45??USART\Drivers\CMSIS\Include\arm_common_tables.h
?????文件???????3942??2017-12-25?15:45??USART\Drivers\CMSIS\Include\arm_const_structs.h
?????文件?????252339??2017-12-25?15:45??USART\Drivers\CMSIS\Include\arm_math.h
?????文件??????24423??2017-12-25?15:45??USART\Drivers\CMSIS\Include\cmsis_armcc.h
?????文件??????55083??2017-12-25?15:45??USART\Drivers\CMSIS\Include\cmsis_armcc_V6.h
?????文件??????41435??2017-12-25?15:45??USART\Drivers\CMSIS\Include\cmsis_gcc.h
?????文件??????37218??2017-12-25?15:45??USART\Drivers\CMSIS\Include\core_cm0.h
?????文件??????44796??2017-12-25?15:45??USART\Drivers\CMSIS\Include\core_cm0plus.h
?????文件?????103909??2017-12-25?15:45??USART\Drivers\CMSIS\Include\core_cm3.h
?????文件?????114498??2017-12-25?15:45??USART\Drivers\CMSIS\Include\core_cm4.h
?????文件?????139660??2017-12-25?15:45??USART\Drivers\CMSIS\Include\core_cm7.h
?????文件???????3620??2017-12-25?15:45??USART\Drivers\CMSIS\Include\core_cmFunc.h
?????文件???????3636??2017-12-25?15:45??USART\Drivers\CMSIS\Include\core_cmInstr.h
?????文件???????3662??2017-12-25?15:45??USART\Drivers\CMSIS\Include\core_cmSimd.h
?????文件??????45262??2017-12-25?15:45??USART\Drivers\CMSIS\Include\core_sc000.h
?????文件?????102809??2017-12-25?15:45??USART\Drivers\CMSIS\Include\core_sc300.h
?????文件?????179094??2017-12-25?15:45??USART\Drivers\STM32F3xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h
?????文件??????55305??2017-12-25?15:45??USART\Drivers\STM32F3xx_HAL_Driver\Inc\stm32f3xx_hal.h
?????文件??????19134??2017-12-25?15:45??USART\Drivers\STM32F3xx_HAL_Driver\Inc\stm32f3xx_hal_cortex.h
?????文件???????7502??2017-12-25?15:45??USART\Drivers\STM32F3xx_HAL_Driver\Inc\stm32f3xx_hal_def.h
?????文件??????19725??2017-12-25?15:45??USART\Drivers\STM32F3xx_HAL_Driver\Inc\stm32f3xx_hal_dma.h
?????文件??????14014??2017-12-25?15:45??USART\Drivers\STM32F3xx_HAL_Driver\Inc\stm32f3xx_hal_dma_ex.h
?????文件??????12839??2017-12-25?15:45??USART\Drivers\STM32F3xx_HAL_Driver\Inc\stm32f3xx_hal_flash.h
?????文件??????22603??2017-12-25?15:45??USART\Drivers\STM32F3xx_HAL_Driver\Inc\stm32f3xx_hal_flash_ex.h
?????文件??????13533??2017-12-25?15:45??USART\Drivers\STM32F3xx_HAL_Driver\Inc\stm32f3xx_hal_gpio.h
?????文件??????79108??2017-12-25?15:45??USART\Drivers\STM32F3xx_HAL_Driver\Inc\stm32f3xx_hal_gpio_ex.h
............此處省略159個文件信息
- 上一篇:數字孿生城市
- 下一篇:校園門戶網站靜態頁面
評論
共有 條評論