資源簡介
STM32F103RC 驅(qū)動(dòng)W5500,HTTP請(qǐng)求方式下載文件的測試代碼,僅供參考。

代碼片段和文件信息
/**
??******************************************************************************
??*?@file????misc.c
??*?@author??MCD?Application?Team
??*?@version?V3.5.0
??*?@date????11-March-2011
??*?@brief???This?file?provides?all?the?miscellaneous?firmware?functions?(add-on
??*??????????to?CMSIS?functions).
??******************************************************************************
??*?@attention
??*
??*?THE?PRESENT?FIRMWARE?WHICH?IS?FOR?GUIDANCE?ONLY?AIMS?AT?PROVIDING?CUSTOMERS
??*?WITH?CODING?INFORMATION?REGARDING?THEIR?PRODUCTS?IN?ORDER?FOR?THEM?TO?SAVE
??*?TIME.?AS?A?RESULT?STMICROELECTRONICS?SHALL?NOT?BE?HELD?LIABLE?FOR?ANY
??*?DIRECT?INDIRECT?OR?CONSEQUENTIAL?DAMAGES?WITH?RESPECT?TO?ANY?CLAIMS?ARISING
??*?FROM?THE?CONTENT?OF?SUCH?FIRMWARE?AND/OR?THE?USE?MADE?BY?CUSTOMERS?OF?THE
??*?CODING?INFORMATION?CONTAINED?HEREIN?IN?CONNECTION?WITH?THEIR?PRODUCTS.
??*
??*?©?COPYRIGHT?2011?STMicroelectronics
??******************************************************************************
??*/
/*?Includes?------------------------------------------------------------------*/
#include?“misc.h“
/**?@addtogroup?STM32F10x_StdPeriph_Driver
??*?@{
??*/
/**?@defgroup?MISC?
??*?@brief?MISC?driver?modules
??*?@{
??*/
/**?@defgroup?MISC_Private_TypesDefinitions
??*?@{
??*/
/**
??*?@}
??*/?
/**?@defgroup?MISC_Private_Defines
??*?@{
??*/
#define?AIRCR_VECTKEY_MASK????((uint32_t)0x05FA0000)
/**
??*?@}
??*/
/**?@defgroup?MISC_Private_Macros
??*?@{
??*/
/**
??*?@}
??*/
/**?@defgroup?MISC_Private_Variables
??*?@{
??*/
/**
??*?@}
??*/
/**?@defgroup?MISC_Private_FunctionPrototypes
??*?@{
??*/
/**
??*?@}
??*/
/**?@defgroup?MISC_Private_Functions
??*?@{
??*/
/**
??*?@brief??Configures?the?priority?grouping:?pre-emption?priority?and?subpriority.
??*?@param??NVIC_PriorityGroup:?specifies?the?priority?grouping?bits?length.?
??*???This?parameter?can?be?one?of?the?following?values:
??*?????@arg?NVIC_PriorityGroup_0:?0?bits?for?pre-emption?priority
??*????????????????????????????????4?bits?for?subpriority
??*?????@arg?NVIC_PriorityGroup_1:?1?bits?for?pre-emption?priority
??*????????????????????????????????3?bits?for?subpriority
??*?????@arg?NVIC_PriorityGroup_2:?2?bits?for?pre-emption?priority
??*????????????????????????????????2?bits?for?subpriority
??*?????@arg?NVIC_PriorityGroup_3:?3?bits?for?pre-emption?priority
??*????????????????????????????????1?bits?for?subpriority
??*?????@arg?NVIC_PriorityGroup_4:?4?bits?for?pre-emption?priority
??*????????????????????????????????0?bits?for?subpriority
??*?@retval?None
??*/
void?NVIC_PriorityGroupConfig(uint32_t?NVIC_PriorityGroup)
{
??/*?Check?the?parameters?*/
??assert_param(IS_NVIC_PRIORITY_GROUP(NVIC_PriorityGroup));
??
??/*?Set?the?PRIGROUP[10:8]?bits?according?to?NVIC_PriorityGroup?value?*/
??SCB->AIRCR?=?AIRCR_VECTKEY_MASK?|?NVIC_PriorityGroup;
}
/**
??*?@brief??Initializes?the?NVIC?p
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件???????2403??2017-11-23?15:41??31_HTTPC_Download_File\DebugConfig\download_bin_STM32F103RC_1.0.0.dbgconf
?????文件???????2403??2017-11-23?15:41??31_HTTPC_Download_File\DebugConfig\Target_1_STM32F103RC_1.0.0.dbgconf
????.......????141728??2020-04-14?00:24??31_HTTPC_Download_File\download_bin.uvguix.Administrator
????.......?????23739??2020-04-13?15:55??31_HTTPC_Download_File\download_bin.uvoptx
????.......?????22791??2020-04-13?00:22??31_HTTPC_Download_File\download_bin.uvprojx
?????文件???????8982??2019-05-13?17:12??31_HTTPC_Download_File\Library\inc\misc.h
?????文件??????21690??2019-05-13?17:12??31_HTTPC_Download_File\Library\inc\stm32f10x_adc.h
?????文件???????7555??2019-05-13?17:12??31_HTTPC_Download_File\Library\inc\stm32f10x_bkp.h
?????文件??????27559??2019-05-13?17:12??31_HTTPC_Download_File\Library\inc\stm32f10x_can.h
?????文件???????6573??2019-05-13?17:12??31_HTTPC_Download_File\Library\inc\stm32f10x_cec.h
?????文件???????2162??2019-05-13?17:12??31_HTTPC_Download_File\Library\inc\stm32f10x_crc.h
?????文件??????15233??2019-05-13?17:12??31_HTTPC_Download_File\Library\inc\stm32f10x_dac.h
?????文件???????3818??2019-05-13?17:12??31_HTTPC_Download_File\Library\inc\stm32f10x_dbgmcu.h
?????文件??????20754??2019-05-13?17:12??31_HTTPC_Download_File\Library\inc\stm32f10x_dma.h
?????文件???????6824??2019-05-13?17:12??31_HTTPC_Download_File\Library\inc\stm32f10x_exti.h
?????文件??????25445??2019-05-13?17:12??31_HTTPC_Download_File\Library\inc\stm32f10x_flash.h
?????文件??????27016??2019-05-13?17:12??31_HTTPC_Download_File\Library\inc\stm32f10x_fsmc.h
?????文件??????20175??2019-05-13?17:12??31_HTTPC_Download_File\Library\inc\stm32f10x_gpio.h
?????文件??????30029??2019-05-13?17:12??31_HTTPC_Download_File\Library\inc\stm32f10x_i2c.h
?????文件???????3828??2019-05-13?17:12??31_HTTPC_Download_File\Library\inc\stm32f10x_iwdg.h
?????文件???????4383??2019-05-13?17:12??31_HTTPC_Download_File\Library\inc\stm32f10x_pwr.h
?????文件??????30452??2019-05-13?17:12??31_HTTPC_Download_File\Library\inc\stm32f10x_rcc.h
?????文件???????3857??2019-05-13?17:12??31_HTTPC_Download_File\Library\inc\stm32f10x_rtc.h
?????文件??????21863??2019-05-13?17:12??31_HTTPC_Download_File\Library\inc\stm32f10x_sdio.h
?????文件??????17725??2019-05-13?17:12??31_HTTPC_Download_File\Library\inc\stm32f10x_spi.h
?????文件??????52427??2019-05-13?17:12??31_HTTPC_Download_File\Library\inc\stm32f10x_tim.h
?????文件??????16548??2019-05-13?17:12??31_HTTPC_Download_File\Library\inc\stm32f10x_usart.h
?????文件???????2966??2019-05-13?17:12??31_HTTPC_Download_File\Library\inc\stm32f10x_wwdg.h
?????文件???????7046??2019-05-13?17:12??31_HTTPC_Download_File\Library\src\misc.c
?????文件??????47201??2019-05-13?17:12??31_HTTPC_Download_File\Library\src\stm32f10x_adc.c
............此處省略195個(gè)文件信息
評(píng)論
共有 條評(píng)論