├── Hal ├── adc.c ├── adc.h ├── delay.c ├── delay.h ├── main.h ├── srf05.c ├── srf05.h ├── tim2.c ├── tim2.h ├── usart1.c ├── usart1.h ├── usart2.c └── usart2.h ├── Libraries ├── CMSIS │ ├── core_cm3.c │ ├── core_cm3.h │ ├── startup │ │ └── arm │ │ │ ├── startup_stm32f10x_cl.s │ │ │ ├── startup_stm32f10x_hd.s │ │ │ ├── startup_stm32f10x_hd_vl.s │ │ │ ├── startup_stm32f10x_ld.s │ │ │ ├── startup_stm32f10x_ld.s.bak │ │ │ ├── startup_stm32f10x_ld_vl.s │ │ │ ├── startup_stm32f10x_md.s │ │ │ ├── startup_stm32f10x_md_vl.s │ │ │ └── startup_stm32f10x_xl.s │ ├── stm32f10x.h │ ├── system_stm32f10x.c │ └── system_stm32f10x.h └── STM32F10x_StdPeriph_Driver │ ├── Release_Notes.html │ ├── inc │ ├── misc.h │ ├── stm32f10x_adc.h │ ├── stm32f10x_bkp.h │ ├── stm32f10x_can.h │ ├── stm32f10x_cec.h │ ├── stm32f10x_crc.h │ ├── stm32f10x_dac.h │ ├── stm32f10x_dbgmcu.h │ ├── stm32f10x_dma.h │ ├── stm32f10x_exti.h │ ├── stm32f10x_flash.h │ ├── stm32f10x_fsmc.h │ ├── stm32f10x_gpio.h │ ├── stm32f10x_i2c.h │ ├── stm32f10x_iwdg.h │ ├── stm32f10x_pwr.h │ ├── stm32f10x_rcc.h │ ├── stm32f10x_rtc.h │ ├── stm32f10x_sdio.h │ ├── stm32f10x_spi.h │ ├── stm32f10x_tim.h │ ├── stm32f10x_usart.h │ └── stm32f10x_wwdg.h │ └── src │ ├── misc.c │ ├── stm32f10x_adc.c │ ├── stm32f10x_bkp.c │ ├── stm32f10x_can.c │ ├── stm32f10x_cec.c │ ├── stm32f10x_crc.c │ ├── stm32f10x_dac.c │ ├── stm32f10x_dbgmcu.c │ ├── stm32f10x_dma.c │ ├── stm32f10x_exti.c │ ├── stm32f10x_flash.c │ ├── stm32f10x_fsmc.c │ ├── stm32f10x_gpio.c │ ├── stm32f10x_i2c.c │ ├── stm32f10x_iwdg.c │ ├── stm32f10x_pwr.c │ ├── stm32f10x_rcc.c │ ├── stm32f10x_rtc.c │ ├── stm32f10x_sdio.c │ ├── stm32f10x_spi.c │ ├── stm32f10x_tim.c │ ├── stm32f10x_usart.c │ └── stm32f10x_wwdg.c ├── Network └── esp8266 │ ├── esp8266.c │ └── esp8266.h ├── Project ├── HttpDemo.map ├── HttpDemo.uvgui.71579 ├── HttpDemo.uvgui_71579.bak ├── HttpDemo.uvopt ├── HttpDemo.uvproj ├── HttpDemo_HttpDemo.dep ├── HttpDemo_uvopt.bak ├── HttpDemo_uvproj.bak ├── JLinkLog.txt ├── JLinkSettings.ini └── startup_stm32f10x_hd.lst ├── Protocol └── http │ ├── HTTP_Demo.c │ └── HTTP_Demo.h ├── User ├── main.c ├── stm32f10x_conf.h ├── stm32f10x_it.c └── stm32f10x_it.h ├── Utils ├── utils.c └── utils.h └── object ├── HttpDemo.axf ├── HttpDemo.hex ├── HttpDemo.htm ├── HttpDemo.lnp ├── HttpDemo.plg ├── HttpDemo.sct ├── HttpDemo.tra ├── adc.crf ├── adc.d ├── adc.o ├── cjson.__i ├── cjson.crf ├── cjson.d ├── cjson.o ├── core_cm3.crf ├── core_cm3.d ├── core_cm3.o ├── delay.crf ├── delay.d ├── delay.o ├── edpdemo.__i ├── edpdemo.crf ├── edpdemo.d ├── edpdemo.o ├── edpkit.crf ├── edpkit.d ├── edpkit.o ├── esp8266.crf ├── esp8266.d ├── esp8266.o ├── gpio.__i ├── gpio.crf ├── gpio.d ├── gpio.o ├── hal_i2c.crf ├── hal_i2c.d ├── hal_i2c.o ├── http_demo.crf ├── http_demo.d ├── http_demo.o ├── led.crf ├── led.d ├── led.o ├── main.crf ├── main.d ├── main.o ├── misc.crf ├── misc.d ├── misc.o ├── onenetdemo_sct.Bak ├── ringbuffer.__i ├── ringbuffer.crf ├── ringbuffer.d ├── ringbuffer.o ├── sht20.crf ├── sht20.d ├── sht20.o ├── srf05.crf ├── srf05.d ├── srf05.o ├── startup_stm32f10x_hd.d ├── startup_stm32f10x_hd.o ├── stm32f10x_adc.crf ├── stm32f10x_adc.d ├── stm32f10x_adc.o ├── stm32f10x_dma.crf ├── stm32f10x_dma.d ├── stm32f10x_dma.o ├── stm32f10x_exti.crf ├── stm32f10x_exti.d ├── stm32f10x_exti.o ├── stm32f10x_flash.crf ├── stm32f10x_flash.d ├── stm32f10x_flash.o ├── stm32f10x_gpio.crf ├── stm32f10x_gpio.d ├── stm32f10x_gpio.o ├── stm32f10x_i2c.crf ├── stm32f10x_i2c.d ├── stm32f10x_i2c.o ├── stm32f10x_it.crf ├── stm32f10x_it.d ├── stm32f10x_it.o ├── stm32f10x_rcc.crf ├── stm32f10x_rcc.d ├── stm32f10x_rcc.o ├── stm32f10x_tim.crf ├── stm32f10x_tim.d ├── stm32f10x_tim.o ├── stm32f10x_usart.crf ├── stm32f10x_usart.d ├── stm32f10x_usart.o ├── system_stm32f10x.crf ├── system_stm32f10x.d ├── system_stm32f10x.o ├── tim2.crf ├── tim2.d ├── tim2.o ├── usart1.crf ├── usart1.d ├── usart1.o ├── usart2.crf ├── usart2.d ├── usart2.o ├── utils.crf ├── utils.d └── utils.o /Hal/adc.c: -------------------------------------------------------------------------------- 1 | #include "adc.h" 2 | 3 | #define ADC1_DR_Address ((u32)0x4001244C) 4 | 5 | extern volatile unsigned int adcConvertedValue = 0; 6 | 7 | void ADC_Config(void) 8 | { 9 | RCC_Configuration(); 10 | GPIO_Configuration(); 11 | ADC_Configuration(); 12 | DMA_Configuration(); 13 | } 14 | 15 | void RCC_Configuration(void) 16 | { 17 | RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOC, ENABLE); 18 | RCC_AHBPeriphClockCmd(RCC_AHBPeriph_DMA1, ENABLE); 19 | RCC_APB2PeriphClockCmd(RCC_APB2Periph_ADC1, ENABLE); 20 | RCC_ADCCLKConfig(RCC_PCLK2_Div6); 21 | } 22 | 23 | void GPIO_Configuration(void) 24 | { 25 | GPIO_InitTypeDef GPIOInitStructure; 26 | 27 | GPIOInitStructure.GPIO_Pin = GPIO_Pin_3; 28 | GPIOInitStructure.GPIO_Mode = GPIO_Mode_AIN; 29 | GPIOInitStructure.GPIO_Speed = GPIO_Speed_2MHz; 30 | 31 | GPIO_Init(GPIOC, &GPIOInitStructure); 32 | } 33 | 34 | void ADC_Configuration(void) 35 | { 36 | ADC_InitTypeDef ADCInitStructure; 37 | 38 | ADCInitStructure.ADC_Mode = ADC_Mode_Independent; 39 | ADCInitStructure.ADC_ScanConvMode = ENABLE; 40 | ADCInitStructure.ADC_ContinuousConvMode = ENABLE; 41 | ADCInitStructure.ADC_ExternalTrigConv = ADC_ExternalTrigConv_None; 42 | ADCInitStructure.ADC_DataAlign = ADC_DataAlign_Right; 43 | ADCInitStructure.ADC_NbrOfChannel = 1; 44 | 45 | ADC_Init(ADC1, &ADCInitStructure); 46 | 47 | ADC_RegularChannelConfig(ADC1, ADC_Channel_13, 1, ADC_SampleTime_55Cycles5); 48 | ADC_DMACmd(ADC1, ENABLE); 49 | ADC_Cmd(ADC1, ENABLE); 50 | 51 | ADC_ResetCalibration(ADC1); 52 | while(ADC_GetResetCalibrationStatus(ADC1)); 53 | 54 | ADC_StartCalibration(ADC1); 55 | while(ADC_GetCalibrationStatus(ADC1)); 56 | 57 | ADC_SoftwareStartConvCmd(ADC1, ENABLE); 58 | } 59 | 60 | void DMA_Configuration(void) 61 | { 62 | DMA_InitTypeDef DMAInitStructure; 63 | 64 | DMA_DeInit(DMA1_Channel1); 65 | 66 | DMAInitStructure.DMA_PeripheralBaseAddr = ADC1_DR_Address; 67 | DMAInitStructure.DMA_MemoryBaseAddr = (u32)&adcConvertedValue; 68 | DMAInitStructure.DMA_DIR = DMA_DIR_PeripheralSRC; 69 | DMAInitStructure.DMA_BufferSize = 1; 70 | DMAInitStructure.DMA_PeripheralInc = DMA_PeripheralInc_Disable; 71 | DMAInitStructure.DMA_MemoryInc = DMA_MemoryInc_Disable; 72 | DMAInitStructure.DMA_PeripheralDataSize = DMA_PeripheralDataSize_HalfWord; 73 | DMAInitStructure.DMA_MemoryDataSize = DMA_MemoryDataSize_HalfWord; 74 | DMAInitStructure.DMA_Mode = DMA_Mode_Circular; 75 | DMAInitStructure.DMA_Priority = DMA_Priority_High; 76 | DMAInitStructure.DMA_M2M = DMA_M2M_Disable; 77 | 78 | DMA_Init(DMA1_Channel1, &DMAInitStructure); 79 | DMA_Cmd(DMA1_Channel1, ENABLE); 80 | } 81 | -------------------------------------------------------------------------------- /Hal/adc.h: -------------------------------------------------------------------------------- 1 | #ifndef _ADC_H_ 2 | #define _ADC_H_ 3 | 4 | #include "stm32f10x.h" 5 | #include 6 | #include "stm32f10x_dma.h" 7 | 8 | extern void ADC_Config(void); 9 | 10 | void RCC_Configuration(void); 11 | 12 | void GPIO_Configuration(void); 13 | 14 | void ADC_Configuration(void); 15 | 16 | void DMA_Configuration(void); 17 | 18 | extern volatile unsigned int adcConvertedValue; 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /Hal/delay.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/Hal/delay.c -------------------------------------------------------------------------------- /Hal/delay.h: -------------------------------------------------------------------------------- 1 | #ifndef _DELAY_H_ 2 | #define _DELAY_H_ 3 | 4 | void Delay_Init(void); 5 | 6 | void DelayUs(unsigned short us); 7 | 8 | void DelayXms(unsigned short ms); 9 | 10 | void DelayMs(unsigned short ms); 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /Hal/main.h: -------------------------------------------------------------------------------- 1 | #ifndef MAIN_H_H 2 | #define MAIN_H_H 3 | 4 | extern volatile int a_a; 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /Hal/srf05.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/Hal/srf05.c -------------------------------------------------------------------------------- /Hal/srf05.h: -------------------------------------------------------------------------------- 1 | #ifndef _SRF05_H_ 2 | #define _SRF05_H_ 3 | 4 | #include "delay.h" 5 | #include "tim2.h" 6 | 7 | #define TRIG_PORT GPIOC 8 | #define ECHO_PORT GPIOC 9 | #define TRIG_PIN GPIO_Pin_0 10 | #define ECHO_PIN GPIO_Pin_1 11 | 12 | extern void SRF05_Init(void); 13 | 14 | extern int SRF05_StartMeasure(void); 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /Hal/tim2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/Hal/tim2.c -------------------------------------------------------------------------------- /Hal/tim2.h: -------------------------------------------------------------------------------- 1 | #ifndef _TIM2_H_ 2 | #define _TIM2_H_ 3 | 4 | #include "stm32f10x.h" 5 | 6 | extern void TIM2_NVIC_Configuration(void); 7 | 8 | extern void TIM2_Configuration(void); 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /Hal/usart1.c: -------------------------------------------------------------------------------- 1 | #include "stm32f10x.h" 2 | #include "stm32f10x_usart.h" 3 | #include "stm32f10x_exti.h" 4 | #include "misc.h" 5 | #include "usart1.h" 6 | #include 7 | unsigned char usart1_rcv_buf[512]; 8 | volatile unsigned int usart1_rcv_len = 0; 9 | volatile unsigned int usart1_rcv_flag = 0; 10 | volatile unsigned int usart1_rcv_start = 0; 11 | 12 | /* 13 | * @brief USART1初始化 14 | */ 15 | void USART1_Config(void) 16 | { 17 | GPIO_InitTypeDef GPIO_InitStructure; 18 | USART_InitTypeDef USART_InitStructure; 19 | NVIC_InitTypeDef NVIC_InitStructure; 20 | 21 | /* config USART1 clock */ 22 | RCC_APB2PeriphClockCmd(RCC_APB2Periph_USART1 | RCC_APB2Periph_GPIOA, ENABLE); 23 | 24 | /* USART1 GPIO config */ 25 | /* Set PA9 PA10 as UART1 */ 26 | /* Configure USART1 Tx (PA.09) as alternate function push-pull */ 27 | GPIO_InitStructure.GPIO_Pin = GPIO_Pin_9; 28 | GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; 29 | GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; 30 | GPIO_Init(GPIOA, &GPIO_InitStructure); 31 | /* Configure USART1 Rx (PA.10) as input floating */ 32 | GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10; 33 | GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING; 34 | GPIO_Init(GPIOA, &GPIO_InitStructure); 35 | 36 | /* USART1 mode config */ 37 | USART_InitStructure.USART_BaudRate = 115200; 38 | USART_InitStructure.USART_WordLength = USART_WordLength_8b; 39 | USART_InitStructure.USART_StopBits = USART_StopBits_1; 40 | USART_InitStructure.USART_Parity = USART_Parity_No ; 41 | USART_InitStructure.USART_HardwareFlowControl = USART_HardwareFlowControl_None; 42 | USART_InitStructure.USART_Mode = USART_Mode_Rx | USART_Mode_Tx; 43 | USART_Init(USART1, &USART_InitStructure); 44 | USART_Cmd(USART1, ENABLE); 45 | 46 | //Enable usart1 receive interrupt 47 | USART_ITConfig(USART1, USART_IT_RXNE, DISABLE); 48 | 49 | NVIC_InitStructure.NVIC_IRQChannel = USART1_IRQn; 50 | NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 1; 51 | NVIC_InitStructure.NVIC_IRQChannelSubPriority = 1; 52 | NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE; 53 | NVIC_Init(&NVIC_InitStructure); 54 | } 55 | 56 | /* 57 | * @brief USART1串口发送api 58 | */ 59 | void usart1_write(USART_TypeDef* USARTx, uint8_t *Data, uint8_t len) 60 | { 61 | uint8_t i; 62 | 63 | for(i = 0; i < len; i++) 64 | { 65 | USART_SendData(USARTx, *Data++); 66 | while( USART_GetFlagStatus(USARTx, USART_FLAG_TC) == RESET ); 67 | } 68 | } 69 | 70 | /*使用u-lib进行printf打印的实现,需要选择use u-lib*/ 71 | #ifdef __GNUC__ 72 | #define PUTCHAR_PROTOTYPE int __io_putchar(int ch) 73 | #else 74 | #define PUTCHAR_PROTOTYPE int fputc(int ch, FILE *f) 75 | #endif /* __GNUC__ */ 76 | 77 | PUTCHAR_PROTOTYPE 78 | { 79 | //Place your implementation of fputc here , e.g. write a character to the USART 80 | USART_SendData(USART1, (u8)ch); 81 | //Loop until the end of transmission 82 | while (USART_GetFlagStatus(USART1, USART_FLAG_TXE) == RESET); 83 | return ch; 84 | } 85 | -------------------------------------------------------------------------------- /Hal/usart1.h: -------------------------------------------------------------------------------- 1 | #ifndef USART1_H_H 2 | #define USART1_H_H 3 | 4 | extern void USART1_Config(void); 5 | extern void usart1_write(USART_TypeDef* USARTx, uint8_t *Data, uint8_t len); 6 | 7 | extern unsigned char usart1_rcv_buf[512]; 8 | extern volatile unsigned int usart1_rcv_len; 9 | extern volatile unsigned int usart1_rcv_flag; 10 | extern volatile unsigned int usart1_rcv_start; 11 | 12 | #endif 13 | 14 | -------------------------------------------------------------------------------- /Hal/usart2.c: -------------------------------------------------------------------------------- 1 | #include "stm32f10x.h" 2 | #include "stm32f10x_usart.h" 3 | #include "stm32f10x_exti.h" 4 | #include "misc.h" 5 | #include "usart2.h" 6 | #include "stm32f10x.h" 7 | #include "stdio.h" 8 | #include "stdlib.h" 9 | #include "string.h" 10 | #include "delay.h" 11 | 12 | volatile unsigned char gprs_ready_flag = 0; 13 | volatile unsigned char gprs_ready_count = 0; 14 | 15 | unsigned char usart2_rcv_buf[MAX_RCV_LEN]; 16 | volatile unsigned int usart2_rcv_len = 0; 17 | 18 | /* 19 | * @brief USART2初始化函数 20 | */ 21 | void USART2_Config(void) 22 | { 23 | GPIO_InitTypeDef GPIO_InitStructure; 24 | USART_InitTypeDef USART_InitStructure; 25 | NVIC_InitTypeDef NVIC_InitStructure; 26 | 27 | /* config USART2 clock */ 28 | RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA , ENABLE); 29 | RCC_APB1PeriphClockCmd(RCC_APB1Periph_USART2, ENABLE); 30 | 31 | /* USART2 GPIO config */ 32 | /* Set PA2 PA3 as UART1 */ 33 | /* Configure USART2 Tx (PA.02) as alternate function push-pull */ 34 | GPIO_InitStructure.GPIO_Pin = GPIO_Pin_2; 35 | GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; 36 | GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; 37 | GPIO_Init(GPIOA, &GPIO_InitStructure); 38 | /* Configure USART2 Rx (PA.03) as input floating */ 39 | GPIO_InitStructure.GPIO_Pin = GPIO_Pin_3; 40 | GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING; 41 | GPIO_Init(GPIOA, &GPIO_InitStructure); 42 | 43 | /* USART2 mode config */ 44 | USART_InitStructure.USART_BaudRate = 115200; 45 | USART_InitStructure.USART_WordLength = USART_WordLength_8b; 46 | USART_InitStructure.USART_StopBits = USART_StopBits_1; 47 | USART_InitStructure.USART_Parity = USART_Parity_No ; 48 | USART_InitStructure.USART_HardwareFlowControl = USART_HardwareFlowControl_None; 49 | USART_InitStructure.USART_Mode = USART_Mode_Rx | USART_Mode_Tx; 50 | USART_Init(USART2, &USART_InitStructure); 51 | USART_Cmd(USART2, ENABLE); 52 | 53 | //Enable usart2 receive interrupt 54 | USART_ITConfig(USART2, USART_IT_RXNE, ENABLE); 55 | 56 | NVIC_InitStructure.NVIC_IRQChannel = USART2_IRQn; 57 | NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 3; 58 | NVIC_InitStructure.NVIC_IRQChannelSubPriority = 2; 59 | NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE; 60 | NVIC_Init(&NVIC_InitStructure); 61 | } 62 | 63 | /* 64 | * @brief USART2串口接收状态初始化 65 | */ 66 | void USART2_Clear(void) 67 | { 68 | memset(usart2_rcv_buf, 0, sizeof(usart2_rcv_buf)); 69 | usart2_rcv_len = 0; 70 | } 71 | 72 | /* 73 | * @brief USART2串口发送api 74 | */ 75 | void USART2_Write(USART_TypeDef* USARTx, uint8_t *Data, uint8_t len) 76 | { 77 | uint8_t i; 78 | USART_ClearFlag(USARTx, USART_FLAG_TC); 79 | for(i = 0; i < len; i++) 80 | { 81 | USART_SendData(USARTx, *Data++); 82 | while( USART_GetFlagStatus(USARTx, USART_FLAG_TC) == RESET ); 83 | } 84 | } 85 | 86 | /* 87 | * @brief USART2串口发送AT命令用 88 | * @para cmd AT命令 89 | * @para result 预期的正确返回信息 90 | * @para timeOut延时时间,ms 91 | */ 92 | void SendCmd(char* cmd, char* result, int timeOut) 93 | { 94 | while(1) 95 | { 96 | USART2_Clear(); 97 | USART2_Write(USART2, (unsigned char *)cmd, strlen((const char *)cmd)); 98 | DelayMs(timeOut); 99 | printf("%s %d cmd:%s,rsp:%s\n", __func__, __LINE__, cmd, usart2_rcv_buf); 100 | if((NULL != strstr((const char *)usart2_rcv_buf, result))) //判断是否有预期的结果 101 | { 102 | break; 103 | } 104 | else 105 | { 106 | DelayMs(100); 107 | } 108 | } 109 | } 110 | 111 | #if 1 112 | /* 113 | * @brief 返回USART2已接收的数据长度 114 | */ 115 | uint32_t USART2_GetRcvNum(void) 116 | { 117 | return usart2_rcv_len; 118 | } 119 | 120 | /* 121 | * @brief 返回USART2已接收的数据到buf,长度为rcv_len 122 | */ 123 | void USART2_GetRcvData(uint8_t *buf, uint32_t rcv_len) 124 | { 125 | if(buf) 126 | { 127 | memcpy(buf, usart2_rcv_buf, rcv_len); 128 | } 129 | USART2_Clear(); 130 | } 131 | #endif 132 | -------------------------------------------------------------------------------- /Hal/usart2.h: -------------------------------------------------------------------------------- 1 | #ifndef USART2_H_H 2 | #define USART2_H_H 3 | 4 | #include 5 | #include 6 | #define MAX_RCV_LEN 1024 7 | 8 | extern void USART2_Config(void); 9 | extern void USART2_Write(USART_TypeDef* USARTx, uint8_t *Data,uint8_t len); 10 | extern void USART2_Clear(void); 11 | extern volatile unsigned char gprs_ready_flag; 12 | extern volatile unsigned char gprs_ready_count; 13 | 14 | extern unsigned char usart2_rcv_buf[MAX_RCV_LEN]; 15 | extern volatile unsigned int usart2_rcv_len; 16 | void SendCmd(char* cmd, char* result, int timeOut); 17 | 18 | #endif 19 | 20 | -------------------------------------------------------------------------------- /Libraries/CMSIS/stm32f10x.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/Libraries/CMSIS/stm32f10x.h -------------------------------------------------------------------------------- /Libraries/CMSIS/system_stm32f10x.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file system_stm32f10x.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Header File. 8 | ****************************************************************************** 9 | * @attention 10 | * 11 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 12 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 13 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 14 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 15 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 16 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 17 | * 18 | *

© COPYRIGHT 2011 STMicroelectronics

19 | ****************************************************************************** 20 | */ 21 | 22 | /** @addtogroup CMSIS 23 | * @{ 24 | */ 25 | 26 | /** @addtogroup stm32f10x_system 27 | * @{ 28 | */ 29 | 30 | /** 31 | * @brief Define to prevent recursive inclusion 32 | */ 33 | #ifndef __SYSTEM_STM32F10X_H 34 | #define __SYSTEM_STM32F10X_H 35 | 36 | #ifdef __cplusplus 37 | extern "C" { 38 | #endif 39 | 40 | /** @addtogroup STM32F10x_System_Includes 41 | * @{ 42 | */ 43 | 44 | /** 45 | * @} 46 | */ 47 | 48 | 49 | /** @addtogroup STM32F10x_System_Exported_types 50 | * @{ 51 | */ 52 | 53 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ 54 | 55 | /** 56 | * @} 57 | */ 58 | 59 | /** @addtogroup STM32F10x_System_Exported_Constants 60 | * @{ 61 | */ 62 | 63 | /** 64 | * @} 65 | */ 66 | 67 | /** @addtogroup STM32F10x_System_Exported_Macros 68 | * @{ 69 | */ 70 | 71 | /** 72 | * @} 73 | */ 74 | 75 | /** @addtogroup STM32F10x_System_Exported_Functions 76 | * @{ 77 | */ 78 | 79 | extern void SystemInit(void); 80 | extern void SystemCoreClockUpdate(void); 81 | /** 82 | * @} 83 | */ 84 | 85 | #ifdef __cplusplus 86 | } 87 | #endif 88 | 89 | #endif /*__SYSTEM_STM32F10X_H */ 90 | 91 | /** 92 | * @} 93 | */ 94 | 95 | /** 96 | * @} 97 | */ 98 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 99 | -------------------------------------------------------------------------------- /Libraries/STM32F10x_StdPeriph_Driver/inc/stm32f10x_bkp.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_bkp.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file contains all the functions prototypes for the BKP firmware 8 | * library. 9 | ****************************************************************************** 10 | * @attention 11 | * 12 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 13 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 14 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 15 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 16 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 17 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 18 | * 19 | *

© COPYRIGHT 2011 STMicroelectronics

20 | ****************************************************************************** 21 | */ 22 | 23 | /* Define to prevent recursive inclusion -------------------------------------*/ 24 | #ifndef __STM32F10x_BKP_H 25 | #define __STM32F10x_BKP_H 26 | 27 | #ifdef __cplusplus 28 | extern "C" { 29 | #endif 30 | 31 | /* Includes ------------------------------------------------------------------*/ 32 | #include "stm32f10x.h" 33 | 34 | /** @addtogroup STM32F10x_StdPeriph_Driver 35 | * @{ 36 | */ 37 | 38 | /** @addtogroup BKP 39 | * @{ 40 | */ 41 | 42 | /** @defgroup BKP_Exported_Types 43 | * @{ 44 | */ 45 | 46 | /** 47 | * @} 48 | */ 49 | 50 | /** @defgroup BKP_Exported_Constants 51 | * @{ 52 | */ 53 | 54 | /** @defgroup Tamper_Pin_active_level 55 | * @{ 56 | */ 57 | 58 | #define BKP_TamperPinLevel_High ((uint16_t)0x0000) 59 | #define BKP_TamperPinLevel_Low ((uint16_t)0x0001) 60 | #define IS_BKP_TAMPER_PIN_LEVEL(LEVEL) (((LEVEL) == BKP_TamperPinLevel_High) || \ 61 | ((LEVEL) == BKP_TamperPinLevel_Low)) 62 | /** 63 | * @} 64 | */ 65 | 66 | /** @defgroup RTC_output_source_to_output_on_the_Tamper_pin 67 | * @{ 68 | */ 69 | 70 | #define BKP_RTCOutputSource_None ((uint16_t)0x0000) 71 | #define BKP_RTCOutputSource_CalibClock ((uint16_t)0x0080) 72 | #define BKP_RTCOutputSource_Alarm ((uint16_t)0x0100) 73 | #define BKP_RTCOutputSource_Second ((uint16_t)0x0300) 74 | #define IS_BKP_RTC_OUTPUT_SOURCE(SOURCE) (((SOURCE) == BKP_RTCOutputSource_None) || \ 75 | ((SOURCE) == BKP_RTCOutputSource_CalibClock) || \ 76 | ((SOURCE) == BKP_RTCOutputSource_Alarm) || \ 77 | ((SOURCE) == BKP_RTCOutputSource_Second)) 78 | /** 79 | * @} 80 | */ 81 | 82 | /** @defgroup Data_Backup_Register 83 | * @{ 84 | */ 85 | 86 | #define BKP_DR1 ((uint16_t)0x0004) 87 | #define BKP_DR2 ((uint16_t)0x0008) 88 | #define BKP_DR3 ((uint16_t)0x000C) 89 | #define BKP_DR4 ((uint16_t)0x0010) 90 | #define BKP_DR5 ((uint16_t)0x0014) 91 | #define BKP_DR6 ((uint16_t)0x0018) 92 | #define BKP_DR7 ((uint16_t)0x001C) 93 | #define BKP_DR8 ((uint16_t)0x0020) 94 | #define BKP_DR9 ((uint16_t)0x0024) 95 | #define BKP_DR10 ((uint16_t)0x0028) 96 | #define BKP_DR11 ((uint16_t)0x0040) 97 | #define BKP_DR12 ((uint16_t)0x0044) 98 | #define BKP_DR13 ((uint16_t)0x0048) 99 | #define BKP_DR14 ((uint16_t)0x004C) 100 | #define BKP_DR15 ((uint16_t)0x0050) 101 | #define BKP_DR16 ((uint16_t)0x0054) 102 | #define BKP_DR17 ((uint16_t)0x0058) 103 | #define BKP_DR18 ((uint16_t)0x005C) 104 | #define BKP_DR19 ((uint16_t)0x0060) 105 | #define BKP_DR20 ((uint16_t)0x0064) 106 | #define BKP_DR21 ((uint16_t)0x0068) 107 | #define BKP_DR22 ((uint16_t)0x006C) 108 | #define BKP_DR23 ((uint16_t)0x0070) 109 | #define BKP_DR24 ((uint16_t)0x0074) 110 | #define BKP_DR25 ((uint16_t)0x0078) 111 | #define BKP_DR26 ((uint16_t)0x007C) 112 | #define BKP_DR27 ((uint16_t)0x0080) 113 | #define BKP_DR28 ((uint16_t)0x0084) 114 | #define BKP_DR29 ((uint16_t)0x0088) 115 | #define BKP_DR30 ((uint16_t)0x008C) 116 | #define BKP_DR31 ((uint16_t)0x0090) 117 | #define BKP_DR32 ((uint16_t)0x0094) 118 | #define BKP_DR33 ((uint16_t)0x0098) 119 | #define BKP_DR34 ((uint16_t)0x009C) 120 | #define BKP_DR35 ((uint16_t)0x00A0) 121 | #define BKP_DR36 ((uint16_t)0x00A4) 122 | #define BKP_DR37 ((uint16_t)0x00A8) 123 | #define BKP_DR38 ((uint16_t)0x00AC) 124 | #define BKP_DR39 ((uint16_t)0x00B0) 125 | #define BKP_DR40 ((uint16_t)0x00B4) 126 | #define BKP_DR41 ((uint16_t)0x00B8) 127 | #define BKP_DR42 ((uint16_t)0x00BC) 128 | 129 | #define IS_BKP_DR(DR) (((DR) == BKP_DR1) || ((DR) == BKP_DR2) || ((DR) == BKP_DR3) || \ 130 | ((DR) == BKP_DR4) || ((DR) == BKP_DR5) || ((DR) == BKP_DR6) || \ 131 | ((DR) == BKP_DR7) || ((DR) == BKP_DR8) || ((DR) == BKP_DR9) || \ 132 | ((DR) == BKP_DR10) || ((DR) == BKP_DR11) || ((DR) == BKP_DR12) || \ 133 | ((DR) == BKP_DR13) || ((DR) == BKP_DR14) || ((DR) == BKP_DR15) || \ 134 | ((DR) == BKP_DR16) || ((DR) == BKP_DR17) || ((DR) == BKP_DR18) || \ 135 | ((DR) == BKP_DR19) || ((DR) == BKP_DR20) || ((DR) == BKP_DR21) || \ 136 | ((DR) == BKP_DR22) || ((DR) == BKP_DR23) || ((DR) == BKP_DR24) || \ 137 | ((DR) == BKP_DR25) || ((DR) == BKP_DR26) || ((DR) == BKP_DR27) || \ 138 | ((DR) == BKP_DR28) || ((DR) == BKP_DR29) || ((DR) == BKP_DR30) || \ 139 | ((DR) == BKP_DR31) || ((DR) == BKP_DR32) || ((DR) == BKP_DR33) || \ 140 | ((DR) == BKP_DR34) || ((DR) == BKP_DR35) || ((DR) == BKP_DR36) || \ 141 | ((DR) == BKP_DR37) || ((DR) == BKP_DR38) || ((DR) == BKP_DR39) || \ 142 | ((DR) == BKP_DR40) || ((DR) == BKP_DR41) || ((DR) == BKP_DR42)) 143 | 144 | #define IS_BKP_CALIBRATION_VALUE(VALUE) ((VALUE) <= 0x7F) 145 | /** 146 | * @} 147 | */ 148 | 149 | /** 150 | * @} 151 | */ 152 | 153 | /** @defgroup BKP_Exported_Macros 154 | * @{ 155 | */ 156 | 157 | /** 158 | * @} 159 | */ 160 | 161 | /** @defgroup BKP_Exported_Functions 162 | * @{ 163 | */ 164 | 165 | void BKP_DeInit(void); 166 | void BKP_TamperPinLevelConfig(uint16_t BKP_TamperPinLevel); 167 | void BKP_TamperPinCmd(FunctionalState NewState); 168 | void BKP_ITConfig(FunctionalState NewState); 169 | void BKP_RTCOutputConfig(uint16_t BKP_RTCOutputSource); 170 | void BKP_SetRTCCalibrationValue(uint8_t CalibrationValue); 171 | void BKP_WriteBackupRegister(uint16_t BKP_DR, uint16_t Data); 172 | uint16_t BKP_ReadBackupRegister(uint16_t BKP_DR); 173 | FlagStatus BKP_GetFlagStatus(void); 174 | void BKP_ClearFlag(void); 175 | ITStatus BKP_GetITStatus(void); 176 | void BKP_ClearITPendingBit(void); 177 | 178 | #ifdef __cplusplus 179 | } 180 | #endif 181 | 182 | #endif /* __STM32F10x_BKP_H */ 183 | /** 184 | * @} 185 | */ 186 | 187 | /** 188 | * @} 189 | */ 190 | 191 | /** 192 | * @} 193 | */ 194 | 195 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 196 | -------------------------------------------------------------------------------- /Libraries/STM32F10x_StdPeriph_Driver/inc/stm32f10x_cec.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_cec.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file contains all the functions prototypes for the CEC firmware 8 | * library. 9 | ****************************************************************************** 10 | * @attention 11 | * 12 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 13 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 14 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 15 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 16 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 17 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 18 | * 19 | *

© COPYRIGHT 2011 STMicroelectronics

20 | ****************************************************************************** 21 | */ 22 | 23 | /* Define to prevent recursive inclusion -------------------------------------*/ 24 | #ifndef __STM32F10x_CEC_H 25 | #define __STM32F10x_CEC_H 26 | 27 | #ifdef __cplusplus 28 | extern "C" { 29 | #endif 30 | 31 | /* Includes ------------------------------------------------------------------*/ 32 | #include "stm32f10x.h" 33 | 34 | /** @addtogroup STM32F10x_StdPeriph_Driver 35 | * @{ 36 | */ 37 | 38 | /** @addtogroup CEC 39 | * @{ 40 | */ 41 | 42 | 43 | /** @defgroup CEC_Exported_Types 44 | * @{ 45 | */ 46 | 47 | /** 48 | * @brief CEC Init structure definition 49 | */ 50 | typedef struct 51 | { 52 | uint16_t CEC_BitTimingMode; /*!< Configures the CEC Bit Timing Error Mode. 53 | This parameter can be a value of @ref CEC_BitTiming_Mode */ 54 | uint16_t CEC_BitPeriodMode; /*!< Configures the CEC Bit Period Error Mode. 55 | This parameter can be a value of @ref CEC_BitPeriod_Mode */ 56 | }CEC_InitTypeDef; 57 | 58 | /** 59 | * @} 60 | */ 61 | 62 | /** @defgroup CEC_Exported_Constants 63 | * @{ 64 | */ 65 | 66 | /** @defgroup CEC_BitTiming_Mode 67 | * @{ 68 | */ 69 | #define CEC_BitTimingStdMode ((uint16_t)0x00) /*!< Bit timing error Standard Mode */ 70 | #define CEC_BitTimingErrFreeMode CEC_CFGR_BTEM /*!< Bit timing error Free Mode */ 71 | 72 | #define IS_CEC_BIT_TIMING_ERROR_MODE(MODE) (((MODE) == CEC_BitTimingStdMode) || \ 73 | ((MODE) == CEC_BitTimingErrFreeMode)) 74 | /** 75 | * @} 76 | */ 77 | 78 | /** @defgroup CEC_BitPeriod_Mode 79 | * @{ 80 | */ 81 | #define CEC_BitPeriodStdMode ((uint16_t)0x00) /*!< Bit period error Standard Mode */ 82 | #define CEC_BitPeriodFlexibleMode CEC_CFGR_BPEM /*!< Bit period error Flexible Mode */ 83 | 84 | #define IS_CEC_BIT_PERIOD_ERROR_MODE(MODE) (((MODE) == CEC_BitPeriodStdMode) || \ 85 | ((MODE) == CEC_BitPeriodFlexibleMode)) 86 | /** 87 | * @} 88 | */ 89 | 90 | 91 | /** @defgroup CEC_interrupts_definition 92 | * @{ 93 | */ 94 | #define CEC_IT_TERR CEC_CSR_TERR 95 | #define CEC_IT_TBTRF CEC_CSR_TBTRF 96 | #define CEC_IT_RERR CEC_CSR_RERR 97 | #define CEC_IT_RBTF CEC_CSR_RBTF 98 | #define IS_CEC_GET_IT(IT) (((IT) == CEC_IT_TERR) || ((IT) == CEC_IT_TBTRF) || \ 99 | ((IT) == CEC_IT_RERR) || ((IT) == CEC_IT_RBTF)) 100 | /** 101 | * @} 102 | */ 103 | 104 | 105 | /** @defgroup CEC_Own_Address 106 | * @{ 107 | */ 108 | #define IS_CEC_ADDRESS(ADDRESS) ((ADDRESS) < 0x10) 109 | /** 110 | * @} 111 | */ 112 | 113 | /** @defgroup CEC_Prescaler 114 | * @{ 115 | */ 116 | #define IS_CEC_PRESCALER(PRESCALER) ((PRESCALER) <= 0x3FFF) 117 | 118 | /** 119 | * @} 120 | */ 121 | 122 | /** @defgroup CEC_flags_definition 123 | * @{ 124 | */ 125 | 126 | /** 127 | * @brief ESR register flags 128 | */ 129 | #define CEC_FLAG_BTE ((uint32_t)0x10010000) 130 | #define CEC_FLAG_BPE ((uint32_t)0x10020000) 131 | #define CEC_FLAG_RBTFE ((uint32_t)0x10040000) 132 | #define CEC_FLAG_SBE ((uint32_t)0x10080000) 133 | #define CEC_FLAG_ACKE ((uint32_t)0x10100000) 134 | #define CEC_FLAG_LINE ((uint32_t)0x10200000) 135 | #define CEC_FLAG_TBTFE ((uint32_t)0x10400000) 136 | 137 | /** 138 | * @brief CSR register flags 139 | */ 140 | #define CEC_FLAG_TEOM ((uint32_t)0x00000002) 141 | #define CEC_FLAG_TERR ((uint32_t)0x00000004) 142 | #define CEC_FLAG_TBTRF ((uint32_t)0x00000008) 143 | #define CEC_FLAG_RSOM ((uint32_t)0x00000010) 144 | #define CEC_FLAG_REOM ((uint32_t)0x00000020) 145 | #define CEC_FLAG_RERR ((uint32_t)0x00000040) 146 | #define CEC_FLAG_RBTF ((uint32_t)0x00000080) 147 | 148 | #define IS_CEC_CLEAR_FLAG(FLAG) ((((FLAG) & (uint32_t)0xFFFFFF03) == 0x00) && ((FLAG) != 0x00)) 149 | 150 | #define IS_CEC_GET_FLAG(FLAG) (((FLAG) == CEC_FLAG_BTE) || ((FLAG) == CEC_FLAG_BPE) || \ 151 | ((FLAG) == CEC_FLAG_RBTFE) || ((FLAG)== CEC_FLAG_SBE) || \ 152 | ((FLAG) == CEC_FLAG_ACKE) || ((FLAG) == CEC_FLAG_LINE) || \ 153 | ((FLAG) == CEC_FLAG_TBTFE) || ((FLAG) == CEC_FLAG_TEOM) || \ 154 | ((FLAG) == CEC_FLAG_TERR) || ((FLAG) == CEC_FLAG_TBTRF) || \ 155 | ((FLAG) == CEC_FLAG_RSOM) || ((FLAG) == CEC_FLAG_REOM) || \ 156 | ((FLAG) == CEC_FLAG_RERR) || ((FLAG) == CEC_FLAG_RBTF)) 157 | 158 | /** 159 | * @} 160 | */ 161 | 162 | /** 163 | * @} 164 | */ 165 | 166 | /** @defgroup CEC_Exported_Macros 167 | * @{ 168 | */ 169 | 170 | /** 171 | * @} 172 | */ 173 | 174 | /** @defgroup CEC_Exported_Functions 175 | * @{ 176 | */ 177 | void CEC_DeInit(void); 178 | void CEC_Init(CEC_InitTypeDef* CEC_InitStruct); 179 | void CEC_Cmd(FunctionalState NewState); 180 | void CEC_ITConfig(FunctionalState NewState); 181 | void CEC_OwnAddressConfig(uint8_t CEC_OwnAddress); 182 | void CEC_SetPrescaler(uint16_t CEC_Prescaler); 183 | void CEC_SendDataByte(uint8_t Data); 184 | uint8_t CEC_ReceiveDataByte(void); 185 | void CEC_StartOfMessage(void); 186 | void CEC_EndOfMessageCmd(FunctionalState NewState); 187 | FlagStatus CEC_GetFlagStatus(uint32_t CEC_FLAG); 188 | void CEC_ClearFlag(uint32_t CEC_FLAG); 189 | ITStatus CEC_GetITStatus(uint8_t CEC_IT); 190 | void CEC_ClearITPendingBit(uint16_t CEC_IT); 191 | 192 | #ifdef __cplusplus 193 | } 194 | #endif 195 | 196 | #endif /* __STM32F10x_CEC_H */ 197 | 198 | /** 199 | * @} 200 | */ 201 | 202 | /** 203 | * @} 204 | */ 205 | 206 | /** 207 | * @} 208 | */ 209 | 210 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 211 | -------------------------------------------------------------------------------- /Libraries/STM32F10x_StdPeriph_Driver/inc/stm32f10x_crc.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_crc.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file contains all the functions prototypes for the CRC firmware 8 | * library. 9 | ****************************************************************************** 10 | * @attention 11 | * 12 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 13 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 14 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 15 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 16 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 17 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 18 | * 19 | *

© COPYRIGHT 2011 STMicroelectronics

20 | ****************************************************************************** 21 | */ 22 | 23 | /* Define to prevent recursive inclusion -------------------------------------*/ 24 | #ifndef __STM32F10x_CRC_H 25 | #define __STM32F10x_CRC_H 26 | 27 | #ifdef __cplusplus 28 | extern "C" { 29 | #endif 30 | 31 | /* Includes ------------------------------------------------------------------*/ 32 | #include "stm32f10x.h" 33 | 34 | /** @addtogroup STM32F10x_StdPeriph_Driver 35 | * @{ 36 | */ 37 | 38 | /** @addtogroup CRC 39 | * @{ 40 | */ 41 | 42 | /** @defgroup CRC_Exported_Types 43 | * @{ 44 | */ 45 | 46 | /** 47 | * @} 48 | */ 49 | 50 | /** @defgroup CRC_Exported_Constants 51 | * @{ 52 | */ 53 | 54 | /** 55 | * @} 56 | */ 57 | 58 | /** @defgroup CRC_Exported_Macros 59 | * @{ 60 | */ 61 | 62 | /** 63 | * @} 64 | */ 65 | 66 | /** @defgroup CRC_Exported_Functions 67 | * @{ 68 | */ 69 | 70 | void CRC_ResetDR(void); 71 | uint32_t CRC_CalcCRC(uint32_t Data); 72 | uint32_t CRC_CalcBlockCRC(uint32_t pBuffer[], uint32_t BufferLength); 73 | uint32_t CRC_GetCRC(void); 74 | void CRC_SetIDRegister(uint8_t IDValue); 75 | uint8_t CRC_GetIDRegister(void); 76 | 77 | #ifdef __cplusplus 78 | } 79 | #endif 80 | 81 | #endif /* __STM32F10x_CRC_H */ 82 | /** 83 | * @} 84 | */ 85 | 86 | /** 87 | * @} 88 | */ 89 | 90 | /** 91 | * @} 92 | */ 93 | 94 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 95 | -------------------------------------------------------------------------------- /Libraries/STM32F10x_StdPeriph_Driver/inc/stm32f10x_dbgmcu.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_dbgmcu.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file contains all the functions prototypes for the DBGMCU 8 | * firmware library. 9 | ****************************************************************************** 10 | * @attention 11 | * 12 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 13 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 14 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 15 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 16 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 17 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 18 | * 19 | *

© COPYRIGHT 2011 STMicroelectronics

20 | ****************************************************************************** 21 | */ 22 | 23 | /* Define to prevent recursive inclusion -------------------------------------*/ 24 | #ifndef __STM32F10x_DBGMCU_H 25 | #define __STM32F10x_DBGMCU_H 26 | 27 | #ifdef __cplusplus 28 | extern "C" { 29 | #endif 30 | 31 | /* Includes ------------------------------------------------------------------*/ 32 | #include "stm32f10x.h" 33 | 34 | /** @addtogroup STM32F10x_StdPeriph_Driver 35 | * @{ 36 | */ 37 | 38 | /** @addtogroup DBGMCU 39 | * @{ 40 | */ 41 | 42 | /** @defgroup DBGMCU_Exported_Types 43 | * @{ 44 | */ 45 | 46 | /** 47 | * @} 48 | */ 49 | 50 | /** @defgroup DBGMCU_Exported_Constants 51 | * @{ 52 | */ 53 | 54 | #define DBGMCU_SLEEP ((uint32_t)0x00000001) 55 | #define DBGMCU_STOP ((uint32_t)0x00000002) 56 | #define DBGMCU_STANDBY ((uint32_t)0x00000004) 57 | #define DBGMCU_IWDG_STOP ((uint32_t)0x00000100) 58 | #define DBGMCU_WWDG_STOP ((uint32_t)0x00000200) 59 | #define DBGMCU_TIM1_STOP ((uint32_t)0x00000400) 60 | #define DBGMCU_TIM2_STOP ((uint32_t)0x00000800) 61 | #define DBGMCU_TIM3_STOP ((uint32_t)0x00001000) 62 | #define DBGMCU_TIM4_STOP ((uint32_t)0x00002000) 63 | #define DBGMCU_CAN1_STOP ((uint32_t)0x00004000) 64 | #define DBGMCU_I2C1_SMBUS_TIMEOUT ((uint32_t)0x00008000) 65 | #define DBGMCU_I2C2_SMBUS_TIMEOUT ((uint32_t)0x00010000) 66 | #define DBGMCU_TIM8_STOP ((uint32_t)0x00020000) 67 | #define DBGMCU_TIM5_STOP ((uint32_t)0x00040000) 68 | #define DBGMCU_TIM6_STOP ((uint32_t)0x00080000) 69 | #define DBGMCU_TIM7_STOP ((uint32_t)0x00100000) 70 | #define DBGMCU_CAN2_STOP ((uint32_t)0x00200000) 71 | #define DBGMCU_TIM15_STOP ((uint32_t)0x00400000) 72 | #define DBGMCU_TIM16_STOP ((uint32_t)0x00800000) 73 | #define DBGMCU_TIM17_STOP ((uint32_t)0x01000000) 74 | #define DBGMCU_TIM12_STOP ((uint32_t)0x02000000) 75 | #define DBGMCU_TIM13_STOP ((uint32_t)0x04000000) 76 | #define DBGMCU_TIM14_STOP ((uint32_t)0x08000000) 77 | #define DBGMCU_TIM9_STOP ((uint32_t)0x10000000) 78 | #define DBGMCU_TIM10_STOP ((uint32_t)0x20000000) 79 | #define DBGMCU_TIM11_STOP ((uint32_t)0x40000000) 80 | 81 | #define IS_DBGMCU_PERIPH(PERIPH) ((((PERIPH) & 0x800000F8) == 0x00) && ((PERIPH) != 0x00)) 82 | /** 83 | * @} 84 | */ 85 | 86 | /** @defgroup DBGMCU_Exported_Macros 87 | * @{ 88 | */ 89 | 90 | /** 91 | * @} 92 | */ 93 | 94 | /** @defgroup DBGMCU_Exported_Functions 95 | * @{ 96 | */ 97 | 98 | uint32_t DBGMCU_GetREVID(void); 99 | uint32_t DBGMCU_GetDEVID(void); 100 | void DBGMCU_Config(uint32_t DBGMCU_Periph, FunctionalState NewState); 101 | 102 | #ifdef __cplusplus 103 | } 104 | #endif 105 | 106 | #endif /* __STM32F10x_DBGMCU_H */ 107 | /** 108 | * @} 109 | */ 110 | 111 | /** 112 | * @} 113 | */ 114 | 115 | /** 116 | * @} 117 | */ 118 | 119 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 120 | -------------------------------------------------------------------------------- /Libraries/STM32F10x_StdPeriph_Driver/inc/stm32f10x_exti.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_exti.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file contains all the functions prototypes for the EXTI firmware 8 | * library. 9 | ****************************************************************************** 10 | * @attention 11 | * 12 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 13 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 14 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 15 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 16 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 17 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 18 | * 19 | *

© COPYRIGHT 2011 STMicroelectronics

20 | ****************************************************************************** 21 | */ 22 | 23 | /* Define to prevent recursive inclusion -------------------------------------*/ 24 | #ifndef __STM32F10x_EXTI_H 25 | #define __STM32F10x_EXTI_H 26 | 27 | #ifdef __cplusplus 28 | extern "C" { 29 | #endif 30 | 31 | /* Includes ------------------------------------------------------------------*/ 32 | #include "stm32f10x.h" 33 | 34 | /** @addtogroup STM32F10x_StdPeriph_Driver 35 | * @{ 36 | */ 37 | 38 | /** @addtogroup EXTI 39 | * @{ 40 | */ 41 | 42 | /** @defgroup EXTI_Exported_Types 43 | * @{ 44 | */ 45 | 46 | /** 47 | * @brief EXTI mode enumeration 48 | */ 49 | 50 | typedef enum 51 | { 52 | EXTI_Mode_Interrupt = 0x00, 53 | EXTI_Mode_Event = 0x04 54 | }EXTIMode_TypeDef; 55 | 56 | #define IS_EXTI_MODE(MODE) (((MODE) == EXTI_Mode_Interrupt) || ((MODE) == EXTI_Mode_Event)) 57 | 58 | /** 59 | * @brief EXTI Trigger enumeration 60 | */ 61 | 62 | typedef enum 63 | { 64 | EXTI_Trigger_Rising = 0x08, 65 | EXTI_Trigger_Falling = 0x0C, 66 | EXTI_Trigger_Rising_Falling = 0x10 67 | }EXTITrigger_TypeDef; 68 | 69 | #define IS_EXTI_TRIGGER(TRIGGER) (((TRIGGER) == EXTI_Trigger_Rising) || \ 70 | ((TRIGGER) == EXTI_Trigger_Falling) || \ 71 | ((TRIGGER) == EXTI_Trigger_Rising_Falling)) 72 | /** 73 | * @brief EXTI Init Structure definition 74 | */ 75 | 76 | typedef struct 77 | { 78 | uint32_t EXTI_Line; /*!< Specifies the EXTI lines to be enabled or disabled. 79 | This parameter can be any combination of @ref EXTI_Lines */ 80 | 81 | EXTIMode_TypeDef EXTI_Mode; /*!< Specifies the mode for the EXTI lines. 82 | This parameter can be a value of @ref EXTIMode_TypeDef */ 83 | 84 | EXTITrigger_TypeDef EXTI_Trigger; /*!< Specifies the trigger signal active edge for the EXTI lines. 85 | This parameter can be a value of @ref EXTIMode_TypeDef */ 86 | 87 | FunctionalState EXTI_LineCmd; /*!< Specifies the new state of the selected EXTI lines. 88 | This parameter can be set either to ENABLE or DISABLE */ 89 | }EXTI_InitTypeDef; 90 | 91 | /** 92 | * @} 93 | */ 94 | 95 | /** @defgroup EXTI_Exported_Constants 96 | * @{ 97 | */ 98 | 99 | /** @defgroup EXTI_Lines 100 | * @{ 101 | */ 102 | 103 | #define EXTI_Line0 ((uint32_t)0x00001) /*!< External interrupt line 0 */ 104 | #define EXTI_Line1 ((uint32_t)0x00002) /*!< External interrupt line 1 */ 105 | #define EXTI_Line2 ((uint32_t)0x00004) /*!< External interrupt line 2 */ 106 | #define EXTI_Line3 ((uint32_t)0x00008) /*!< External interrupt line 3 */ 107 | #define EXTI_Line4 ((uint32_t)0x00010) /*!< External interrupt line 4 */ 108 | #define EXTI_Line5 ((uint32_t)0x00020) /*!< External interrupt line 5 */ 109 | #define EXTI_Line6 ((uint32_t)0x00040) /*!< External interrupt line 6 */ 110 | #define EXTI_Line7 ((uint32_t)0x00080) /*!< External interrupt line 7 */ 111 | #define EXTI_Line8 ((uint32_t)0x00100) /*!< External interrupt line 8 */ 112 | #define EXTI_Line9 ((uint32_t)0x00200) /*!< External interrupt line 9 */ 113 | #define EXTI_Line10 ((uint32_t)0x00400) /*!< External interrupt line 10 */ 114 | #define EXTI_Line11 ((uint32_t)0x00800) /*!< External interrupt line 11 */ 115 | #define EXTI_Line12 ((uint32_t)0x01000) /*!< External interrupt line 12 */ 116 | #define EXTI_Line13 ((uint32_t)0x02000) /*!< External interrupt line 13 */ 117 | #define EXTI_Line14 ((uint32_t)0x04000) /*!< External interrupt line 14 */ 118 | #define EXTI_Line15 ((uint32_t)0x08000) /*!< External interrupt line 15 */ 119 | #define EXTI_Line16 ((uint32_t)0x10000) /*!< External interrupt line 16 Connected to the PVD Output */ 120 | #define EXTI_Line17 ((uint32_t)0x20000) /*!< External interrupt line 17 Connected to the RTC Alarm event */ 121 | #define EXTI_Line18 ((uint32_t)0x40000) /*!< External interrupt line 18 Connected to the USB Device/USB OTG FS 122 | Wakeup from suspend event */ 123 | #define EXTI_Line19 ((uint32_t)0x80000) /*!< External interrupt line 19 Connected to the Ethernet Wakeup event */ 124 | 125 | #define IS_EXTI_LINE(LINE) ((((LINE) & (uint32_t)0xFFF00000) == 0x00) && ((LINE) != (uint16_t)0x00)) 126 | #define IS_GET_EXTI_LINE(LINE) (((LINE) == EXTI_Line0) || ((LINE) == EXTI_Line1) || \ 127 | ((LINE) == EXTI_Line2) || ((LINE) == EXTI_Line3) || \ 128 | ((LINE) == EXTI_Line4) || ((LINE) == EXTI_Line5) || \ 129 | ((LINE) == EXTI_Line6) || ((LINE) == EXTI_Line7) || \ 130 | ((LINE) == EXTI_Line8) || ((LINE) == EXTI_Line9) || \ 131 | ((LINE) == EXTI_Line10) || ((LINE) == EXTI_Line11) || \ 132 | ((LINE) == EXTI_Line12) || ((LINE) == EXTI_Line13) || \ 133 | ((LINE) == EXTI_Line14) || ((LINE) == EXTI_Line15) || \ 134 | ((LINE) == EXTI_Line16) || ((LINE) == EXTI_Line17) || \ 135 | ((LINE) == EXTI_Line18) || ((LINE) == EXTI_Line19)) 136 | 137 | 138 | /** 139 | * @} 140 | */ 141 | 142 | /** 143 | * @} 144 | */ 145 | 146 | /** @defgroup EXTI_Exported_Macros 147 | * @{ 148 | */ 149 | 150 | /** 151 | * @} 152 | */ 153 | 154 | /** @defgroup EXTI_Exported_Functions 155 | * @{ 156 | */ 157 | 158 | void EXTI_DeInit(void); 159 | void EXTI_Init(EXTI_InitTypeDef* EXTI_InitStruct); 160 | void EXTI_StructInit(EXTI_InitTypeDef* EXTI_InitStruct); 161 | void EXTI_GenerateSWInterrupt(uint32_t EXTI_Line); 162 | FlagStatus EXTI_GetFlagStatus(uint32_t EXTI_Line); 163 | void EXTI_ClearFlag(uint32_t EXTI_Line); 164 | ITStatus EXTI_GetITStatus(uint32_t EXTI_Line); 165 | void EXTI_ClearITPendingBit(uint32_t EXTI_Line); 166 | 167 | #ifdef __cplusplus 168 | } 169 | #endif 170 | 171 | #endif /* __STM32F10x_EXTI_H */ 172 | /** 173 | * @} 174 | */ 175 | 176 | /** 177 | * @} 178 | */ 179 | 180 | /** 181 | * @} 182 | */ 183 | 184 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 185 | -------------------------------------------------------------------------------- /Libraries/STM32F10x_StdPeriph_Driver/inc/stm32f10x_iwdg.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_iwdg.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file contains all the functions prototypes for the IWDG 8 | * firmware library. 9 | ****************************************************************************** 10 | * @attention 11 | * 12 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 13 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 14 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 15 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 16 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 17 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 18 | * 19 | *

© COPYRIGHT 2011 STMicroelectronics

20 | ****************************************************************************** 21 | */ 22 | 23 | /* Define to prevent recursive inclusion -------------------------------------*/ 24 | #ifndef __STM32F10x_IWDG_H 25 | #define __STM32F10x_IWDG_H 26 | 27 | #ifdef __cplusplus 28 | extern "C" { 29 | #endif 30 | 31 | /* Includes ------------------------------------------------------------------*/ 32 | #include "stm32f10x.h" 33 | 34 | /** @addtogroup STM32F10x_StdPeriph_Driver 35 | * @{ 36 | */ 37 | 38 | /** @addtogroup IWDG 39 | * @{ 40 | */ 41 | 42 | /** @defgroup IWDG_Exported_Types 43 | * @{ 44 | */ 45 | 46 | /** 47 | * @} 48 | */ 49 | 50 | /** @defgroup IWDG_Exported_Constants 51 | * @{ 52 | */ 53 | 54 | /** @defgroup IWDG_WriteAccess 55 | * @{ 56 | */ 57 | 58 | #define IWDG_WriteAccess_Enable ((uint16_t)0x5555) 59 | #define IWDG_WriteAccess_Disable ((uint16_t)0x0000) 60 | #define IS_IWDG_WRITE_ACCESS(ACCESS) (((ACCESS) == IWDG_WriteAccess_Enable) || \ 61 | ((ACCESS) == IWDG_WriteAccess_Disable)) 62 | /** 63 | * @} 64 | */ 65 | 66 | /** @defgroup IWDG_prescaler 67 | * @{ 68 | */ 69 | 70 | #define IWDG_Prescaler_4 ((uint8_t)0x00) 71 | #define IWDG_Prescaler_8 ((uint8_t)0x01) 72 | #define IWDG_Prescaler_16 ((uint8_t)0x02) 73 | #define IWDG_Prescaler_32 ((uint8_t)0x03) 74 | #define IWDG_Prescaler_64 ((uint8_t)0x04) 75 | #define IWDG_Prescaler_128 ((uint8_t)0x05) 76 | #define IWDG_Prescaler_256 ((uint8_t)0x06) 77 | #define IS_IWDG_PRESCALER(PRESCALER) (((PRESCALER) == IWDG_Prescaler_4) || \ 78 | ((PRESCALER) == IWDG_Prescaler_8) || \ 79 | ((PRESCALER) == IWDG_Prescaler_16) || \ 80 | ((PRESCALER) == IWDG_Prescaler_32) || \ 81 | ((PRESCALER) == IWDG_Prescaler_64) || \ 82 | ((PRESCALER) == IWDG_Prescaler_128)|| \ 83 | ((PRESCALER) == IWDG_Prescaler_256)) 84 | /** 85 | * @} 86 | */ 87 | 88 | /** @defgroup IWDG_Flag 89 | * @{ 90 | */ 91 | 92 | #define IWDG_FLAG_PVU ((uint16_t)0x0001) 93 | #define IWDG_FLAG_RVU ((uint16_t)0x0002) 94 | #define IS_IWDG_FLAG(FLAG) (((FLAG) == IWDG_FLAG_PVU) || ((FLAG) == IWDG_FLAG_RVU)) 95 | #define IS_IWDG_RELOAD(RELOAD) ((RELOAD) <= 0xFFF) 96 | /** 97 | * @} 98 | */ 99 | 100 | /** 101 | * @} 102 | */ 103 | 104 | /** @defgroup IWDG_Exported_Macros 105 | * @{ 106 | */ 107 | 108 | /** 109 | * @} 110 | */ 111 | 112 | /** @defgroup IWDG_Exported_Functions 113 | * @{ 114 | */ 115 | 116 | void IWDG_WriteAccessCmd(uint16_t IWDG_WriteAccess); 117 | void IWDG_SetPrescaler(uint8_t IWDG_Prescaler); 118 | void IWDG_SetReload(uint16_t Reload); 119 | void IWDG_ReloadCounter(void); 120 | void IWDG_Enable(void); 121 | FlagStatus IWDG_GetFlagStatus(uint16_t IWDG_FLAG); 122 | 123 | #ifdef __cplusplus 124 | } 125 | #endif 126 | 127 | #endif /* __STM32F10x_IWDG_H */ 128 | /** 129 | * @} 130 | */ 131 | 132 | /** 133 | * @} 134 | */ 135 | 136 | /** 137 | * @} 138 | */ 139 | 140 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 141 | -------------------------------------------------------------------------------- /Libraries/STM32F10x_StdPeriph_Driver/inc/stm32f10x_pwr.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_pwr.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file contains all the functions prototypes for the PWR firmware 8 | * library. 9 | ****************************************************************************** 10 | * @attention 11 | * 12 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 13 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 14 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 15 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 16 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 17 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 18 | * 19 | *

© COPYRIGHT 2011 STMicroelectronics

20 | ****************************************************************************** 21 | */ 22 | 23 | /* Define to prevent recursive inclusion -------------------------------------*/ 24 | #ifndef __STM32F10x_PWR_H 25 | #define __STM32F10x_PWR_H 26 | 27 | #ifdef __cplusplus 28 | extern "C" { 29 | #endif 30 | 31 | /* Includes ------------------------------------------------------------------*/ 32 | #include "stm32f10x.h" 33 | 34 | /** @addtogroup STM32F10x_StdPeriph_Driver 35 | * @{ 36 | */ 37 | 38 | /** @addtogroup PWR 39 | * @{ 40 | */ 41 | 42 | /** @defgroup PWR_Exported_Types 43 | * @{ 44 | */ 45 | 46 | /** 47 | * @} 48 | */ 49 | 50 | /** @defgroup PWR_Exported_Constants 51 | * @{ 52 | */ 53 | 54 | /** @defgroup PVD_detection_level 55 | * @{ 56 | */ 57 | 58 | #define PWR_PVDLevel_2V2 ((uint32_t)0x00000000) 59 | #define PWR_PVDLevel_2V3 ((uint32_t)0x00000020) 60 | #define PWR_PVDLevel_2V4 ((uint32_t)0x00000040) 61 | #define PWR_PVDLevel_2V5 ((uint32_t)0x00000060) 62 | #define PWR_PVDLevel_2V6 ((uint32_t)0x00000080) 63 | #define PWR_PVDLevel_2V7 ((uint32_t)0x000000A0) 64 | #define PWR_PVDLevel_2V8 ((uint32_t)0x000000C0) 65 | #define PWR_PVDLevel_2V9 ((uint32_t)0x000000E0) 66 | #define IS_PWR_PVD_LEVEL(LEVEL) (((LEVEL) == PWR_PVDLevel_2V2) || ((LEVEL) == PWR_PVDLevel_2V3)|| \ 67 | ((LEVEL) == PWR_PVDLevel_2V4) || ((LEVEL) == PWR_PVDLevel_2V5)|| \ 68 | ((LEVEL) == PWR_PVDLevel_2V6) || ((LEVEL) == PWR_PVDLevel_2V7)|| \ 69 | ((LEVEL) == PWR_PVDLevel_2V8) || ((LEVEL) == PWR_PVDLevel_2V9)) 70 | /** 71 | * @} 72 | */ 73 | 74 | /** @defgroup Regulator_state_is_STOP_mode 75 | * @{ 76 | */ 77 | 78 | #define PWR_Regulator_ON ((uint32_t)0x00000000) 79 | #define PWR_Regulator_LowPower ((uint32_t)0x00000001) 80 | #define IS_PWR_REGULATOR(REGULATOR) (((REGULATOR) == PWR_Regulator_ON) || \ 81 | ((REGULATOR) == PWR_Regulator_LowPower)) 82 | /** 83 | * @} 84 | */ 85 | 86 | /** @defgroup STOP_mode_entry 87 | * @{ 88 | */ 89 | 90 | #define PWR_STOPEntry_WFI ((uint8_t)0x01) 91 | #define PWR_STOPEntry_WFE ((uint8_t)0x02) 92 | #define IS_PWR_STOP_ENTRY(ENTRY) (((ENTRY) == PWR_STOPEntry_WFI) || ((ENTRY) == PWR_STOPEntry_WFE)) 93 | 94 | /** 95 | * @} 96 | */ 97 | 98 | /** @defgroup PWR_Flag 99 | * @{ 100 | */ 101 | 102 | #define PWR_FLAG_WU ((uint32_t)0x00000001) 103 | #define PWR_FLAG_SB ((uint32_t)0x00000002) 104 | #define PWR_FLAG_PVDO ((uint32_t)0x00000004) 105 | #define IS_PWR_GET_FLAG(FLAG) (((FLAG) == PWR_FLAG_WU) || ((FLAG) == PWR_FLAG_SB) || \ 106 | ((FLAG) == PWR_FLAG_PVDO)) 107 | 108 | #define IS_PWR_CLEAR_FLAG(FLAG) (((FLAG) == PWR_FLAG_WU) || ((FLAG) == PWR_FLAG_SB)) 109 | /** 110 | * @} 111 | */ 112 | 113 | /** 114 | * @} 115 | */ 116 | 117 | /** @defgroup PWR_Exported_Macros 118 | * @{ 119 | */ 120 | 121 | /** 122 | * @} 123 | */ 124 | 125 | /** @defgroup PWR_Exported_Functions 126 | * @{ 127 | */ 128 | 129 | void PWR_DeInit(void); 130 | void PWR_BackupAccessCmd(FunctionalState NewState); 131 | void PWR_PVDCmd(FunctionalState NewState); 132 | void PWR_PVDLevelConfig(uint32_t PWR_PVDLevel); 133 | void PWR_WakeUpPinCmd(FunctionalState NewState); 134 | void PWR_EnterSTOPMode(uint32_t PWR_Regulator, uint8_t PWR_STOPEntry); 135 | void PWR_EnterSTANDBYMode(void); 136 | FlagStatus PWR_GetFlagStatus(uint32_t PWR_FLAG); 137 | void PWR_ClearFlag(uint32_t PWR_FLAG); 138 | 139 | #ifdef __cplusplus 140 | } 141 | #endif 142 | 143 | #endif /* __STM32F10x_PWR_H */ 144 | /** 145 | * @} 146 | */ 147 | 148 | /** 149 | * @} 150 | */ 151 | 152 | /** 153 | * @} 154 | */ 155 | 156 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 157 | -------------------------------------------------------------------------------- /Libraries/STM32F10x_StdPeriph_Driver/inc/stm32f10x_rtc.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_rtc.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file contains all the functions prototypes for the RTC firmware 8 | * library. 9 | ****************************************************************************** 10 | * @attention 11 | * 12 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 13 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 14 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 15 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 16 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 17 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 18 | * 19 | *

© COPYRIGHT 2011 STMicroelectronics

20 | ****************************************************************************** 21 | */ 22 | 23 | /* Define to prevent recursive inclusion -------------------------------------*/ 24 | #ifndef __STM32F10x_RTC_H 25 | #define __STM32F10x_RTC_H 26 | 27 | #ifdef __cplusplus 28 | extern "C" { 29 | #endif 30 | 31 | /* Includes ------------------------------------------------------------------*/ 32 | #include "stm32f10x.h" 33 | 34 | /** @addtogroup STM32F10x_StdPeriph_Driver 35 | * @{ 36 | */ 37 | 38 | /** @addtogroup RTC 39 | * @{ 40 | */ 41 | 42 | /** @defgroup RTC_Exported_Types 43 | * @{ 44 | */ 45 | 46 | /** 47 | * @} 48 | */ 49 | 50 | /** @defgroup RTC_Exported_Constants 51 | * @{ 52 | */ 53 | 54 | /** @defgroup RTC_interrupts_define 55 | * @{ 56 | */ 57 | 58 | #define RTC_IT_OW ((uint16_t)0x0004) /*!< Overflow interrupt */ 59 | #define RTC_IT_ALR ((uint16_t)0x0002) /*!< Alarm interrupt */ 60 | #define RTC_IT_SEC ((uint16_t)0x0001) /*!< Second interrupt */ 61 | #define IS_RTC_IT(IT) ((((IT) & (uint16_t)0xFFF8) == 0x00) && ((IT) != 0x00)) 62 | #define IS_RTC_GET_IT(IT) (((IT) == RTC_IT_OW) || ((IT) == RTC_IT_ALR) || \ 63 | ((IT) == RTC_IT_SEC)) 64 | /** 65 | * @} 66 | */ 67 | 68 | /** @defgroup RTC_interrupts_flags 69 | * @{ 70 | */ 71 | 72 | #define RTC_FLAG_RTOFF ((uint16_t)0x0020) /*!< RTC Operation OFF flag */ 73 | #define RTC_FLAG_RSF ((uint16_t)0x0008) /*!< Registers Synchronized flag */ 74 | #define RTC_FLAG_OW ((uint16_t)0x0004) /*!< Overflow flag */ 75 | #define RTC_FLAG_ALR ((uint16_t)0x0002) /*!< Alarm flag */ 76 | #define RTC_FLAG_SEC ((uint16_t)0x0001) /*!< Second flag */ 77 | #define IS_RTC_CLEAR_FLAG(FLAG) ((((FLAG) & (uint16_t)0xFFF0) == 0x00) && ((FLAG) != 0x00)) 78 | #define IS_RTC_GET_FLAG(FLAG) (((FLAG) == RTC_FLAG_RTOFF) || ((FLAG) == RTC_FLAG_RSF) || \ 79 | ((FLAG) == RTC_FLAG_OW) || ((FLAG) == RTC_FLAG_ALR) || \ 80 | ((FLAG) == RTC_FLAG_SEC)) 81 | #define IS_RTC_PRESCALER(PRESCALER) ((PRESCALER) <= 0xFFFFF) 82 | 83 | /** 84 | * @} 85 | */ 86 | 87 | /** 88 | * @} 89 | */ 90 | 91 | /** @defgroup RTC_Exported_Macros 92 | * @{ 93 | */ 94 | 95 | /** 96 | * @} 97 | */ 98 | 99 | /** @defgroup RTC_Exported_Functions 100 | * @{ 101 | */ 102 | 103 | void RTC_ITConfig(uint16_t RTC_IT, FunctionalState NewState); 104 | void RTC_EnterConfigMode(void); 105 | void RTC_ExitConfigMode(void); 106 | uint32_t RTC_GetCounter(void); 107 | void RTC_SetCounter(uint32_t CounterValue); 108 | void RTC_SetPrescaler(uint32_t PrescalerValue); 109 | void RTC_SetAlarm(uint32_t AlarmValue); 110 | uint32_t RTC_GetDivider(void); 111 | void RTC_WaitForLastTask(void); 112 | void RTC_WaitForSynchro(void); 113 | FlagStatus RTC_GetFlagStatus(uint16_t RTC_FLAG); 114 | void RTC_ClearFlag(uint16_t RTC_FLAG); 115 | ITStatus RTC_GetITStatus(uint16_t RTC_IT); 116 | void RTC_ClearITPendingBit(uint16_t RTC_IT); 117 | 118 | #ifdef __cplusplus 119 | } 120 | #endif 121 | 122 | #endif /* __STM32F10x_RTC_H */ 123 | /** 124 | * @} 125 | */ 126 | 127 | /** 128 | * @} 129 | */ 130 | 131 | /** 132 | * @} 133 | */ 134 | 135 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 136 | -------------------------------------------------------------------------------- /Libraries/STM32F10x_StdPeriph_Driver/inc/stm32f10x_wwdg.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_wwdg.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file contains all the functions prototypes for the WWDG firmware 8 | * library. 9 | ****************************************************************************** 10 | * @attention 11 | * 12 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 13 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 14 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 15 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 16 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 17 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 18 | * 19 | *

© COPYRIGHT 2011 STMicroelectronics

20 | ****************************************************************************** 21 | */ 22 | 23 | /* Define to prevent recursive inclusion -------------------------------------*/ 24 | #ifndef __STM32F10x_WWDG_H 25 | #define __STM32F10x_WWDG_H 26 | 27 | #ifdef __cplusplus 28 | extern "C" { 29 | #endif 30 | 31 | /* Includes ------------------------------------------------------------------*/ 32 | #include "stm32f10x.h" 33 | 34 | /** @addtogroup STM32F10x_StdPeriph_Driver 35 | * @{ 36 | */ 37 | 38 | /** @addtogroup WWDG 39 | * @{ 40 | */ 41 | 42 | /** @defgroup WWDG_Exported_Types 43 | * @{ 44 | */ 45 | 46 | /** 47 | * @} 48 | */ 49 | 50 | /** @defgroup WWDG_Exported_Constants 51 | * @{ 52 | */ 53 | 54 | /** @defgroup WWDG_Prescaler 55 | * @{ 56 | */ 57 | 58 | #define WWDG_Prescaler_1 ((uint32_t)0x00000000) 59 | #define WWDG_Prescaler_2 ((uint32_t)0x00000080) 60 | #define WWDG_Prescaler_4 ((uint32_t)0x00000100) 61 | #define WWDG_Prescaler_8 ((uint32_t)0x00000180) 62 | #define IS_WWDG_PRESCALER(PRESCALER) (((PRESCALER) == WWDG_Prescaler_1) || \ 63 | ((PRESCALER) == WWDG_Prescaler_2) || \ 64 | ((PRESCALER) == WWDG_Prescaler_4) || \ 65 | ((PRESCALER) == WWDG_Prescaler_8)) 66 | #define IS_WWDG_WINDOW_VALUE(VALUE) ((VALUE) <= 0x7F) 67 | #define IS_WWDG_COUNTER(COUNTER) (((COUNTER) >= 0x40) && ((COUNTER) <= 0x7F)) 68 | 69 | /** 70 | * @} 71 | */ 72 | 73 | /** 74 | * @} 75 | */ 76 | 77 | /** @defgroup WWDG_Exported_Macros 78 | * @{ 79 | */ 80 | /** 81 | * @} 82 | */ 83 | 84 | /** @defgroup WWDG_Exported_Functions 85 | * @{ 86 | */ 87 | 88 | void WWDG_DeInit(void); 89 | void WWDG_SetPrescaler(uint32_t WWDG_Prescaler); 90 | void WWDG_SetWindowValue(uint8_t WindowValue); 91 | void WWDG_EnableIT(void); 92 | void WWDG_SetCounter(uint8_t Counter); 93 | void WWDG_Enable(uint8_t Counter); 94 | FlagStatus WWDG_GetFlagStatus(void); 95 | void WWDG_ClearFlag(void); 96 | 97 | #ifdef __cplusplus 98 | } 99 | #endif 100 | 101 | #endif /* __STM32F10x_WWDG_H */ 102 | 103 | /** 104 | * @} 105 | */ 106 | 107 | /** 108 | * @} 109 | */ 110 | 111 | /** 112 | * @} 113 | */ 114 | 115 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 116 | -------------------------------------------------------------------------------- /Libraries/STM32F10x_StdPeriph_Driver/src/misc.c: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file misc.c 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file provides all the miscellaneous firmware functions (add-on 8 | * to CMSIS functions). 9 | ****************************************************************************** 10 | * @attention 11 | * 12 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 13 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 14 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 15 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 16 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 17 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 18 | * 19 | *

© COPYRIGHT 2011 STMicroelectronics

20 | ****************************************************************************** 21 | */ 22 | 23 | /* Includes ------------------------------------------------------------------*/ 24 | #include "misc.h" 25 | 26 | /** @addtogroup STM32F10x_StdPeriph_Driver 27 | * @{ 28 | */ 29 | 30 | /** @defgroup MISC 31 | * @brief MISC driver modules 32 | * @{ 33 | */ 34 | 35 | /** @defgroup MISC_Private_TypesDefinitions 36 | * @{ 37 | */ 38 | 39 | /** 40 | * @} 41 | */ 42 | 43 | /** @defgroup MISC_Private_Defines 44 | * @{ 45 | */ 46 | 47 | #define AIRCR_VECTKEY_MASK ((uint32_t)0x05FA0000) 48 | /** 49 | * @} 50 | */ 51 | 52 | /** @defgroup MISC_Private_Macros 53 | * @{ 54 | */ 55 | 56 | /** 57 | * @} 58 | */ 59 | 60 | /** @defgroup MISC_Private_Variables 61 | * @{ 62 | */ 63 | 64 | /** 65 | * @} 66 | */ 67 | 68 | /** @defgroup MISC_Private_FunctionPrototypes 69 | * @{ 70 | */ 71 | 72 | /** 73 | * @} 74 | */ 75 | 76 | /** @defgroup MISC_Private_Functions 77 | * @{ 78 | */ 79 | 80 | /** 81 | * @brief Configures the priority grouping: pre-emption priority and subpriority. 82 | * @param NVIC_PriorityGroup: specifies the priority grouping bits length. 83 | * This parameter can be one of the following values: 84 | * @arg NVIC_PriorityGroup_0: 0 bits for pre-emption priority 85 | * 4 bits for subpriority 86 | * @arg NVIC_PriorityGroup_1: 1 bits for pre-emption priority 87 | * 3 bits for subpriority 88 | * @arg NVIC_PriorityGroup_2: 2 bits for pre-emption priority 89 | * 2 bits for subpriority 90 | * @arg NVIC_PriorityGroup_3: 3 bits for pre-emption priority 91 | * 1 bits for subpriority 92 | * @arg NVIC_PriorityGroup_4: 4 bits for pre-emption priority 93 | * 0 bits for subpriority 94 | * @retval None 95 | */ 96 | void NVIC_PriorityGroupConfig(uint32_t NVIC_PriorityGroup) 97 | { 98 | /* Check the parameters */ 99 | assert_param(IS_NVIC_PRIORITY_GROUP(NVIC_PriorityGroup)); 100 | 101 | /* Set the PRIGROUP[10:8] bits according to NVIC_PriorityGroup value */ 102 | SCB->AIRCR = AIRCR_VECTKEY_MASK | NVIC_PriorityGroup; 103 | } 104 | 105 | /** 106 | * @brief Initializes the NVIC peripheral according to the specified 107 | * parameters in the NVIC_InitStruct. 108 | * @param NVIC_InitStruct: pointer to a NVIC_InitTypeDef structure that contains 109 | * the configuration information for the specified NVIC peripheral. 110 | * @retval None 111 | */ 112 | void NVIC_Init(NVIC_InitTypeDef* NVIC_InitStruct) 113 | { 114 | uint32_t tmppriority = 0x00, tmppre = 0x00, tmpsub = 0x0F; 115 | 116 | /* Check the parameters */ 117 | assert_param(IS_FUNCTIONAL_STATE(NVIC_InitStruct->NVIC_IRQChannelCmd)); 118 | assert_param(IS_NVIC_PREEMPTION_PRIORITY(NVIC_InitStruct->NVIC_IRQChannelPreemptionPriority)); 119 | assert_param(IS_NVIC_SUB_PRIORITY(NVIC_InitStruct->NVIC_IRQChannelSubPriority)); 120 | 121 | if (NVIC_InitStruct->NVIC_IRQChannelCmd != DISABLE) 122 | { 123 | /* Compute the Corresponding IRQ Priority --------------------------------*/ 124 | tmppriority = (0x700 - ((SCB->AIRCR) & (uint32_t)0x700))>> 0x08; 125 | tmppre = (0x4 - tmppriority); 126 | tmpsub = tmpsub >> tmppriority; 127 | 128 | tmppriority = (uint32_t)NVIC_InitStruct->NVIC_IRQChannelPreemptionPriority << tmppre; 129 | tmppriority |= NVIC_InitStruct->NVIC_IRQChannelSubPriority & tmpsub; 130 | tmppriority = tmppriority << 0x04; 131 | 132 | NVIC->IP[NVIC_InitStruct->NVIC_IRQChannel] = tmppriority; 133 | 134 | /* Enable the Selected IRQ Channels --------------------------------------*/ 135 | NVIC->ISER[NVIC_InitStruct->NVIC_IRQChannel >> 0x05] = 136 | (uint32_t)0x01 << (NVIC_InitStruct->NVIC_IRQChannel & (uint8_t)0x1F); 137 | } 138 | else 139 | { 140 | /* Disable the Selected IRQ Channels -------------------------------------*/ 141 | NVIC->ICER[NVIC_InitStruct->NVIC_IRQChannel >> 0x05] = 142 | (uint32_t)0x01 << (NVIC_InitStruct->NVIC_IRQChannel & (uint8_t)0x1F); 143 | } 144 | } 145 | 146 | /** 147 | * @brief Sets the vector table location and Offset. 148 | * @param NVIC_VectTab: specifies if the vector table is in RAM or FLASH memory. 149 | * This parameter can be one of the following values: 150 | * @arg NVIC_VectTab_RAM 151 | * @arg NVIC_VectTab_FLASH 152 | * @param Offset: Vector Table base offset field. This value must be a multiple 153 | * of 0x200. 154 | * @retval None 155 | */ 156 | void NVIC_SetVectorTable(uint32_t NVIC_VectTab, uint32_t Offset) 157 | { 158 | /* Check the parameters */ 159 | assert_param(IS_NVIC_VECTTAB(NVIC_VectTab)); 160 | assert_param(IS_NVIC_OFFSET(Offset)); 161 | 162 | SCB->VTOR = NVIC_VectTab | (Offset & (uint32_t)0x1FFFFF80); 163 | } 164 | 165 | /** 166 | * @brief Selects the condition for the system to enter low power mode. 167 | * @param LowPowerMode: Specifies the new mode for the system to enter low power mode. 168 | * This parameter can be one of the following values: 169 | * @arg NVIC_LP_SEVONPEND 170 | * @arg NVIC_LP_SLEEPDEEP 171 | * @arg NVIC_LP_SLEEPONEXIT 172 | * @param NewState: new state of LP condition. This parameter can be: ENABLE or DISABLE. 173 | * @retval None 174 | */ 175 | void NVIC_SystemLPConfig(uint8_t LowPowerMode, FunctionalState NewState) 176 | { 177 | /* Check the parameters */ 178 | assert_param(IS_NVIC_LP(LowPowerMode)); 179 | assert_param(IS_FUNCTIONAL_STATE(NewState)); 180 | 181 | if (NewState != DISABLE) 182 | { 183 | SCB->SCR |= LowPowerMode; 184 | } 185 | else 186 | { 187 | SCB->SCR &= (uint32_t)(~(uint32_t)LowPowerMode); 188 | } 189 | } 190 | 191 | /** 192 | * @brief Configures the SysTick clock source. 193 | * @param SysTick_CLKSource: specifies the SysTick clock source. 194 | * This parameter can be one of the following values: 195 | * @arg SysTick_CLKSource_HCLK_Div8: AHB clock divided by 8 selected as SysTick clock source. 196 | * @arg SysTick_CLKSource_HCLK: AHB clock selected as SysTick clock source. 197 | * @retval None 198 | */ 199 | void SysTick_CLKSourceConfig(uint32_t SysTick_CLKSource) 200 | { 201 | /* Check the parameters */ 202 | assert_param(IS_SYSTICK_CLK_SOURCE(SysTick_CLKSource)); 203 | if (SysTick_CLKSource == SysTick_CLKSource_HCLK) 204 | { 205 | SysTick->CTRL |= SysTick_CLKSource_HCLK; 206 | } 207 | else 208 | { 209 | SysTick->CTRL &= SysTick_CLKSource_HCLK_Div8; 210 | } 211 | } 212 | 213 | /** 214 | * @} 215 | */ 216 | 217 | /** 218 | * @} 219 | */ 220 | 221 | /** 222 | * @} 223 | */ 224 | 225 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 226 | -------------------------------------------------------------------------------- /Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_bkp.c: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_bkp.c 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file provides all the BKP firmware functions. 8 | ****************************************************************************** 9 | * @attention 10 | * 11 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 12 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 13 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 14 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 15 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 16 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 17 | * 18 | *

© COPYRIGHT 2011 STMicroelectronics

19 | ****************************************************************************** 20 | */ 21 | 22 | /* Includes ------------------------------------------------------------------*/ 23 | #include "stm32f10x_bkp.h" 24 | #include "stm32f10x_rcc.h" 25 | 26 | /** @addtogroup STM32F10x_StdPeriph_Driver 27 | * @{ 28 | */ 29 | 30 | /** @defgroup BKP 31 | * @brief BKP driver modules 32 | * @{ 33 | */ 34 | 35 | /** @defgroup BKP_Private_TypesDefinitions 36 | * @{ 37 | */ 38 | 39 | /** 40 | * @} 41 | */ 42 | 43 | /** @defgroup BKP_Private_Defines 44 | * @{ 45 | */ 46 | 47 | /* ------------ BKP registers bit address in the alias region --------------- */ 48 | #define BKP_OFFSET (BKP_BASE - PERIPH_BASE) 49 | 50 | /* --- CR Register ----*/ 51 | 52 | /* Alias word address of TPAL bit */ 53 | #define CR_OFFSET (BKP_OFFSET + 0x30) 54 | #define TPAL_BitNumber 0x01 55 | #define CR_TPAL_BB (PERIPH_BB_BASE + (CR_OFFSET * 32) + (TPAL_BitNumber * 4)) 56 | 57 | /* Alias word address of TPE bit */ 58 | #define TPE_BitNumber 0x00 59 | #define CR_TPE_BB (PERIPH_BB_BASE + (CR_OFFSET * 32) + (TPE_BitNumber * 4)) 60 | 61 | /* --- CSR Register ---*/ 62 | 63 | /* Alias word address of TPIE bit */ 64 | #define CSR_OFFSET (BKP_OFFSET + 0x34) 65 | #define TPIE_BitNumber 0x02 66 | #define CSR_TPIE_BB (PERIPH_BB_BASE + (CSR_OFFSET * 32) + (TPIE_BitNumber * 4)) 67 | 68 | /* Alias word address of TIF bit */ 69 | #define TIF_BitNumber 0x09 70 | #define CSR_TIF_BB (PERIPH_BB_BASE + (CSR_OFFSET * 32) + (TIF_BitNumber * 4)) 71 | 72 | /* Alias word address of TEF bit */ 73 | #define TEF_BitNumber 0x08 74 | #define CSR_TEF_BB (PERIPH_BB_BASE + (CSR_OFFSET * 32) + (TEF_BitNumber * 4)) 75 | 76 | /* ---------------------- BKP registers bit mask ------------------------ */ 77 | 78 | /* RTCCR register bit mask */ 79 | #define RTCCR_CAL_MASK ((uint16_t)0xFF80) 80 | #define RTCCR_MASK ((uint16_t)0xFC7F) 81 | 82 | /** 83 | * @} 84 | */ 85 | 86 | 87 | /** @defgroup BKP_Private_Macros 88 | * @{ 89 | */ 90 | 91 | /** 92 | * @} 93 | */ 94 | 95 | /** @defgroup BKP_Private_Variables 96 | * @{ 97 | */ 98 | 99 | /** 100 | * @} 101 | */ 102 | 103 | /** @defgroup BKP_Private_FunctionPrototypes 104 | * @{ 105 | */ 106 | 107 | /** 108 | * @} 109 | */ 110 | 111 | /** @defgroup BKP_Private_Functions 112 | * @{ 113 | */ 114 | 115 | /** 116 | * @brief Deinitializes the BKP peripheral registers to their default reset values. 117 | * @param None 118 | * @retval None 119 | */ 120 | void BKP_DeInit(void) 121 | { 122 | RCC_BackupResetCmd(ENABLE); 123 | RCC_BackupResetCmd(DISABLE); 124 | } 125 | 126 | /** 127 | * @brief Configures the Tamper Pin active level. 128 | * @param BKP_TamperPinLevel: specifies the Tamper Pin active level. 129 | * This parameter can be one of the following values: 130 | * @arg BKP_TamperPinLevel_High: Tamper pin active on high level 131 | * @arg BKP_TamperPinLevel_Low: Tamper pin active on low level 132 | * @retval None 133 | */ 134 | void BKP_TamperPinLevelConfig(uint16_t BKP_TamperPinLevel) 135 | { 136 | /* Check the parameters */ 137 | assert_param(IS_BKP_TAMPER_PIN_LEVEL(BKP_TamperPinLevel)); 138 | *(__IO uint32_t *) CR_TPAL_BB = BKP_TamperPinLevel; 139 | } 140 | 141 | /** 142 | * @brief Enables or disables the Tamper Pin activation. 143 | * @param NewState: new state of the Tamper Pin activation. 144 | * This parameter can be: ENABLE or DISABLE. 145 | * @retval None 146 | */ 147 | void BKP_TamperPinCmd(FunctionalState NewState) 148 | { 149 | /* Check the parameters */ 150 | assert_param(IS_FUNCTIONAL_STATE(NewState)); 151 | *(__IO uint32_t *) CR_TPE_BB = (uint32_t)NewState; 152 | } 153 | 154 | /** 155 | * @brief Enables or disables the Tamper Pin Interrupt. 156 | * @param NewState: new state of the Tamper Pin Interrupt. 157 | * This parameter can be: ENABLE or DISABLE. 158 | * @retval None 159 | */ 160 | void BKP_ITConfig(FunctionalState NewState) 161 | { 162 | /* Check the parameters */ 163 | assert_param(IS_FUNCTIONAL_STATE(NewState)); 164 | *(__IO uint32_t *) CSR_TPIE_BB = (uint32_t)NewState; 165 | } 166 | 167 | /** 168 | * @brief Select the RTC output source to output on the Tamper pin. 169 | * @param BKP_RTCOutputSource: specifies the RTC output source. 170 | * This parameter can be one of the following values: 171 | * @arg BKP_RTCOutputSource_None: no RTC output on the Tamper pin. 172 | * @arg BKP_RTCOutputSource_CalibClock: output the RTC clock with frequency 173 | * divided by 64 on the Tamper pin. 174 | * @arg BKP_RTCOutputSource_Alarm: output the RTC Alarm pulse signal on 175 | * the Tamper pin. 176 | * @arg BKP_RTCOutputSource_Second: output the RTC Second pulse signal on 177 | * the Tamper pin. 178 | * @retval None 179 | */ 180 | void BKP_RTCOutputConfig(uint16_t BKP_RTCOutputSource) 181 | { 182 | uint16_t tmpreg = 0; 183 | /* Check the parameters */ 184 | assert_param(IS_BKP_RTC_OUTPUT_SOURCE(BKP_RTCOutputSource)); 185 | tmpreg = BKP->RTCCR; 186 | /* Clear CCO, ASOE and ASOS bits */ 187 | tmpreg &= RTCCR_MASK; 188 | 189 | /* Set CCO, ASOE and ASOS bits according to BKP_RTCOutputSource value */ 190 | tmpreg |= BKP_RTCOutputSource; 191 | /* Store the new value */ 192 | BKP->RTCCR = tmpreg; 193 | } 194 | 195 | /** 196 | * @brief Sets RTC Clock Calibration value. 197 | * @param CalibrationValue: specifies the RTC Clock Calibration value. 198 | * This parameter must be a number between 0 and 0x7F. 199 | * @retval None 200 | */ 201 | void BKP_SetRTCCalibrationValue(uint8_t CalibrationValue) 202 | { 203 | uint16_t tmpreg = 0; 204 | /* Check the parameters */ 205 | assert_param(IS_BKP_CALIBRATION_VALUE(CalibrationValue)); 206 | tmpreg = BKP->RTCCR; 207 | /* Clear CAL[6:0] bits */ 208 | tmpreg &= RTCCR_CAL_MASK; 209 | /* Set CAL[6:0] bits according to CalibrationValue value */ 210 | tmpreg |= CalibrationValue; 211 | /* Store the new value */ 212 | BKP->RTCCR = tmpreg; 213 | } 214 | 215 | /** 216 | * @brief Writes user data to the specified Data Backup Register. 217 | * @param BKP_DR: specifies the Data Backup Register. 218 | * This parameter can be BKP_DRx where x:[1, 42] 219 | * @param Data: data to write 220 | * @retval None 221 | */ 222 | void BKP_WriteBackupRegister(uint16_t BKP_DR, uint16_t Data) 223 | { 224 | __IO uint32_t tmp = 0; 225 | 226 | /* Check the parameters */ 227 | assert_param(IS_BKP_DR(BKP_DR)); 228 | 229 | tmp = (uint32_t)BKP_BASE; 230 | tmp += BKP_DR; 231 | 232 | *(__IO uint32_t *) tmp = Data; 233 | } 234 | 235 | /** 236 | * @brief Reads data from the specified Data Backup Register. 237 | * @param BKP_DR: specifies the Data Backup Register. 238 | * This parameter can be BKP_DRx where x:[1, 42] 239 | * @retval The content of the specified Data Backup Register 240 | */ 241 | uint16_t BKP_ReadBackupRegister(uint16_t BKP_DR) 242 | { 243 | __IO uint32_t tmp = 0; 244 | 245 | /* Check the parameters */ 246 | assert_param(IS_BKP_DR(BKP_DR)); 247 | 248 | tmp = (uint32_t)BKP_BASE; 249 | tmp += BKP_DR; 250 | 251 | return (*(__IO uint16_t *) tmp); 252 | } 253 | 254 | /** 255 | * @brief Checks whether the Tamper Pin Event flag is set or not. 256 | * @param None 257 | * @retval The new state of the Tamper Pin Event flag (SET or RESET). 258 | */ 259 | FlagStatus BKP_GetFlagStatus(void) 260 | { 261 | return (FlagStatus)(*(__IO uint32_t *) CSR_TEF_BB); 262 | } 263 | 264 | /** 265 | * @brief Clears Tamper Pin Event pending flag. 266 | * @param None 267 | * @retval None 268 | */ 269 | void BKP_ClearFlag(void) 270 | { 271 | /* Set CTE bit to clear Tamper Pin Event flag */ 272 | BKP->CSR |= BKP_CSR_CTE; 273 | } 274 | 275 | /** 276 | * @brief Checks whether the Tamper Pin Interrupt has occurred or not. 277 | * @param None 278 | * @retval The new state of the Tamper Pin Interrupt (SET or RESET). 279 | */ 280 | ITStatus BKP_GetITStatus(void) 281 | { 282 | return (ITStatus)(*(__IO uint32_t *) CSR_TIF_BB); 283 | } 284 | 285 | /** 286 | * @brief Clears Tamper Pin Interrupt pending bit. 287 | * @param None 288 | * @retval None 289 | */ 290 | void BKP_ClearITPendingBit(void) 291 | { 292 | /* Set CTI bit to clear Tamper Pin Interrupt pending bit */ 293 | BKP->CSR |= BKP_CSR_CTI; 294 | } 295 | 296 | /** 297 | * @} 298 | */ 299 | 300 | /** 301 | * @} 302 | */ 303 | 304 | /** 305 | * @} 306 | */ 307 | 308 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 309 | -------------------------------------------------------------------------------- /Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_crc.c: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_crc.c 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file provides all the CRC firmware functions. 8 | ****************************************************************************** 9 | * @attention 10 | * 11 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 12 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 13 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 14 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 15 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 16 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 17 | * 18 | *

© COPYRIGHT 2011 STMicroelectronics

19 | ****************************************************************************** 20 | */ 21 | 22 | /* Includes ------------------------------------------------------------------*/ 23 | #include "stm32f10x_crc.h" 24 | 25 | /** @addtogroup STM32F10x_StdPeriph_Driver 26 | * @{ 27 | */ 28 | 29 | /** @defgroup CRC 30 | * @brief CRC driver modules 31 | * @{ 32 | */ 33 | 34 | /** @defgroup CRC_Private_TypesDefinitions 35 | * @{ 36 | */ 37 | 38 | /** 39 | * @} 40 | */ 41 | 42 | /** @defgroup CRC_Private_Defines 43 | * @{ 44 | */ 45 | 46 | /** 47 | * @} 48 | */ 49 | 50 | /** @defgroup CRC_Private_Macros 51 | * @{ 52 | */ 53 | 54 | /** 55 | * @} 56 | */ 57 | 58 | /** @defgroup CRC_Private_Variables 59 | * @{ 60 | */ 61 | 62 | /** 63 | * @} 64 | */ 65 | 66 | /** @defgroup CRC_Private_FunctionPrototypes 67 | * @{ 68 | */ 69 | 70 | /** 71 | * @} 72 | */ 73 | 74 | /** @defgroup CRC_Private_Functions 75 | * @{ 76 | */ 77 | 78 | /** 79 | * @brief Resets the CRC Data register (DR). 80 | * @param None 81 | * @retval None 82 | */ 83 | void CRC_ResetDR(void) 84 | { 85 | /* Reset CRC generator */ 86 | CRC->CR = CRC_CR_RESET; 87 | } 88 | 89 | /** 90 | * @brief Computes the 32-bit CRC of a given data word(32-bit). 91 | * @param Data: data word(32-bit) to compute its CRC 92 | * @retval 32-bit CRC 93 | */ 94 | uint32_t CRC_CalcCRC(uint32_t Data) 95 | { 96 | CRC->DR = Data; 97 | 98 | return (CRC->DR); 99 | } 100 | 101 | /** 102 | * @brief Computes the 32-bit CRC of a given buffer of data word(32-bit). 103 | * @param pBuffer: pointer to the buffer containing the data to be computed 104 | * @param BufferLength: length of the buffer to be computed 105 | * @retval 32-bit CRC 106 | */ 107 | uint32_t CRC_CalcBlockCRC(uint32_t pBuffer[], uint32_t BufferLength) 108 | { 109 | uint32_t index = 0; 110 | 111 | for(index = 0; index < BufferLength; index++) 112 | { 113 | CRC->DR = pBuffer[index]; 114 | } 115 | return (CRC->DR); 116 | } 117 | 118 | /** 119 | * @brief Returns the current CRC value. 120 | * @param None 121 | * @retval 32-bit CRC 122 | */ 123 | uint32_t CRC_GetCRC(void) 124 | { 125 | return (CRC->DR); 126 | } 127 | 128 | /** 129 | * @brief Stores a 8-bit data in the Independent Data(ID) register. 130 | * @param IDValue: 8-bit value to be stored in the ID register 131 | * @retval None 132 | */ 133 | void CRC_SetIDRegister(uint8_t IDValue) 134 | { 135 | CRC->IDR = IDValue; 136 | } 137 | 138 | /** 139 | * @brief Returns the 8-bit data stored in the Independent Data(ID) register 140 | * @param None 141 | * @retval 8-bit value of the ID register 142 | */ 143 | uint8_t CRC_GetIDRegister(void) 144 | { 145 | return (CRC->IDR); 146 | } 147 | 148 | /** 149 | * @} 150 | */ 151 | 152 | /** 153 | * @} 154 | */ 155 | 156 | /** 157 | * @} 158 | */ 159 | 160 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 161 | -------------------------------------------------------------------------------- /Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_dbgmcu.c: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_dbgmcu.c 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file provides all the DBGMCU firmware functions. 8 | ****************************************************************************** 9 | * @attention 10 | * 11 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 12 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 13 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 14 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 15 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 16 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 17 | * 18 | *

© COPYRIGHT 2011 STMicroelectronics

19 | ****************************************************************************** 20 | */ 21 | 22 | /* Includes ------------------------------------------------------------------*/ 23 | #include "stm32f10x_dbgmcu.h" 24 | 25 | /** @addtogroup STM32F10x_StdPeriph_Driver 26 | * @{ 27 | */ 28 | 29 | /** @defgroup DBGMCU 30 | * @brief DBGMCU driver modules 31 | * @{ 32 | */ 33 | 34 | /** @defgroup DBGMCU_Private_TypesDefinitions 35 | * @{ 36 | */ 37 | 38 | /** 39 | * @} 40 | */ 41 | 42 | /** @defgroup DBGMCU_Private_Defines 43 | * @{ 44 | */ 45 | 46 | #define IDCODE_DEVID_MASK ((uint32_t)0x00000FFF) 47 | /** 48 | * @} 49 | */ 50 | 51 | /** @defgroup DBGMCU_Private_Macros 52 | * @{ 53 | */ 54 | 55 | /** 56 | * @} 57 | */ 58 | 59 | /** @defgroup DBGMCU_Private_Variables 60 | * @{ 61 | */ 62 | 63 | /** 64 | * @} 65 | */ 66 | 67 | /** @defgroup DBGMCU_Private_FunctionPrototypes 68 | * @{ 69 | */ 70 | 71 | /** 72 | * @} 73 | */ 74 | 75 | /** @defgroup DBGMCU_Private_Functions 76 | * @{ 77 | */ 78 | 79 | /** 80 | * @brief Returns the device revision identifier. 81 | * @param None 82 | * @retval Device revision identifier 83 | */ 84 | uint32_t DBGMCU_GetREVID(void) 85 | { 86 | return(DBGMCU->IDCODE >> 16); 87 | } 88 | 89 | /** 90 | * @brief Returns the device identifier. 91 | * @param None 92 | * @retval Device identifier 93 | */ 94 | uint32_t DBGMCU_GetDEVID(void) 95 | { 96 | return(DBGMCU->IDCODE & IDCODE_DEVID_MASK); 97 | } 98 | 99 | /** 100 | * @brief Configures the specified peripheral and low power mode behavior 101 | * when the MCU under Debug mode. 102 | * @param DBGMCU_Periph: specifies the peripheral and low power mode. 103 | * This parameter can be any combination of the following values: 104 | * @arg DBGMCU_SLEEP: Keep debugger connection during SLEEP mode 105 | * @arg DBGMCU_STOP: Keep debugger connection during STOP mode 106 | * @arg DBGMCU_STANDBY: Keep debugger connection during STANDBY mode 107 | * @arg DBGMCU_IWDG_STOP: Debug IWDG stopped when Core is halted 108 | * @arg DBGMCU_WWDG_STOP: Debug WWDG stopped when Core is halted 109 | * @arg DBGMCU_TIM1_STOP: TIM1 counter stopped when Core is halted 110 | * @arg DBGMCU_TIM2_STOP: TIM2 counter stopped when Core is halted 111 | * @arg DBGMCU_TIM3_STOP: TIM3 counter stopped when Core is halted 112 | * @arg DBGMCU_TIM4_STOP: TIM4 counter stopped when Core is halted 113 | * @arg DBGMCU_CAN1_STOP: Debug CAN2 stopped when Core is halted 114 | * @arg DBGMCU_I2C1_SMBUS_TIMEOUT: I2C1 SMBUS timeout mode stopped when Core is halted 115 | * @arg DBGMCU_I2C2_SMBUS_TIMEOUT: I2C2 SMBUS timeout mode stopped when Core is halted 116 | * @arg DBGMCU_TIM5_STOP: TIM5 counter stopped when Core is halted 117 | * @arg DBGMCU_TIM6_STOP: TIM6 counter stopped when Core is halted 118 | * @arg DBGMCU_TIM7_STOP: TIM7 counter stopped when Core is halted 119 | * @arg DBGMCU_TIM8_STOP: TIM8 counter stopped when Core is halted 120 | * @arg DBGMCU_CAN2_STOP: Debug CAN2 stopped when Core is halted 121 | * @arg DBGMCU_TIM15_STOP: TIM15 counter stopped when Core is halted 122 | * @arg DBGMCU_TIM16_STOP: TIM16 counter stopped when Core is halted 123 | * @arg DBGMCU_TIM17_STOP: TIM17 counter stopped when Core is halted 124 | * @arg DBGMCU_TIM9_STOP: TIM9 counter stopped when Core is halted 125 | * @arg DBGMCU_TIM10_STOP: TIM10 counter stopped when Core is halted 126 | * @arg DBGMCU_TIM11_STOP: TIM11 counter stopped when Core is halted 127 | * @arg DBGMCU_TIM12_STOP: TIM12 counter stopped when Core is halted 128 | * @arg DBGMCU_TIM13_STOP: TIM13 counter stopped when Core is halted 129 | * @arg DBGMCU_TIM14_STOP: TIM14 counter stopped when Core is halted 130 | * @param NewState: new state of the specified peripheral in Debug mode. 131 | * This parameter can be: ENABLE or DISABLE. 132 | * @retval None 133 | */ 134 | void DBGMCU_Config(uint32_t DBGMCU_Periph, FunctionalState NewState) 135 | { 136 | /* Check the parameters */ 137 | assert_param(IS_DBGMCU_PERIPH(DBGMCU_Periph)); 138 | assert_param(IS_FUNCTIONAL_STATE(NewState)); 139 | 140 | if (NewState != DISABLE) 141 | { 142 | DBGMCU->CR |= DBGMCU_Periph; 143 | } 144 | else 145 | { 146 | DBGMCU->CR &= ~DBGMCU_Periph; 147 | } 148 | } 149 | 150 | /** 151 | * @} 152 | */ 153 | 154 | /** 155 | * @} 156 | */ 157 | 158 | /** 159 | * @} 160 | */ 161 | 162 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 163 | -------------------------------------------------------------------------------- /Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_exti.c: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_exti.c 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file provides all the EXTI firmware functions. 8 | ****************************************************************************** 9 | * @attention 10 | * 11 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 12 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 13 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 14 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 15 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 16 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 17 | * 18 | *

© COPYRIGHT 2011 STMicroelectronics

19 | ****************************************************************************** 20 | */ 21 | 22 | /* Includes ------------------------------------------------------------------*/ 23 | #include "stm32f10x_exti.h" 24 | 25 | /** @addtogroup STM32F10x_StdPeriph_Driver 26 | * @{ 27 | */ 28 | 29 | /** @defgroup EXTI 30 | * @brief EXTI driver modules 31 | * @{ 32 | */ 33 | 34 | /** @defgroup EXTI_Private_TypesDefinitions 35 | * @{ 36 | */ 37 | 38 | /** 39 | * @} 40 | */ 41 | 42 | /** @defgroup EXTI_Private_Defines 43 | * @{ 44 | */ 45 | 46 | #define EXTI_LINENONE ((uint32_t)0x00000) /* No interrupt selected */ 47 | 48 | /** 49 | * @} 50 | */ 51 | 52 | /** @defgroup EXTI_Private_Macros 53 | * @{ 54 | */ 55 | 56 | /** 57 | * @} 58 | */ 59 | 60 | /** @defgroup EXTI_Private_Variables 61 | * @{ 62 | */ 63 | 64 | /** 65 | * @} 66 | */ 67 | 68 | /** @defgroup EXTI_Private_FunctionPrototypes 69 | * @{ 70 | */ 71 | 72 | /** 73 | * @} 74 | */ 75 | 76 | /** @defgroup EXTI_Private_Functions 77 | * @{ 78 | */ 79 | 80 | /** 81 | * @brief Deinitializes the EXTI peripheral registers to their default reset values. 82 | * @param None 83 | * @retval None 84 | */ 85 | void EXTI_DeInit(void) 86 | { 87 | EXTI->IMR = 0x00000000; 88 | EXTI->EMR = 0x00000000; 89 | EXTI->RTSR = 0x00000000; 90 | EXTI->FTSR = 0x00000000; 91 | EXTI->PR = 0x000FFFFF; 92 | } 93 | 94 | /** 95 | * @brief Initializes the EXTI peripheral according to the specified 96 | * parameters in the EXTI_InitStruct. 97 | * @param EXTI_InitStruct: pointer to a EXTI_InitTypeDef structure 98 | * that contains the configuration information for the EXTI peripheral. 99 | * @retval None 100 | */ 101 | void EXTI_Init(EXTI_InitTypeDef* EXTI_InitStruct) 102 | { 103 | uint32_t tmp = 0; 104 | 105 | /* Check the parameters */ 106 | assert_param(IS_EXTI_MODE(EXTI_InitStruct->EXTI_Mode)); 107 | assert_param(IS_EXTI_TRIGGER(EXTI_InitStruct->EXTI_Trigger)); 108 | assert_param(IS_EXTI_LINE(EXTI_InitStruct->EXTI_Line)); 109 | assert_param(IS_FUNCTIONAL_STATE(EXTI_InitStruct->EXTI_LineCmd)); 110 | 111 | tmp = (uint32_t)EXTI_BASE; 112 | 113 | if (EXTI_InitStruct->EXTI_LineCmd != DISABLE) 114 | { 115 | /* Clear EXTI line configuration */ 116 | EXTI->IMR &= ~EXTI_InitStruct->EXTI_Line; 117 | EXTI->EMR &= ~EXTI_InitStruct->EXTI_Line; 118 | 119 | tmp += EXTI_InitStruct->EXTI_Mode; 120 | 121 | *(__IO uint32_t *) tmp |= EXTI_InitStruct->EXTI_Line; 122 | 123 | /* Clear Rising Falling edge configuration */ 124 | EXTI->RTSR &= ~EXTI_InitStruct->EXTI_Line; 125 | EXTI->FTSR &= ~EXTI_InitStruct->EXTI_Line; 126 | 127 | /* Select the trigger for the selected external interrupts */ 128 | if (EXTI_InitStruct->EXTI_Trigger == EXTI_Trigger_Rising_Falling) 129 | { 130 | /* Rising Falling edge */ 131 | EXTI->RTSR |= EXTI_InitStruct->EXTI_Line; 132 | EXTI->FTSR |= EXTI_InitStruct->EXTI_Line; 133 | } 134 | else 135 | { 136 | tmp = (uint32_t)EXTI_BASE; 137 | tmp += EXTI_InitStruct->EXTI_Trigger; 138 | 139 | *(__IO uint32_t *) tmp |= EXTI_InitStruct->EXTI_Line; 140 | } 141 | } 142 | else 143 | { 144 | tmp += EXTI_InitStruct->EXTI_Mode; 145 | 146 | /* Disable the selected external lines */ 147 | *(__IO uint32_t *) tmp &= ~EXTI_InitStruct->EXTI_Line; 148 | } 149 | } 150 | 151 | /** 152 | * @brief Fills each EXTI_InitStruct member with its reset value. 153 | * @param EXTI_InitStruct: pointer to a EXTI_InitTypeDef structure which will 154 | * be initialized. 155 | * @retval None 156 | */ 157 | void EXTI_StructInit(EXTI_InitTypeDef* EXTI_InitStruct) 158 | { 159 | EXTI_InitStruct->EXTI_Line = EXTI_LINENONE; 160 | EXTI_InitStruct->EXTI_Mode = EXTI_Mode_Interrupt; 161 | EXTI_InitStruct->EXTI_Trigger = EXTI_Trigger_Falling; 162 | EXTI_InitStruct->EXTI_LineCmd = DISABLE; 163 | } 164 | 165 | /** 166 | * @brief Generates a Software interrupt. 167 | * @param EXTI_Line: specifies the EXTI lines to be enabled or disabled. 168 | * This parameter can be any combination of EXTI_Linex where x can be (0..19). 169 | * @retval None 170 | */ 171 | void EXTI_GenerateSWInterrupt(uint32_t EXTI_Line) 172 | { 173 | /* Check the parameters */ 174 | assert_param(IS_EXTI_LINE(EXTI_Line)); 175 | 176 | EXTI->SWIER |= EXTI_Line; 177 | } 178 | 179 | /** 180 | * @brief Checks whether the specified EXTI line flag is set or not. 181 | * @param EXTI_Line: specifies the EXTI line flag to check. 182 | * This parameter can be: 183 | * @arg EXTI_Linex: External interrupt line x where x(0..19) 184 | * @retval The new state of EXTI_Line (SET or RESET). 185 | */ 186 | FlagStatus EXTI_GetFlagStatus(uint32_t EXTI_Line) 187 | { 188 | FlagStatus bitstatus = RESET; 189 | /* Check the parameters */ 190 | assert_param(IS_GET_EXTI_LINE(EXTI_Line)); 191 | 192 | if ((EXTI->PR & EXTI_Line) != (uint32_t)RESET) 193 | { 194 | bitstatus = SET; 195 | } 196 | else 197 | { 198 | bitstatus = RESET; 199 | } 200 | return bitstatus; 201 | } 202 | 203 | /** 204 | * @brief Clears the EXTI's line pending flags. 205 | * @param EXTI_Line: specifies the EXTI lines flags to clear. 206 | * This parameter can be any combination of EXTI_Linex where x can be (0..19). 207 | * @retval None 208 | */ 209 | void EXTI_ClearFlag(uint32_t EXTI_Line) 210 | { 211 | /* Check the parameters */ 212 | assert_param(IS_EXTI_LINE(EXTI_Line)); 213 | 214 | EXTI->PR = EXTI_Line; 215 | } 216 | 217 | /** 218 | * @brief Checks whether the specified EXTI line is asserted or not. 219 | * @param EXTI_Line: specifies the EXTI line to check. 220 | * This parameter can be: 221 | * @arg EXTI_Linex: External interrupt line x where x(0..19) 222 | * @retval The new state of EXTI_Line (SET or RESET). 223 | */ 224 | ITStatus EXTI_GetITStatus(uint32_t EXTI_Line) 225 | { 226 | ITStatus bitstatus = RESET; 227 | uint32_t enablestatus = 0; 228 | /* Check the parameters */ 229 | assert_param(IS_GET_EXTI_LINE(EXTI_Line)); 230 | 231 | enablestatus = EXTI->IMR & EXTI_Line; 232 | if (((EXTI->PR & EXTI_Line) != (uint32_t)RESET) && (enablestatus != (uint32_t)RESET)) 233 | { 234 | bitstatus = SET; 235 | } 236 | else 237 | { 238 | bitstatus = RESET; 239 | } 240 | return bitstatus; 241 | } 242 | 243 | /** 244 | * @brief Clears the EXTI's line pending bits. 245 | * @param EXTI_Line: specifies the EXTI lines to clear. 246 | * This parameter can be any combination of EXTI_Linex where x can be (0..19). 247 | * @retval None 248 | */ 249 | void EXTI_ClearITPendingBit(uint32_t EXTI_Line) 250 | { 251 | /* Check the parameters */ 252 | assert_param(IS_EXTI_LINE(EXTI_Line)); 253 | 254 | EXTI->PR = EXTI_Line; 255 | } 256 | 257 | /** 258 | * @} 259 | */ 260 | 261 | /** 262 | * @} 263 | */ 264 | 265 | /** 266 | * @} 267 | */ 268 | 269 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 270 | -------------------------------------------------------------------------------- /Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c -------------------------------------------------------------------------------- /Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_i2c.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_i2c.c -------------------------------------------------------------------------------- /Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_iwdg.c: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_iwdg.c 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file provides all the IWDG firmware functions. 8 | ****************************************************************************** 9 | * @attention 10 | * 11 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 12 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 13 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 14 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 15 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 16 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 17 | * 18 | *

© COPYRIGHT 2011 STMicroelectronics

19 | ****************************************************************************** 20 | */ 21 | 22 | /* Includes ------------------------------------------------------------------*/ 23 | #include "stm32f10x_iwdg.h" 24 | 25 | /** @addtogroup STM32F10x_StdPeriph_Driver 26 | * @{ 27 | */ 28 | 29 | /** @defgroup IWDG 30 | * @brief IWDG driver modules 31 | * @{ 32 | */ 33 | 34 | /** @defgroup IWDG_Private_TypesDefinitions 35 | * @{ 36 | */ 37 | 38 | /** 39 | * @} 40 | */ 41 | 42 | /** @defgroup IWDG_Private_Defines 43 | * @{ 44 | */ 45 | 46 | /* ---------------------- IWDG registers bit mask ----------------------------*/ 47 | 48 | /* KR register bit mask */ 49 | #define KR_KEY_Reload ((uint16_t)0xAAAA) 50 | #define KR_KEY_Enable ((uint16_t)0xCCCC) 51 | 52 | /** 53 | * @} 54 | */ 55 | 56 | /** @defgroup IWDG_Private_Macros 57 | * @{ 58 | */ 59 | 60 | /** 61 | * @} 62 | */ 63 | 64 | /** @defgroup IWDG_Private_Variables 65 | * @{ 66 | */ 67 | 68 | /** 69 | * @} 70 | */ 71 | 72 | /** @defgroup IWDG_Private_FunctionPrototypes 73 | * @{ 74 | */ 75 | 76 | /** 77 | * @} 78 | */ 79 | 80 | /** @defgroup IWDG_Private_Functions 81 | * @{ 82 | */ 83 | 84 | /** 85 | * @brief Enables or disables write access to IWDG_PR and IWDG_RLR registers. 86 | * @param IWDG_WriteAccess: new state of write access to IWDG_PR and IWDG_RLR registers. 87 | * This parameter can be one of the following values: 88 | * @arg IWDG_WriteAccess_Enable: Enable write access to IWDG_PR and IWDG_RLR registers 89 | * @arg IWDG_WriteAccess_Disable: Disable write access to IWDG_PR and IWDG_RLR registers 90 | * @retval None 91 | */ 92 | void IWDG_WriteAccessCmd(uint16_t IWDG_WriteAccess) 93 | { 94 | /* Check the parameters */ 95 | assert_param(IS_IWDG_WRITE_ACCESS(IWDG_WriteAccess)); 96 | IWDG->KR = IWDG_WriteAccess; 97 | } 98 | 99 | /** 100 | * @brief Sets IWDG Prescaler value. 101 | * @param IWDG_Prescaler: specifies the IWDG Prescaler value. 102 | * This parameter can be one of the following values: 103 | * @arg IWDG_Prescaler_4: IWDG prescaler set to 4 104 | * @arg IWDG_Prescaler_8: IWDG prescaler set to 8 105 | * @arg IWDG_Prescaler_16: IWDG prescaler set to 16 106 | * @arg IWDG_Prescaler_32: IWDG prescaler set to 32 107 | * @arg IWDG_Prescaler_64: IWDG prescaler set to 64 108 | * @arg IWDG_Prescaler_128: IWDG prescaler set to 128 109 | * @arg IWDG_Prescaler_256: IWDG prescaler set to 256 110 | * @retval None 111 | */ 112 | void IWDG_SetPrescaler(uint8_t IWDG_Prescaler) 113 | { 114 | /* Check the parameters */ 115 | assert_param(IS_IWDG_PRESCALER(IWDG_Prescaler)); 116 | IWDG->PR = IWDG_Prescaler; 117 | } 118 | 119 | /** 120 | * @brief Sets IWDG Reload value. 121 | * @param Reload: specifies the IWDG Reload value. 122 | * This parameter must be a number between 0 and 0x0FFF. 123 | * @retval None 124 | */ 125 | void IWDG_SetReload(uint16_t Reload) 126 | { 127 | /* Check the parameters */ 128 | assert_param(IS_IWDG_RELOAD(Reload)); 129 | IWDG->RLR = Reload; 130 | } 131 | 132 | /** 133 | * @brief Reloads IWDG counter with value defined in the reload register 134 | * (write access to IWDG_PR and IWDG_RLR registers disabled). 135 | * @param None 136 | * @retval None 137 | */ 138 | void IWDG_ReloadCounter(void) 139 | { 140 | IWDG->KR = KR_KEY_Reload; 141 | } 142 | 143 | /** 144 | * @brief Enables IWDG (write access to IWDG_PR and IWDG_RLR registers disabled). 145 | * @param None 146 | * @retval None 147 | */ 148 | void IWDG_Enable(void) 149 | { 150 | IWDG->KR = KR_KEY_Enable; 151 | } 152 | 153 | /** 154 | * @brief Checks whether the specified IWDG flag is set or not. 155 | * @param IWDG_FLAG: specifies the flag to check. 156 | * This parameter can be one of the following values: 157 | * @arg IWDG_FLAG_PVU: Prescaler Value Update on going 158 | * @arg IWDG_FLAG_RVU: Reload Value Update on going 159 | * @retval The new state of IWDG_FLAG (SET or RESET). 160 | */ 161 | FlagStatus IWDG_GetFlagStatus(uint16_t IWDG_FLAG) 162 | { 163 | FlagStatus bitstatus = RESET; 164 | /* Check the parameters */ 165 | assert_param(IS_IWDG_FLAG(IWDG_FLAG)); 166 | if ((IWDG->SR & IWDG_FLAG) != (uint32_t)RESET) 167 | { 168 | bitstatus = SET; 169 | } 170 | else 171 | { 172 | bitstatus = RESET; 173 | } 174 | /* Return the flag status */ 175 | return bitstatus; 176 | } 177 | 178 | /** 179 | * @} 180 | */ 181 | 182 | /** 183 | * @} 184 | */ 185 | 186 | /** 187 | * @} 188 | */ 189 | 190 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 191 | -------------------------------------------------------------------------------- /Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_usart.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_usart.c -------------------------------------------------------------------------------- /Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_wwdg.c: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_wwdg.c 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file provides all the WWDG firmware functions. 8 | ****************************************************************************** 9 | * @attention 10 | * 11 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 12 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 13 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 14 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 15 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 16 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 17 | * 18 | *

© COPYRIGHT 2011 STMicroelectronics

19 | ****************************************************************************** 20 | */ 21 | 22 | /* Includes ------------------------------------------------------------------*/ 23 | #include "stm32f10x_wwdg.h" 24 | #include "stm32f10x_rcc.h" 25 | 26 | /** @addtogroup STM32F10x_StdPeriph_Driver 27 | * @{ 28 | */ 29 | 30 | /** @defgroup WWDG 31 | * @brief WWDG driver modules 32 | * @{ 33 | */ 34 | 35 | /** @defgroup WWDG_Private_TypesDefinitions 36 | * @{ 37 | */ 38 | 39 | /** 40 | * @} 41 | */ 42 | 43 | /** @defgroup WWDG_Private_Defines 44 | * @{ 45 | */ 46 | 47 | /* ----------- WWDG registers bit address in the alias region ----------- */ 48 | #define WWDG_OFFSET (WWDG_BASE - PERIPH_BASE) 49 | 50 | /* Alias word address of EWI bit */ 51 | #define CFR_OFFSET (WWDG_OFFSET + 0x04) 52 | #define EWI_BitNumber 0x09 53 | #define CFR_EWI_BB (PERIPH_BB_BASE + (CFR_OFFSET * 32) + (EWI_BitNumber * 4)) 54 | 55 | /* --------------------- WWDG registers bit mask ------------------------ */ 56 | 57 | /* CR register bit mask */ 58 | #define CR_WDGA_Set ((uint32_t)0x00000080) 59 | 60 | /* CFR register bit mask */ 61 | #define CFR_WDGTB_Mask ((uint32_t)0xFFFFFE7F) 62 | #define CFR_W_Mask ((uint32_t)0xFFFFFF80) 63 | #define BIT_Mask ((uint8_t)0x7F) 64 | 65 | /** 66 | * @} 67 | */ 68 | 69 | /** @defgroup WWDG_Private_Macros 70 | * @{ 71 | */ 72 | 73 | /** 74 | * @} 75 | */ 76 | 77 | /** @defgroup WWDG_Private_Variables 78 | * @{ 79 | */ 80 | 81 | /** 82 | * @} 83 | */ 84 | 85 | /** @defgroup WWDG_Private_FunctionPrototypes 86 | * @{ 87 | */ 88 | 89 | /** 90 | * @} 91 | */ 92 | 93 | /** @defgroup WWDG_Private_Functions 94 | * @{ 95 | */ 96 | 97 | /** 98 | * @brief Deinitializes the WWDG peripheral registers to their default reset values. 99 | * @param None 100 | * @retval None 101 | */ 102 | void WWDG_DeInit(void) 103 | { 104 | RCC_APB1PeriphResetCmd(RCC_APB1Periph_WWDG, ENABLE); 105 | RCC_APB1PeriphResetCmd(RCC_APB1Periph_WWDG, DISABLE); 106 | } 107 | 108 | /** 109 | * @brief Sets the WWDG Prescaler. 110 | * @param WWDG_Prescaler: specifies the WWDG Prescaler. 111 | * This parameter can be one of the following values: 112 | * @arg WWDG_Prescaler_1: WWDG counter clock = (PCLK1/4096)/1 113 | * @arg WWDG_Prescaler_2: WWDG counter clock = (PCLK1/4096)/2 114 | * @arg WWDG_Prescaler_4: WWDG counter clock = (PCLK1/4096)/4 115 | * @arg WWDG_Prescaler_8: WWDG counter clock = (PCLK1/4096)/8 116 | * @retval None 117 | */ 118 | void WWDG_SetPrescaler(uint32_t WWDG_Prescaler) 119 | { 120 | uint32_t tmpreg = 0; 121 | /* Check the parameters */ 122 | assert_param(IS_WWDG_PRESCALER(WWDG_Prescaler)); 123 | /* Clear WDGTB[1:0] bits */ 124 | tmpreg = WWDG->CFR & CFR_WDGTB_Mask; 125 | /* Set WDGTB[1:0] bits according to WWDG_Prescaler value */ 126 | tmpreg |= WWDG_Prescaler; 127 | /* Store the new value */ 128 | WWDG->CFR = tmpreg; 129 | } 130 | 131 | /** 132 | * @brief Sets the WWDG window value. 133 | * @param WindowValue: specifies the window value to be compared to the downcounter. 134 | * This parameter value must be lower than 0x80. 135 | * @retval None 136 | */ 137 | void WWDG_SetWindowValue(uint8_t WindowValue) 138 | { 139 | __IO uint32_t tmpreg = 0; 140 | 141 | /* Check the parameters */ 142 | assert_param(IS_WWDG_WINDOW_VALUE(WindowValue)); 143 | /* Clear W[6:0] bits */ 144 | 145 | tmpreg = WWDG->CFR & CFR_W_Mask; 146 | 147 | /* Set W[6:0] bits according to WindowValue value */ 148 | tmpreg |= WindowValue & (uint32_t) BIT_Mask; 149 | 150 | /* Store the new value */ 151 | WWDG->CFR = tmpreg; 152 | } 153 | 154 | /** 155 | * @brief Enables the WWDG Early Wakeup interrupt(EWI). 156 | * @param None 157 | * @retval None 158 | */ 159 | void WWDG_EnableIT(void) 160 | { 161 | *(__IO uint32_t *) CFR_EWI_BB = (uint32_t)ENABLE; 162 | } 163 | 164 | /** 165 | * @brief Sets the WWDG counter value. 166 | * @param Counter: specifies the watchdog counter value. 167 | * This parameter must be a number between 0x40 and 0x7F. 168 | * @retval None 169 | */ 170 | void WWDG_SetCounter(uint8_t Counter) 171 | { 172 | /* Check the parameters */ 173 | assert_param(IS_WWDG_COUNTER(Counter)); 174 | /* Write to T[6:0] bits to configure the counter value, no need to do 175 | a read-modify-write; writing a 0 to WDGA bit does nothing */ 176 | WWDG->CR = Counter & BIT_Mask; 177 | } 178 | 179 | /** 180 | * @brief Enables WWDG and load the counter value. 181 | * @param Counter: specifies the watchdog counter value. 182 | * This parameter must be a number between 0x40 and 0x7F. 183 | * @retval None 184 | */ 185 | void WWDG_Enable(uint8_t Counter) 186 | { 187 | /* Check the parameters */ 188 | assert_param(IS_WWDG_COUNTER(Counter)); 189 | WWDG->CR = CR_WDGA_Set | Counter; 190 | } 191 | 192 | /** 193 | * @brief Checks whether the Early Wakeup interrupt flag is set or not. 194 | * @param None 195 | * @retval The new state of the Early Wakeup interrupt flag (SET or RESET) 196 | */ 197 | FlagStatus WWDG_GetFlagStatus(void) 198 | { 199 | return (FlagStatus)(WWDG->SR); 200 | } 201 | 202 | /** 203 | * @brief Clears Early Wakeup interrupt flag. 204 | * @param None 205 | * @retval None 206 | */ 207 | void WWDG_ClearFlag(void) 208 | { 209 | WWDG->SR = (uint32_t)RESET; 210 | } 211 | 212 | /** 213 | * @} 214 | */ 215 | 216 | /** 217 | * @} 218 | */ 219 | 220 | /** 221 | * @} 222 | */ 223 | 224 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 225 | -------------------------------------------------------------------------------- /Network/esp8266/esp8266.c: -------------------------------------------------------------------------------- 1 | #include "esp8266.h" 2 | #include "usart2.h" 3 | 4 | /* 5 | * @brief ESP8266模块初始化 6 | */ 7 | void ESP8266_Init(void) 8 | { 9 | SendCmd(AT, "OK", 1000); //模块有效性检查 10 | SendCmd(CWMODE, "OK", 1000); //模块工作模式 11 | SendCmd(RST, "OK", 2000); //模块重置 12 | SendCmd(CIFSR, "OK", 1000); //查询网络信息 13 | SendCmd(CWJAP, "OK", 2000); //配置需要连接的WIFI热点SSID和密码 14 | SendCmd(CIPSTART, "OK", 2000); //TCP连接 15 | SendCmd(CIPMODE1, "OK", 1000); //配置透传模式 16 | SendCmd(CIPSEND, ">", 1000); //进入透传模式 17 | USART2_Clear(); 18 | } 19 | -------------------------------------------------------------------------------- /Network/esp8266/esp8266.h: -------------------------------------------------------------------------------- 1 | #define AT "AT\r\n" 2 | #define CWMODE "AT+CWMODE=3\r\n" //STA+AP模式 3 | #define RST "AT+RST\r\n" 4 | #define CIFSR "AT+CIFSR\r\n" 5 | #define CWJAP "AT+CWJAP=\"TP-LINK_4F7C\",\"x6421kfsys\"\r\n" //ssid: onenet 密码:空 6 | //#define CIPSTART "AT+CIPSTART=\"TCP\",\"183.230.40.39\",876\r\n" //EDP服务器 183.230.40.39/876 7 | #define CIPSTART "AT+CIPSTART=\"TCP\",\"192.168.1.108\",8888\r\n" //HTTP服务器183.230.40.33/80 8 | #define CIPMODE0 "AT+CIPMODE=0\r\n" //非透传模式 9 | #define CIPMODE1 "AT+CIPMODE=1\r\n" //透传模式 10 | #define CIPSEND "AT+CIPSEND\r\n" 11 | #define CIPSTATUS "AT+CIPSTATUS\r\n" //网络状态查询 12 | 13 | 14 | void ESP8266_Init(void); 15 | -------------------------------------------------------------------------------- /Project/JLinkSettings.ini: -------------------------------------------------------------------------------- 1 | [BREAKPOINTS] 2 | ShowInfoWin = 1 3 | EnableFlashBP = 2 4 | BPDuringExecution = 0 5 | [CFI] 6 | CFISize = 0x00 7 | CFIAddr = 0x00 8 | [CPU] 9 | OverrideMemMap = 0 10 | AllowSimulation = 1 11 | ScriptFile="" 12 | [FLASH] 13 | MinNumBytesFlashDL = 0 14 | SkipProgOnCRCMatch = 1 15 | VerifyDownload = 1 16 | AllowCaching = 1 17 | EnableFlashDL = 2 18 | Override = 0 19 | Device="UNSPECIFIED" 20 | [GENERAL] 21 | WorkRAMSize = 0x00 22 | WorkRAMAddr = 0x00 23 | [SWO] 24 | SWOLogFile="" 25 | [MEM] 26 | RdOverrideOrMask = 0x00 27 | RdOverrideAndMask = 0xFFFFFFFF 28 | RdOverrideAddr = 0xFFFFFFFF 29 | WrOverrideOrMask = 0x00 30 | WrOverrideAndMask = 0xFFFFFFFF 31 | WrOverrideAddr = 0xFFFFFFFF 32 | -------------------------------------------------------------------------------- /Protocol/http/HTTP_Demo.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | char text[100]; 6 | char temp[10]; 7 | 8 | /** 9 | * @brief 组HTTP GET报文 10 | * @param pkt 报文缓存指针 11 | * @param key key唯一识别码 12 | * @param data 数据 13 | */ 14 | uint32_t HTTP_GetPkt(char *pkt, const char *key, int data) 15 | { 16 | *pkt = 0; 17 | memset(temp, 0, 10); 18 | memset(text, 0, 100); 19 | 20 | sprintf(temp,"%d", data); 21 | 22 | strcat(text, "auth_key="); 23 | strcat(text, key); 24 | strcat(text, "&"); 25 | strcat(text, "data1="); 26 | strcat(text, temp); 27 | strcat(text, "&"); 28 | strcat(text, "data2="); 29 | strcat(text, temp); 30 | strcat(text, "&"); 31 | strcat(text, "data3="); 32 | strcat(text, temp); 33 | strcat(text, "&"); 34 | strcat(text, "data4="); 35 | strcat(text, temp); 36 | strcat(text, "&"); 37 | strcat(text, "data5="); 38 | strcat(text, temp); 39 | strcat(text, "&"); 40 | strcat(text, "data6="); 41 | strcat(text, temp); 42 | 43 | strcat(pkt, "GET /Train/getinfo.php?"); 44 | strcat(pkt, text); 45 | strcat(pkt, " HTTP/1.1\r\n"); 46 | 47 | strcat(pkt, "Host: 192.168.1.108:8888\r\n"); 48 | 49 | //strcat(pkt, "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1\r\n"); 50 | strcat(pkt, "Connection: Keep-Alive\r\n"); 51 | strcat(pkt, "Cache-Control: no-cache\r\n"); 52 | strcat(pkt, "\r\n\r\n"); 53 | 54 | return strlen(pkt); 55 | } 56 | -------------------------------------------------------------------------------- /Protocol/http/HTTP_Demo.h: -------------------------------------------------------------------------------- 1 | extern uint32 HTTP_PostPkt(u8 *pkt, char *key, char *devid, char *dsid, char *val); -------------------------------------------------------------------------------- /User/main.c: -------------------------------------------------------------------------------- 1 | #include "stm32f10x.h" 2 | #include "stdio.h" 3 | #include "stdlib.h" 4 | #include "string.h" 5 | #include "usart1.h" 6 | #include "usart2.h" 7 | 8 | #include "adc.h" 9 | #include "delay.h" 10 | #include "srf05.h" 11 | #include "tim2.h" 12 | 13 | #include "esp8266.h" 14 | 15 | #define KEY "cd0101" 16 | 17 | uint32_t HTTP_GetPkt(char *pkt, const char *key, int data); 18 | int main(void) 19 | { 20 | char HTTP_Buf[100]; //HTTP报文缓存区 21 | u16 len; 22 | 23 | u16 i, j, k; //计数变量 24 | u8 array[500] = {0}; 25 | u16 count[100] = {0}; 26 | u16 temp = 0; 27 | u8 person_num = 0; 28 | u8 data = 0; 29 | u16 distance; 30 | 31 | Delay_Init(); 32 | ADC_Config(); 33 | 34 | USART1_Config(); //USART1作为调试串口 35 | USART2_Config(); //USART2用于连接ESP8266模块 36 | 37 | TIM2_Configuration(); 38 | SRF05_Init(); 39 | 40 | ESP8266_Init(); //ESP8266初始化 41 | printf("ESP8266 init over\r\n"); 42 | 43 | while(1) 44 | { 45 | distance = SRF05_StartMeasure(); 46 | DelayMs(5000); 47 | 48 | printf("SRF :\r\n%d\r\n", distance); 49 | 50 | if(distance < 20) 51 | { 52 | person_num = 0; 53 | temp = 0; 54 | data = 0; 55 | memset(count, 0, sizeof(count)); 56 | 57 | array[0] = 0; 58 | 59 | for(i = 1; i < 500; i++) 60 | { 61 | temp = adcConvertedValue; 62 | 63 | if((temp / 10 - 94) < 0) 64 | array[i] = 0; 65 | else 66 | array[i] = temp / 10 - 94; 67 | 68 | //限幅法滤波 69 | if((array[i] - array[i - 1]) < 10 && (array[i - 1] - array[i]) < 10) 70 | { 71 | array[i] = array[i - 1]; 72 | } 73 | 74 | if(array[i] < 10) 75 | array[i] = 0; 76 | 77 | DelayMs(100); 78 | } 79 | 80 | //数组压缩 81 | for(k = 0; k < 5; k++) 82 | { 83 | temp = 0; 84 | j = 0; 85 | 86 | for(i = 100 * k + 1; i < 100 * (k+1); i++) 87 | { 88 | if((array[i] - array[i - 1]) >= 0 && array[i] > 0) 89 | { 90 | temp = temp + array[i] - array[i - 1]; 91 | } 92 | else 93 | { 94 | count[j++] = temp; 95 | temp = 0; 96 | } 97 | } 98 | 99 | for(i = 1; i < j && count[i] < 300; i++) 100 | { 101 | if((count[i - 1] < count[i]) && (count[i + 1] < count[i])) 102 | { 103 | if(count[i] > 40 && count[i] <= 90) 104 | { 105 | person_num = person_num + 1; 106 | } 107 | else if(count[i] > 90 && count[i] <= 135) 108 | { 109 | person_num = person_num + 2; 110 | } 111 | else if(count[i] > 135) 112 | { 113 | person_num = person_num + 3; 114 | } 115 | } 116 | } 117 | 118 | printf("person_num:%d\r\n", person_num); 119 | } 120 | 121 | data = person_num; 122 | 123 | USART2_Clear(); 124 | len = HTTP_GetPkt(HTTP_Buf, KEY, data); //HTTP组包 125 | USART2_Write(USART2, (unsigned char *)(HTTP_Buf), len); //报文发送 126 | printf("send HTTP msg:\r\n%s\r\n", HTTP_Buf); 127 | 128 | DelayMs(1000); 129 | printf("rcv response:\r\n%s\r\n", usart2_rcv_buf); 130 | DelayMs(1000); 131 | } 132 | } 133 | } 134 | 135 | -------------------------------------------------------------------------------- /User/stm32f10x_conf.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file Project/STM32F10x_StdPeriph_Template/stm32f10x_conf.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 08-April-2011 7 | * @brief Library configuration file. 8 | ****************************************************************************** 9 | * @attention 10 | * 11 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 12 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 13 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 14 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 15 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 16 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 17 | * 18 | *

© COPYRIGHT 2011 STMicroelectronics

19 | ****************************************************************************** 20 | */ 21 | 22 | /* Define to prevent recursive inclusion -------------------------------------*/ 23 | #ifndef __STM32F10x_CONF_H 24 | #define __STM32F10x_CONF_H 25 | 26 | /* Includes ------------------------------------------------------------------*/ 27 | /* Uncomment/Comment the line below to enable/disable peripheral header file inclusion */ 28 | #include "stm32f10x_adc.h" 29 | #include "stm32f10x_bkp.h" 30 | #include "stm32f10x_can.h" 31 | #include "stm32f10x_cec.h" 32 | #include "stm32f10x_crc.h" 33 | #include "stm32f10x_dac.h" 34 | #include "stm32f10x_dbgmcu.h" 35 | #include "stm32f10x_dma.h" 36 | #include "stm32f10x_exti.h" 37 | #include "stm32f10x_flash.h" 38 | #include "stm32f10x_fsmc.h" 39 | #include "stm32f10x_gpio.h" 40 | #include "stm32f10x_i2c.h" 41 | #include "stm32f10x_iwdg.h" 42 | #include "stm32f10x_pwr.h" 43 | #include "stm32f10x_rcc.h" 44 | #include "stm32f10x_rtc.h" 45 | #include "stm32f10x_sdio.h" 46 | #include "stm32f10x_spi.h" 47 | #include "stm32f10x_tim.h" 48 | #include "stm32f10x_usart.h" 49 | #include "stm32f10x_wwdg.h" 50 | #include "misc.h" /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */ 51 | 52 | /* Exported types ------------------------------------------------------------*/ 53 | /* Exported constants --------------------------------------------------------*/ 54 | /* Uncomment the line below to expanse the "assert_param" macro in the 55 | Standard Peripheral Library drivers code */ 56 | /* #define USE_FULL_ASSERT 1 */ 57 | 58 | /* Exported macro ------------------------------------------------------------*/ 59 | #ifdef USE_FULL_ASSERT 60 | 61 | /** 62 | * @brief The assert_param macro is used for function's parameters check. 63 | * @param expr: If expr is false, it calls assert_failed function which reports 64 | * the name of the source file and the source line number of the call 65 | * that failed. If expr is true, it returns no value. 66 | * @retval None 67 | */ 68 | #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__)) 69 | /* Exported functions ------------------------------------------------------- */ 70 | void assert_failed(uint8_t* file, uint32_t line); 71 | #else 72 | #define assert_param(expr) ((void)0) 73 | #endif /* USE_FULL_ASSERT */ 74 | 75 | #endif /* __STM32F10x_CONF_H */ 76 | 77 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 78 | -------------------------------------------------------------------------------- /User/stm32f10x_it.c: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file Project/STM32F10x_StdPeriph_Template/stm32f10x_it.c 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 08-April-2011 7 | * @brief Main Interrupt Service Routines. 8 | * This file provides template for all exceptions handler and 9 | * peripherals interrupt service routine. 10 | ****************************************************************************** 11 | * @attention 12 | * 13 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 14 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 15 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 16 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 17 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 18 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 19 | * 20 | *

© COPYRIGHT 2011 STMicroelectronics

21 | ****************************************************************************** 22 | */ 23 | 24 | /* Includes ------------------------------------------------------------------*/ 25 | #include "stm32f10x_it.h" 26 | #include "usart1.h" 27 | #include "usart2.h" 28 | 29 | extern uint32_t SystickTime; 30 | extern __IO uint32_t TimeDisplay; 31 | 32 | /** @addtogroup STM32F10x_StdPeriph_Template 33 | * @{ 34 | */ 35 | 36 | /* Private typedef -----------------------------------------------------------*/ 37 | /* Private define ------------------------------------------------------------*/ 38 | /* Private macro -------------------------------------------------------------*/ 39 | /* Private variables ---------------------------------------------------------*/ 40 | /* Private function prototypes -----------------------------------------------*/ 41 | /* Private functions ---------------------------------------------------------*/ 42 | 43 | /******************************************************************************/ 44 | /* Cortex-M3 Processor Exceptions Handlers */ 45 | /******************************************************************************/ 46 | 47 | /** 48 | * @brief This function handles NMI exception. 49 | * @param None 50 | * @retval None 51 | */ 52 | void NMI_Handler(void) 53 | { 54 | } 55 | 56 | /** 57 | * @brief This function handles Hard Fault exception. 58 | * @param None 59 | * @retval None 60 | */ 61 | void HardFault_Handler(void) 62 | { 63 | /* Go to infinite loop when Hard Fault exception occurs */ 64 | while (1) 65 | { 66 | } 67 | } 68 | 69 | /** 70 | * @brief This function handles Memory Manage exception. 71 | * @param None 72 | * @retval None 73 | */ 74 | void MemManage_Handler(void) 75 | { 76 | /* Go to infinite loop when Memory Manage exception occurs */ 77 | while (1) 78 | { 79 | } 80 | } 81 | 82 | /** 83 | * @brief This function handles Bus Fault exception. 84 | * @param None 85 | * @retval None 86 | */ 87 | void BusFault_Handler(void) 88 | { 89 | /* Go to infinite loop when Bus Fault exception occurs */ 90 | while (1) 91 | { 92 | } 93 | } 94 | 95 | /** 96 | * @brief This function handles Usage Fault exception. 97 | * @param None 98 | * @retval None 99 | */ 100 | void UsageFault_Handler(void) 101 | { 102 | /* Go to infinite loop when Usage Fault exception occurs */ 103 | while (1) 104 | { 105 | } 106 | } 107 | 108 | /** 109 | * @brief This function handles SVCall exception. 110 | * @param None 111 | * @retval None 112 | */ 113 | void SVC_Handler(void) 114 | { 115 | } 116 | 117 | /** 118 | * @brief This function handles Debug Monitor exception. 119 | * @param None 120 | * @retval None 121 | */ 122 | void DebugMon_Handler(void) 123 | { 124 | } 125 | 126 | /** 127 | * @brief This function handles PendSVC exception. 128 | * @param None 129 | * @retval None 130 | */ 131 | void PendSV_Handler(void) 132 | { 133 | } 134 | 135 | /** 136 | * @brief This function handles SysTick Handler. 137 | * @param None 138 | * @retval None 139 | */ 140 | void SysTick_Handler(void) 141 | { 142 | //SystickTime_Increase(); 143 | //SystickTime++; 144 | } 145 | 146 | /******************************************************************************/ 147 | /* STM32F10x Peripherals Interrupt Handlers */ 148 | /* Add here the Interrupt Handler for the used peripheral(s) (PPP), for the */ 149 | /* available peripheral interrupt handler's name please refer to the startup */ 150 | /* file (startup_stm32f10x_xx.s). */ 151 | /******************************************************************************/ 152 | 153 | void EXTI0_IRQHandler(void) 154 | { 155 | 156 | } 157 | 158 | /** 159 | * @brief This function handles usart1 global interrupt request. 160 | * @param None 161 | * @retval : None 162 | */ 163 | void USART1_IRQHandler(void) 164 | { 165 | #if 0 166 | unsigned int data=0; 167 | 168 | if(USART1->SR & 0x0F) 169 | { 170 | // See if we have some kind of error 171 | // Clear interrupt (do nothing about it!) 172 | data = USART1->DR; 173 | } 174 | else if(USART1->SR & USART_FLAG_RXNE) //Receive Data Reg Full Flag 175 | { 176 | data = USART1->DR; 177 | //usart1_putrxchar(data); //Insert received character into buffer 178 | } 179 | else 180 | { 181 | ; 182 | } 183 | #endif 184 | } 185 | 186 | /** 187 | * @brief This function handles usart2 global interrupt request. 188 | * @param None 189 | * @retval : None 190 | */ 191 | void USART2_IRQHandler(void) 192 | { 193 | unsigned int data; 194 | #if 1 195 | if(USART2->SR & 0x0F) 196 | { 197 | // See if we have some kind of error 198 | // Clear interrupt (do nothing about it!) 199 | data = USART2->DR; 200 | } 201 | else if(USART2->SR & USART_FLAG_RXNE) //Receive Data Reg Full Flag 202 | { 203 | //GPIO_SetBits(GPIOC,GPIO_Pin_0|GPIO_Pin_1|GPIO_Pin_2|GPIO_Pin_3); 204 | data = USART2->DR; 205 | usart2_rcv_buf[usart2_rcv_len++] = data; 206 | if(usart2_rcv_len >= MAX_RCV_LEN - 1) 207 | usart2_rcv_len = 0; 208 | //usart1_rcv_buf[usart1_rcv_len++]=data; 209 | //usart1_putrxchar(data); //Insert received character into buffer 210 | } 211 | else 212 | { 213 | ; 214 | } 215 | #endif 216 | } 217 | 218 | /** 219 | * @brief This function handles RTC global interrupt request. 220 | * @param None 221 | * @retval : None 222 | */ 223 | void RTC_IRQHandler(void) 224 | { 225 | 226 | } 227 | 228 | /** 229 | * @brief This function handles PPP interrupt request. 230 | * @param None 231 | * @retval None 232 | */ 233 | /*void PPP_IRQHandler(void) 234 | { 235 | }*/ 236 | 237 | /** 238 | * @} 239 | */ 240 | 241 | 242 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 243 | -------------------------------------------------------------------------------- /User/stm32f10x_it.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file Project/STM32F10x_StdPeriph_Template/stm32f10x_it.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 08-April-2011 7 | * @brief This file contains the headers of the interrupt handlers. 8 | ****************************************************************************** 9 | * @attention 10 | * 11 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 12 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 13 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 14 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 15 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 16 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 17 | * 18 | *

© COPYRIGHT 2011 STMicroelectronics

19 | ****************************************************************************** 20 | */ 21 | 22 | /* Define to prevent recursive inclusion -------------------------------------*/ 23 | #ifndef __STM32F10x_IT_H 24 | #define __STM32F10x_IT_H 25 | 26 | #ifdef __cplusplus 27 | extern "C" { 28 | #endif 29 | 30 | /* Includes ------------------------------------------------------------------*/ 31 | #include "stm32f10x.h" 32 | 33 | /* Exported types ------------------------------------------------------------*/ 34 | /* Exported constants --------------------------------------------------------*/ 35 | /* Exported macro ------------------------------------------------------------*/ 36 | /* Exported functions ------------------------------------------------------- */ 37 | 38 | void NMI_Handler(void); 39 | void HardFault_Handler(void); 40 | void MemManage_Handler(void); 41 | void BusFault_Handler(void); 42 | void UsageFault_Handler(void); 43 | void SVC_Handler(void); 44 | void DebugMon_Handler(void); 45 | void PendSV_Handler(void); 46 | void SysTick_Handler(void); 47 | 48 | #ifdef __cplusplus 49 | } 50 | #endif 51 | 52 | #endif /* __STM32F10x_IT_H */ 53 | 54 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 55 | -------------------------------------------------------------------------------- /Utils/utils.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include "utils.h" 4 | 5 | /* 6 | * buffer按十六进制输出 7 | */ 8 | void hexdump(const unsigned char *buf, uint32_t num) 9 | { 10 | uint32_t i = 0; 11 | for (; i < num; i++) 12 | { 13 | printf("%02X ", buf[i]); 14 | if ((i + 1) % 8 == 0) 15 | printf("\r\n"); 16 | } 17 | printf("\r\n"); 18 | } 19 | 20 | unsigned char prvucMBBIN2CHAR(unsigned char ucByte) 21 | { 22 | if (ucByte <= 0x09) 23 | { 24 | return (unsigned char) ('0' + ucByte); 25 | } 26 | else if ((ucByte >= 0x0A) && (ucByte <= 0x0F)) 27 | { 28 | return (unsigned char) (ucByte - 0x0A + 'A'); 29 | } 30 | else 31 | { 32 | /* Programming error. */ 33 | //assert(0); 34 | } 35 | return '0'; 36 | } 37 | 38 | static const unsigned char aucCRCHi[] = 39 | { 40 | 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 41 | 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 42 | 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 43 | 0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 44 | 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 45 | 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 46 | 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 47 | 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 48 | 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 49 | 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 50 | 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 51 | 0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 52 | 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 53 | 0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 54 | 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 55 | 0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 56 | 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 57 | 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 58 | 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 59 | 0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 60 | 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 61 | 0x00, 0xC1, 0x81, 0x40 62 | }; 63 | 64 | static const unsigned char aucCRCLo[] = 65 | { 66 | 0x00, 0xC0, 0xC1, 0x01, 0xC3, 0x03, 0x02, 0xC2, 0xC6, 0x06, 0x07, 0xC7, 67 | 0x05, 0xC5, 0xC4, 0x04, 0xCC, 0x0C, 0x0D, 0xCD, 0x0F, 0xCF, 0xCE, 0x0E, 68 | 0x0A, 0xCA, 0xCB, 0x0B, 0xC9, 0x09, 0x08, 0xC8, 0xD8, 0x18, 0x19, 0xD9, 69 | 0x1B, 0xDB, 0xDA, 0x1A, 0x1E, 0xDE, 0xDF, 0x1F, 0xDD, 0x1D, 0x1C, 0xDC, 70 | 0x14, 0xD4, 0xD5, 0x15, 0xD7, 0x17, 0x16, 0xD6, 0xD2, 0x12, 0x13, 0xD3, 71 | 0x11, 0xD1, 0xD0, 0x10, 0xF0, 0x30, 0x31, 0xF1, 0x33, 0xF3, 0xF2, 0x32, 72 | 0x36, 0xF6, 0xF7, 0x37, 0xF5, 0x35, 0x34, 0xF4, 0x3C, 0xFC, 0xFD, 0x3D, 73 | 0xFF, 0x3F, 0x3E, 0xFE, 0xFA, 0x3A, 0x3B, 0xFB, 0x39, 0xF9, 0xF8, 0x38, 74 | 0x28, 0xE8, 0xE9, 0x29, 0xEB, 0x2B, 0x2A, 0xEA, 0xEE, 0x2E, 0x2F, 0xEF, 75 | 0x2D, 0xED, 0xEC, 0x2C, 0xE4, 0x24, 0x25, 0xE5, 0x27, 0xE7, 0xE6, 0x26, 76 | 0x22, 0xE2, 0xE3, 0x23, 0xE1, 0x21, 0x20, 0xE0, 0xA0, 0x60, 0x61, 0xA1, 77 | 0x63, 0xA3, 0xA2, 0x62, 0x66, 0xA6, 0xA7, 0x67, 0xA5, 0x65, 0x64, 0xA4, 78 | 0x6C, 0xAC, 0xAD, 0x6D, 0xAF, 0x6F, 0x6E, 0xAE, 0xAA, 0x6A, 0x6B, 0xAB, 79 | 0x69, 0xA9, 0xA8, 0x68, 0x78, 0xB8, 0xB9, 0x79, 0xBB, 0x7B, 0x7A, 0xBA, 80 | 0xBE, 0x7E, 0x7F, 0xBF, 0x7D, 0xBD, 0xBC, 0x7C, 0xB4, 0x74, 0x75, 0xB5, 81 | 0x77, 0xB7, 0xB6, 0x76, 0x72, 0xB2, 0xB3, 0x73, 0xB1, 0x71, 0x70, 0xB0, 82 | 0x50, 0x90, 0x91, 0x51, 0x93, 0x53, 0x52, 0x92, 0x96, 0x56, 0x57, 0x97, 83 | 0x55, 0x95, 0x94, 0x54, 0x9C, 0x5C, 0x5D, 0x9D, 0x5F, 0x9F, 0x9E, 0x5E, 84 | 0x5A, 0x9A, 0x9B, 0x5B, 0x99, 0x59, 0x58, 0x98, 0x88, 0x48, 0x49, 0x89, 85 | 0x4B, 0x8B, 0x8A, 0x4A, 0x4E, 0x8E, 0x8F, 0x4F, 0x8D, 0x4D, 0x4C, 0x8C, 86 | 0x44, 0x84, 0x85, 0x45, 0x87, 0x47, 0x46, 0x86, 0x82, 0x42, 0x43, 0x83, 87 | 0x41, 0x81, 0x80, 0x40 88 | }; 89 | 90 | unsigned short 91 | usMBCRC16( unsigned char * pucFrame, unsigned short usLen ) 92 | { 93 | unsigned char ucCRCHi = 0xFF; 94 | unsigned char ucCRCLo = 0xFF; 95 | int iIndex; 96 | 97 | while( usLen-- ) 98 | { 99 | iIndex = ucCRCLo ^ *( pucFrame++ ); 100 | ucCRCLo = ( unsigned char )( ucCRCHi ^ aucCRCHi[iIndex] ); 101 | ucCRCHi = aucCRCLo[iIndex]; 102 | } 103 | return ( unsigned short )( ucCRCHi << 8 | ucCRCLo ); 104 | } 105 | 106 | 107 | /* 108 | * @brief 延迟i毫秒 109 | */ 110 | void mDelay(uint32_t i) 111 | { 112 | uint32_t j = 0; 113 | for(; i > 0; i--) 114 | { 115 | for(j = 0; j < 12000; j++); 116 | } 117 | } 118 | 119 | /* 120 | * @brief 延迟i微秒 121 | */ 122 | void uDelay(uint32_t i) 123 | { 124 | for(; i > 0; i--) 125 | { 126 | __nop(); 127 | __nop(); 128 | __nop(); 129 | __nop(); 130 | } 131 | } 132 | 133 | -------------------------------------------------------------------------------- /Utils/utils.h: -------------------------------------------------------------------------------- 1 | #ifndef __UTILS_HEADER__ 2 | #define __UTILS_HEADER__ 3 | #include 4 | #include 5 | #include 6 | 7 | void hexdump(const unsigned char *buf, uint32_t); 8 | unsigned char prvucMBBIN2CHAR(unsigned char ucByte); 9 | void Delay(unsigned int i); 10 | unsigned short usMBCRC16( unsigned char * pucFrame, unsigned short usLen ); 11 | void mDelay(uint32_t i); 12 | void uDelay(uint32_t i); 13 | #endif 14 | -------------------------------------------------------------------------------- /object/HttpDemo.axf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/HttpDemo.axf -------------------------------------------------------------------------------- /object/HttpDemo.lnp: -------------------------------------------------------------------------------- 1 | --cpu Cortex-M3 "..\object\core_cm3.o" "..\object\system_stm32f10x.o" "..\object\startup_stm32f10x_hd.o" "..\object\main.o" "..\object\stm32f10x_it.o" "..\object\misc.o" "..\object\stm32f10x_exti.o" "..\object\stm32f10x_flash.o" "..\object\stm32f10x_gpio.o" "..\object\stm32f10x_i2c.o" "..\object\stm32f10x_rcc.o" "..\object\stm32f10x_usart.o" "..\object\stm32f10x_adc.o" "..\object\stm32f10x_dma.o" "..\object\stm32f10x_tim.o" "..\object\http_demo.o" "..\object\esp8266.o" "..\object\usart1.o" "..\object\usart2.o" "..\object\adc.o" "..\object\delay.o" "..\object\srf05.o" "..\object\tim2.o" 2 | --library_type=microlib --strict --scatter "..\object\HttpDemo.sct" 3 | --summary_stderr --info summarysizes --map --xref --callgraph --symbols 4 | --info sizes --info totals --info unused --info veneers 5 | --list ".\HttpDemo.map" -o ..\object\HttpDemo.axf -------------------------------------------------------------------------------- /object/HttpDemo.plg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/HttpDemo.plg -------------------------------------------------------------------------------- /object/HttpDemo.sct: -------------------------------------------------------------------------------- 1 | ; ************************************************************* 2 | ; *** Scatter-Loading Description File generated by uVision *** 3 | ; ************************************************************* 4 | 5 | LR_IROM1 0x08000000 0x00080000 { ; load region size_region 6 | ER_IROM1 0x08000000 0x00080000 { ; load address = execution address 7 | *.o (RESET, +First) 8 | *(InRoot$$Sections) 9 | .ANY (+RO) 10 | } 11 | RW_IRAM1 0x20000000 0x00010000 { ; RW data 12 | .ANY (+RW +ZI) 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /object/HttpDemo.tra: -------------------------------------------------------------------------------- 1 | *** Creating Trace Output File '..\object\HttpDemo.tra' Ok. 2 | ### Preparing for ADS-LD. 3 | ### Creating ADS-LD Command Line 4 | ### List of Objects: adding '"..\object\core_cm3.o"' 5 | ### List of Objects: adding '"..\object\system_stm32f10x.o"' 6 | ### List of Objects: adding '"..\object\startup_stm32f10x_hd.o"' 7 | ### List of Objects: adding '"..\object\main.o"' 8 | ### List of Objects: adding '"..\object\stm32f10x_it.o"' 9 | ### List of Objects: adding '"..\object\misc.o"' 10 | ### List of Objects: adding '"..\object\stm32f10x_exti.o"' 11 | ### List of Objects: adding '"..\object\stm32f10x_flash.o"' 12 | ### List of Objects: adding '"..\object\stm32f10x_gpio.o"' 13 | ### List of Objects: adding '"..\object\stm32f10x_i2c.o"' 14 | ### List of Objects: adding '"..\object\stm32f10x_rcc.o"' 15 | ### List of Objects: adding '"..\object\stm32f10x_usart.o"' 16 | ### List of Objects: adding '"..\object\stm32f10x_adc.o"' 17 | ### List of Objects: adding '"..\object\stm32f10x_dma.o"' 18 | ### List of Objects: adding '"..\object\stm32f10x_tim.o"' 19 | ### List of Objects: adding '"..\object\http_demo.o"' 20 | ### List of Objects: adding '"..\object\esp8266.o"' 21 | ### List of Objects: adding '"..\object\usart1.o"' 22 | ### List of Objects: adding '"..\object\usart2.o"' 23 | ### List of Objects: adding '"..\object\adc.o"' 24 | ### List of Objects: adding '"..\object\delay.o"' 25 | ### List of Objects: adding '"..\object\srf05.o"' 26 | ### List of Objects: adding '"..\object\tim2.o"' 27 | ### ADS-LD Command completed: 28 | --cpu Cortex-M3 "..\object\core_cm3.o" "..\object\system_stm32f10x.o" "..\object\startup_stm32f10x_hd.o" "..\object\main.o" "..\object\stm32f10x_it.o" "..\object\misc.o" "..\object\stm32f10x_exti.o" "..\object\stm32f10x_flash.o" "..\object\stm32f10x_gpio.o" "..\object\stm32f10x_i2c.o" "..\object\stm32f10x_rcc.o" "..\object\stm32f10x_usart.o" "..\object\stm32f10x_adc.o" "..\object\stm32f10x_dma.o" "..\object\stm32f10x_tim.o" "..\object\http_demo.o" "..\object\esp8266.o" "..\object\usart1.o" "..\object\usart2.o" "..\object\adc.o" "..\object\delay.o" "..\object\srf05.o" "..\object\tim2.o" 29 | --library_type=microlib --strict --scatter "..\object\HttpDemo.sct" 30 | --summary_stderr --info summarysizes --map --xref --callgraph --symbols 31 | --info sizes --info totals --info unused --info veneers 32 | --list ".\HttpDemo.map" -o ..\object\HttpDemo.axf### Preparing Environment (PrepEnvAds) 33 | ### ADS-LD Output File: '..\object\HttpDemo.axf' 34 | ### ADS-LD Command File: '..\object\HttpDemo.lnp' 35 | ### Checking for dirty Components... 36 | ### Creating CmdFile '..\object\HttpDemo.lnp', Handle=0x00000654 37 | ### Writing '.lnp' file 38 | ### ADS-LD Command file '..\object\HttpDemo.lnp' is ready. 39 | ### ADS-LD: About to start ADS-LD Thread. 40 | ### ADS-LD: executed with 0 errors 41 | ### Updating obj list 42 | ### LDADS_file() completed. 43 | -------------------------------------------------------------------------------- /object/adc.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/adc.crf -------------------------------------------------------------------------------- /object/adc.d: -------------------------------------------------------------------------------- 1 | ..\object\adc.o: ..\Hal\adc.c 2 | ..\object\adc.o: ..\Hal\adc.h 3 | ..\object\adc.o: ..\Libraries\CMSIS\stm32f10x.h 4 | ..\object\adc.o: ..\Libraries\CMSIS\core_cm3.h 5 | ..\object\adc.o: D:\Keil\ARM\ARMCC\bin\..\include\stdint.h 6 | ..\object\adc.o: ..\Libraries\CMSIS\system_stm32f10x.h 7 | ..\object\adc.o: ..\User\stm32f10x_conf.h 8 | ..\object\adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h 9 | ..\object\adc.o: ..\Libraries\CMSIS\stm32f10x.h 10 | ..\object\adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h 11 | ..\object\adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h 12 | ..\object\adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_cec.h 13 | ..\object\adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h 14 | ..\object\adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h 15 | ..\object\adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h 16 | ..\object\adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h 17 | ..\object\adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h 18 | ..\object\adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h 19 | ..\object\adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_fsmc.h 20 | ..\object\adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h 21 | ..\object\adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h 22 | ..\object\adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h 23 | ..\object\adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h 24 | ..\object\adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h 25 | ..\object\adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rtc.h 26 | ..\object\adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_sdio.h 27 | ..\object\adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_spi.h 28 | ..\object\adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h 29 | ..\object\adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h 30 | ..\object\adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_wwdg.h 31 | ..\object\adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h 32 | ..\object\adc.o: D:\Keil\ARM\ARMCC\bin\..\include\stdio.h 33 | -------------------------------------------------------------------------------- /object/adc.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/adc.o -------------------------------------------------------------------------------- /object/cjson.__i: -------------------------------------------------------------------------------- 1 | -c --cpu Cortex-M3 -D__MICROLIB -g -O0 --apcs=interwork -I..\Hal -I..\Utils -I..\object -I..\Project -I..\User -I..\Libraries\CMSIS -I..\Libraries\STM32F10x_StdPeriph_Driver\inc -I..\Libraries\STM32F10x_StdPeriph_Driver\src -I..\Libraries\CMSIS\startup\arm -I..\Devices -I..\Network\esp8266 -I C:\Keil\ARM\RV31\Inc -I C:\Keil\ARM\CMSIS\Include -I C:\Keil\ARM\Inc\ST\STM32F10x -DSTM32F10X_HD -DUSE_STDPERIPH_DRIVER -o "..\object\cjson.o" --omf_browse "..\object\cjson.crf" --depend "..\object\cjson.d" "..\Utils\cJSON.c" -------------------------------------------------------------------------------- /object/cjson.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/cjson.crf -------------------------------------------------------------------------------- /object/cjson.d: -------------------------------------------------------------------------------- 1 | ..\object\cjson.o: ..\Utils\cJSON.c 2 | ..\object\cjson.o: C:\Keil\ARM\RV31\Inc\string.h 3 | ..\object\cjson.o: C:\Keil\ARM\RV31\Inc\stdio.h 4 | ..\object\cjson.o: C:\Keil\ARM\RV31\Inc\math.h 5 | ..\object\cjson.o: C:\Keil\ARM\RV31\Inc\stdlib.h 6 | ..\object\cjson.o: C:\Keil\ARM\RV31\Inc\float.h 7 | ..\object\cjson.o: C:\Keil\ARM\RV31\Inc\limits.h 8 | ..\object\cjson.o: C:\Keil\ARM\RV31\Inc\ctype.h 9 | ..\object\cjson.o: ..\Utils\cJSON.h 10 | -------------------------------------------------------------------------------- /object/cjson.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/cjson.o -------------------------------------------------------------------------------- /object/core_cm3.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/core_cm3.crf -------------------------------------------------------------------------------- /object/core_cm3.d: -------------------------------------------------------------------------------- 1 | ..\object\core_cm3.o: ..\Libraries\CMSIS\core_cm3.c 2 | ..\object\core_cm3.o: D:\Keil\ARM\ARMCC\bin\..\include\stdint.h 3 | -------------------------------------------------------------------------------- /object/core_cm3.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/core_cm3.o -------------------------------------------------------------------------------- /object/delay.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/delay.crf -------------------------------------------------------------------------------- /object/delay.d: -------------------------------------------------------------------------------- 1 | ..\object\delay.o: ..\Hal\delay.c 2 | ..\object\delay.o: ..\Libraries\CMSIS\stm32f10x.h 3 | ..\object\delay.o: ..\Libraries\CMSIS\core_cm3.h 4 | ..\object\delay.o: D:\Keil\ARM\ARMCC\bin\..\include\stdint.h 5 | ..\object\delay.o: ..\Libraries\CMSIS\system_stm32f10x.h 6 | ..\object\delay.o: ..\User\stm32f10x_conf.h 7 | ..\object\delay.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h 8 | ..\object\delay.o: ..\Libraries\CMSIS\stm32f10x.h 9 | ..\object\delay.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h 10 | ..\object\delay.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h 11 | ..\object\delay.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_cec.h 12 | ..\object\delay.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h 13 | ..\object\delay.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h 14 | ..\object\delay.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h 15 | ..\object\delay.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h 16 | ..\object\delay.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h 17 | ..\object\delay.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h 18 | ..\object\delay.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_fsmc.h 19 | ..\object\delay.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h 20 | ..\object\delay.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h 21 | ..\object\delay.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h 22 | ..\object\delay.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h 23 | ..\object\delay.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h 24 | ..\object\delay.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rtc.h 25 | ..\object\delay.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_sdio.h 26 | ..\object\delay.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_spi.h 27 | ..\object\delay.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h 28 | ..\object\delay.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h 29 | ..\object\delay.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_wwdg.h 30 | ..\object\delay.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h 31 | ..\object\delay.o: ..\Hal\delay.h 32 | -------------------------------------------------------------------------------- /object/delay.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/delay.o -------------------------------------------------------------------------------- /object/edpdemo.__i: -------------------------------------------------------------------------------- 1 | -c --cpu Cortex-M3 -D__MICROLIB -g -O0 --apcs=interwork -I..\Hal -I..\Utils -I..\Protocol\edp -I..\object -I..\Project -I..\User -I..\Libraries\CMSIS -I..\Libraries\STM32F10x_StdPeriph_Driver\inc -I..\Libraries\STM32F10x_StdPeriph_Driver\src -I..\Libraries\CMSIS\startup\arm -I..\EDP -I C:\Keil\ARM\RV31\Inc -I C:\Keil\ARM\CMSIS\Include -I C:\Keil\ARM\Inc\ST\STM32F10x -DSTM32F10X_HD -DUSE_STDPERIPH_DRIVER -o "..\object\edpdemo.o" --omf_browse "..\object\edpdemo.crf" --depend "..\object\edpdemo.d" "..\Protocol\edp\EdpDemo.c" -------------------------------------------------------------------------------- /object/edpdemo.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/edpdemo.crf -------------------------------------------------------------------------------- /object/edpdemo.d: -------------------------------------------------------------------------------- 1 | ..\object\edpdemo.o: ..\Protocol\edp\EdpDemo.c 2 | ..\object\edpdemo.o: C:\Keil\ARM\RV31\Inc\stdio.h 3 | ..\object\edpdemo.o: C:\Keil\ARM\RV31\Inc\stdlib.h 4 | ..\object\edpdemo.o: C:\Keil\ARM\RV31\Inc\string.h 5 | ..\object\edpdemo.o: ..\Protocol\edp\EdpKit.h 6 | ..\object\edpdemo.o: ..\Protocol\edp\Common.h 7 | ..\object\edpdemo.o: ..\Utils\cJSON.h 8 | ..\object\edpdemo.o: C:\Keil\ARM\RV31\Inc\time.h 9 | ..\object\edpdemo.o: C:\Keil\ARM\RV31\Inc\assert.h 10 | ..\object\edpdemo.o: ..\Libraries\CMSIS\stm32f10x.h 11 | ..\object\edpdemo.o: ..\Libraries\CMSIS\core_cm3.h 12 | ..\object\edpdemo.o: C:\Keil\ARM\RV31\Inc\stdint.h 13 | ..\object\edpdemo.o: ..\Libraries\CMSIS\system_stm32f10x.h 14 | ..\object\edpdemo.o: ..\User\stm32f10x_conf.h 15 | ..\object\edpdemo.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h 16 | ..\object\edpdemo.o: ..\Libraries\CMSIS\stm32f10x.h 17 | ..\object\edpdemo.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h 18 | ..\object\edpdemo.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h 19 | ..\object\edpdemo.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_cec.h 20 | ..\object\edpdemo.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h 21 | ..\object\edpdemo.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h 22 | ..\object\edpdemo.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h 23 | ..\object\edpdemo.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h 24 | ..\object\edpdemo.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h 25 | ..\object\edpdemo.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h 26 | ..\object\edpdemo.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_fsmc.h 27 | ..\object\edpdemo.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h 28 | ..\object\edpdemo.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h 29 | ..\object\edpdemo.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h 30 | ..\object\edpdemo.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h 31 | ..\object\edpdemo.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h 32 | ..\object\edpdemo.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rtc.h 33 | ..\object\edpdemo.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_sdio.h 34 | ..\object\edpdemo.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_spi.h 35 | ..\object\edpdemo.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h 36 | ..\object\edpdemo.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h 37 | ..\object\edpdemo.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_wwdg.h 38 | ..\object\edpdemo.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h 39 | ..\object\edpdemo.o: ..\Hal\usart2.h 40 | ..\object\edpdemo.o: ..\Utils\utils.h 41 | ..\object\edpdemo.o: ..\Hal\../Network/esp8266/esp8266.h 42 | ..\object\edpdemo.o: ..\Hal\usart1.h 43 | ..\object\edpdemo.o: ..\Hal\gpio.h 44 | -------------------------------------------------------------------------------- /object/edpdemo.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/edpdemo.o -------------------------------------------------------------------------------- /object/edpkit.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/edpkit.crf -------------------------------------------------------------------------------- /object/edpkit.d: -------------------------------------------------------------------------------- 1 | ..\object\edpkit.o: ..\Protocol\edp\EdpKit.c 2 | ..\object\edpkit.o: C:\Keil\ARM\RV31\Inc\stdlib.h 3 | ..\object\edpkit.o: C:\Keil\ARM\RV31\Inc\stdio.h 4 | ..\object\edpkit.o: C:\Keil\ARM\RV31\Inc\string.h 5 | ..\object\edpkit.o: C:\Keil\ARM\RV31\Inc\time.h 6 | ..\object\edpkit.o: ..\Protocol\edp\EdpKit.h 7 | ..\object\edpkit.o: ..\Protocol\edp\Common.h 8 | ..\object\edpkit.o: ..\Utils\cJSON.h 9 | ..\object\edpkit.o: C:\Keil\ARM\RV31\Inc\assert.h 10 | -------------------------------------------------------------------------------- /object/edpkit.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/edpkit.o -------------------------------------------------------------------------------- /object/esp8266.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/esp8266.crf -------------------------------------------------------------------------------- /object/esp8266.d: -------------------------------------------------------------------------------- 1 | ..\object\esp8266.o: ..\Network\esp8266\esp8266.c 2 | ..\object\esp8266.o: ..\Network\esp8266\esp8266.h 3 | ..\object\esp8266.o: ..\Hal\usart2.h 4 | ..\object\esp8266.o: ..\Libraries\CMSIS\stm32f10x.h 5 | ..\object\esp8266.o: ..\Libraries\CMSIS\core_cm3.h 6 | ..\object\esp8266.o: D:\Keil\ARM\ARMCC\bin\..\include\stdint.h 7 | ..\object\esp8266.o: ..\Libraries\CMSIS\system_stm32f10x.h 8 | ..\object\esp8266.o: ..\User\stm32f10x_conf.h 9 | ..\object\esp8266.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h 10 | ..\object\esp8266.o: ..\Libraries\CMSIS\stm32f10x.h 11 | ..\object\esp8266.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h 12 | ..\object\esp8266.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h 13 | ..\object\esp8266.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_cec.h 14 | ..\object\esp8266.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h 15 | ..\object\esp8266.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h 16 | ..\object\esp8266.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h 17 | ..\object\esp8266.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h 18 | ..\object\esp8266.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h 19 | ..\object\esp8266.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h 20 | ..\object\esp8266.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_fsmc.h 21 | ..\object\esp8266.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h 22 | ..\object\esp8266.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h 23 | ..\object\esp8266.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h 24 | ..\object\esp8266.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h 25 | ..\object\esp8266.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h 26 | ..\object\esp8266.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rtc.h 27 | ..\object\esp8266.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_sdio.h 28 | ..\object\esp8266.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_spi.h 29 | ..\object\esp8266.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h 30 | ..\object\esp8266.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h 31 | ..\object\esp8266.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_wwdg.h 32 | ..\object\esp8266.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h 33 | -------------------------------------------------------------------------------- /object/esp8266.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/esp8266.o -------------------------------------------------------------------------------- /object/gpio.__i: -------------------------------------------------------------------------------- 1 | -c --cpu Cortex-M3 -D__MICROLIB -g -O0 --apcs=interwork -I..\Hal -I..\Utils -I..\Protocol\edp -I..\object -I..\Project -I..\User -I..\Libraries\CMSIS -I..\Libraries\STM32F10x_StdPeriph_Driver\inc -I..\Libraries\STM32F10x_StdPeriph_Driver\src -I..\Libraries\CMSIS\startup\arm -I..\EDP -I C:\Keil\ARM\RV31\Inc -I C:\Keil\ARM\CMSIS\Include -I C:\Keil\ARM\Inc\ST\STM32F10x -DSTM32F10X_HD -DUSE_STDPERIPH_DRIVER -o "..\object\gpio.o" --omf_browse "..\object\gpio.crf" --depend "..\object\gpio.d" "..\Hal\gpio.c" -------------------------------------------------------------------------------- /object/gpio.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/gpio.crf -------------------------------------------------------------------------------- /object/gpio.d: -------------------------------------------------------------------------------- 1 | ..\object\gpio.o: ..\Hal\gpio.c 2 | ..\object\gpio.o: ..\Hal\gpio.h 3 | ..\object\gpio.o: ..\Libraries\CMSIS\stm32f10x.h 4 | ..\object\gpio.o: ..\Libraries\CMSIS\core_cm3.h 5 | ..\object\gpio.o: C:\Keil\ARM\RV31\Inc\stdint.h 6 | ..\object\gpio.o: ..\Libraries\CMSIS\system_stm32f10x.h 7 | ..\object\gpio.o: ..\User\stm32f10x_conf.h 8 | ..\object\gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h 9 | ..\object\gpio.o: ..\Libraries\CMSIS\stm32f10x.h 10 | ..\object\gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h 11 | ..\object\gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h 12 | ..\object\gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_cec.h 13 | ..\object\gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h 14 | ..\object\gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h 15 | ..\object\gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h 16 | ..\object\gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h 17 | ..\object\gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h 18 | ..\object\gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h 19 | ..\object\gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_fsmc.h 20 | ..\object\gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h 21 | ..\object\gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h 22 | ..\object\gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h 23 | ..\object\gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h 24 | ..\object\gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h 25 | ..\object\gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rtc.h 26 | ..\object\gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_sdio.h 27 | ..\object\gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_spi.h 28 | ..\object\gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h 29 | ..\object\gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h 30 | ..\object\gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_wwdg.h 31 | ..\object\gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h 32 | ..\object\gpio.o: C:\Keil\ARM\RV31\Inc\stdio.h 33 | ..\object\gpio.o: C:\Keil\ARM\RV31\Inc\stdlib.h 34 | ..\object\gpio.o: C:\Keil\ARM\RV31\Inc\string.h 35 | ..\object\gpio.o: ..\Hal\usart1.h 36 | ..\object\gpio.o: ..\Hal\usart2.h 37 | ..\object\gpio.o: ..\Protocol\edp\EdpKit.h 38 | ..\object\gpio.o: ..\Protocol\edp\Common.h 39 | ..\object\gpio.o: ..\Utils\cJSON.h 40 | ..\object\gpio.o: C:\Keil\ARM\RV31\Inc\time.h 41 | ..\object\gpio.o: C:\Keil\ARM\RV31\Inc\assert.h 42 | -------------------------------------------------------------------------------- /object/gpio.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/gpio.o -------------------------------------------------------------------------------- /object/hal_i2c.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/hal_i2c.crf -------------------------------------------------------------------------------- /object/hal_i2c.d: -------------------------------------------------------------------------------- 1 | ..\object\hal_i2c.o: ..\Devices\hal_i2c.c 2 | ..\object\hal_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h 3 | ..\object\hal_i2c.o: ..\Libraries\CMSIS\stm32f10x.h 4 | ..\object\hal_i2c.o: ..\Libraries\CMSIS\core_cm3.h 5 | ..\object\hal_i2c.o: D:\Keil\ARM\ARMCC\bin\..\include\stdint.h 6 | ..\object\hal_i2c.o: ..\Libraries\CMSIS\system_stm32f10x.h 7 | ..\object\hal_i2c.o: ..\User\stm32f10x_conf.h 8 | ..\object\hal_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h 9 | ..\object\hal_i2c.o: ..\Libraries\CMSIS\stm32f10x.h 10 | ..\object\hal_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h 11 | ..\object\hal_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h 12 | ..\object\hal_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_cec.h 13 | ..\object\hal_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h 14 | ..\object\hal_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h 15 | ..\object\hal_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h 16 | ..\object\hal_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h 17 | ..\object\hal_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h 18 | ..\object\hal_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h 19 | ..\object\hal_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_fsmc.h 20 | ..\object\hal_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h 21 | ..\object\hal_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h 22 | ..\object\hal_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h 23 | ..\object\hal_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h 24 | ..\object\hal_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h 25 | ..\object\hal_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rtc.h 26 | ..\object\hal_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_sdio.h 27 | ..\object\hal_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_spi.h 28 | ..\object\hal_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h 29 | ..\object\hal_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h 30 | ..\object\hal_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_wwdg.h 31 | ..\object\hal_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h 32 | ..\object\hal_i2c.o: ..\Devices\hal_i2c.h 33 | ..\object\hal_i2c.o: ..\Utils\utils.h 34 | ..\object\hal_i2c.o: D:\Keil\ARM\ARMCC\bin\..\include\stdlib.h 35 | ..\object\hal_i2c.o: D:\Keil\ARM\ARMCC\bin\..\include\string.h 36 | ..\object\hal_i2c.o: D:\Keil\ARM\ARMCC\bin\..\include\stdio.h 37 | -------------------------------------------------------------------------------- /object/hal_i2c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/hal_i2c.o -------------------------------------------------------------------------------- /object/http_demo.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/http_demo.crf -------------------------------------------------------------------------------- /object/http_demo.d: -------------------------------------------------------------------------------- 1 | ..\object\http_demo.o: ..\Protocol\http\HTTP_Demo.c 2 | ..\object\http_demo.o: D:\Keil\ARM\ARMCC\bin\..\include\string.h 3 | ..\object\http_demo.o: D:\Keil\ARM\ARMCC\bin\..\include\stdio.h 4 | ..\object\http_demo.o: D:\Keil\ARM\ARMCC\bin\..\include\stdint.h 5 | -------------------------------------------------------------------------------- /object/http_demo.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/http_demo.o -------------------------------------------------------------------------------- /object/led.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/led.crf -------------------------------------------------------------------------------- /object/led.d: -------------------------------------------------------------------------------- 1 | ..\object\led.o: ..\Hal\led.c 2 | -------------------------------------------------------------------------------- /object/led.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/led.o -------------------------------------------------------------------------------- /object/main.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/main.crf -------------------------------------------------------------------------------- /object/main.d: -------------------------------------------------------------------------------- 1 | ..\object\main.o: ..\User\main.c 2 | ..\object\main.o: ..\Libraries\CMSIS\stm32f10x.h 3 | ..\object\main.o: ..\Libraries\CMSIS\core_cm3.h 4 | ..\object\main.o: D:\Keil\ARM\ARMCC\bin\..\include\stdint.h 5 | ..\object\main.o: ..\Libraries\CMSIS\system_stm32f10x.h 6 | ..\object\main.o: ..\User\stm32f10x_conf.h 7 | ..\object\main.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h 8 | ..\object\main.o: ..\Libraries\CMSIS\stm32f10x.h 9 | ..\object\main.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h 10 | ..\object\main.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h 11 | ..\object\main.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_cec.h 12 | ..\object\main.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h 13 | ..\object\main.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h 14 | ..\object\main.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h 15 | ..\object\main.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h 16 | ..\object\main.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h 17 | ..\object\main.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h 18 | ..\object\main.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_fsmc.h 19 | ..\object\main.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h 20 | ..\object\main.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h 21 | ..\object\main.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h 22 | ..\object\main.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h 23 | ..\object\main.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h 24 | ..\object\main.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rtc.h 25 | ..\object\main.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_sdio.h 26 | ..\object\main.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_spi.h 27 | ..\object\main.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h 28 | ..\object\main.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h 29 | ..\object\main.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_wwdg.h 30 | ..\object\main.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h 31 | ..\object\main.o: D:\Keil\ARM\ARMCC\bin\..\include\stdio.h 32 | ..\object\main.o: D:\Keil\ARM\ARMCC\bin\..\include\stdlib.h 33 | ..\object\main.o: D:\Keil\ARM\ARMCC\bin\..\include\string.h 34 | ..\object\main.o: ..\Hal\usart1.h 35 | ..\object\main.o: ..\Hal\usart2.h 36 | ..\object\main.o: ..\Hal\adc.h 37 | ..\object\main.o: ..\Hal\delay.h 38 | ..\object\main.o: ..\Hal\srf05.h 39 | ..\object\main.o: ..\Hal\tim2.h 40 | ..\object\main.o: ..\Network\esp8266\esp8266.h 41 | -------------------------------------------------------------------------------- /object/main.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/main.o -------------------------------------------------------------------------------- /object/misc.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/misc.crf -------------------------------------------------------------------------------- /object/misc.d: -------------------------------------------------------------------------------- 1 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\src\misc.c 2 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h 3 | ..\object\misc.o: ..\Libraries\CMSIS\stm32f10x.h 4 | ..\object\misc.o: ..\Libraries\CMSIS\core_cm3.h 5 | ..\object\misc.o: D:\Keil\ARM\ARMCC\bin\..\include\stdint.h 6 | ..\object\misc.o: ..\Libraries\CMSIS\system_stm32f10x.h 7 | ..\object\misc.o: ..\User\stm32f10x_conf.h 8 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h 9 | ..\object\misc.o: ..\Libraries\CMSIS\stm32f10x.h 10 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h 11 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h 12 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_cec.h 13 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h 14 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h 15 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h 16 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h 17 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h 18 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h 19 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_fsmc.h 20 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h 21 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h 22 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h 23 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h 24 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h 25 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rtc.h 26 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_sdio.h 27 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_spi.h 28 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h 29 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h 30 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_wwdg.h 31 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h 32 | -------------------------------------------------------------------------------- /object/misc.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/misc.o -------------------------------------------------------------------------------- /object/onenetdemo_sct.Bak: -------------------------------------------------------------------------------- 1 | ; ************************************************************* 2 | ; *** Scatter-Loading Description File generated by uVision *** 3 | ; ************************************************************* 4 | 5 | LR_IROM1 0x08000000 0x00080000 { ; load region size_region 6 | ER_IROM1 0x08000000 0x00080000 { ; load address = execution address 7 | *.o (RESET, +First) 8 | *(InRoot$$Sections) 9 | .ANY (+RO) 10 | } 11 | RW_IRAM1 0x20000000 0x00010000 { ; RW data 12 | .ANY (+RW +ZI) 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /object/ringbuffer.__i: -------------------------------------------------------------------------------- 1 | -c --cpu Cortex-M3 -D__MICROLIB -g -O0 --apcs=interwork -I..\Hal -I..\Utils -I..\Protocol\edp -I..\object -I..\Project -I..\User -I..\Libraries\CMSIS -I..\Libraries\STM32F10x_StdPeriph_Driver\inc -I..\Libraries\STM32F10x_StdPeriph_Driver\src -I..\Libraries\CMSIS\startup\arm -I..\EDP 2 | -I C:\Keil\ARM\RV31\INC 3 | -I C:\Keil\ARM\CMSIS\Include 4 | -I C:\Keil\ARM\Inc\ST\STM32F10x 5 | -DSTM32F10X_HD -DUSE_STDPERIPH_DRIVER -o "..\object\ringbuffer.o" --omf_browse "..\object\ringbuffer.crf" --depend "..\object\ringbuffer.d" "..\Utils\ringbuffer.c" -------------------------------------------------------------------------------- /object/ringbuffer.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/ringbuffer.crf -------------------------------------------------------------------------------- /object/ringbuffer.d: -------------------------------------------------------------------------------- 1 | ..\object\ringbuffer.o: ..\Utils\ringbuffer.c 2 | ..\object\ringbuffer.o: C:\Keil\ARM\ARMCC\bin\..\include\stdlib.h 3 | ..\object\ringbuffer.o: C:\Keil\ARM\ARMCC\bin\..\include\string.h 4 | ..\object\ringbuffer.o: C:\Keil\ARM\ARMCC\bin\..\include\stdint.h 5 | ..\object\ringbuffer.o: ..\Utils\ringbuffer.h 6 | -------------------------------------------------------------------------------- /object/ringbuffer.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/ringbuffer.o -------------------------------------------------------------------------------- /object/sht20.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/sht20.crf -------------------------------------------------------------------------------- /object/sht20.d: -------------------------------------------------------------------------------- 1 | ..\object\sht20.o: ..\Devices\sht20.c 2 | ..\object\sht20.o: ..\Libraries\CMSIS\stm32f10x.h 3 | ..\object\sht20.o: ..\Libraries\CMSIS\core_cm3.h 4 | ..\object\sht20.o: D:\Keil\ARM\ARMCC\bin\..\include\stdint.h 5 | ..\object\sht20.o: ..\Libraries\CMSIS\system_stm32f10x.h 6 | ..\object\sht20.o: ..\User\stm32f10x_conf.h 7 | ..\object\sht20.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h 8 | ..\object\sht20.o: ..\Libraries\CMSIS\stm32f10x.h 9 | ..\object\sht20.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h 10 | ..\object\sht20.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h 11 | ..\object\sht20.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_cec.h 12 | ..\object\sht20.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h 13 | ..\object\sht20.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h 14 | ..\object\sht20.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h 15 | ..\object\sht20.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h 16 | ..\object\sht20.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h 17 | ..\object\sht20.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h 18 | ..\object\sht20.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_fsmc.h 19 | ..\object\sht20.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h 20 | ..\object\sht20.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h 21 | ..\object\sht20.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h 22 | ..\object\sht20.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h 23 | ..\object\sht20.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h 24 | ..\object\sht20.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rtc.h 25 | ..\object\sht20.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_sdio.h 26 | ..\object\sht20.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_spi.h 27 | ..\object\sht20.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h 28 | ..\object\sht20.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h 29 | ..\object\sht20.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_wwdg.h 30 | ..\object\sht20.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h 31 | ..\object\sht20.o: D:\Keil\ARM\ARMCC\bin\..\include\stdio.h 32 | ..\object\sht20.o: ..\Devices\hal_i2c.h 33 | ..\object\sht20.o: ..\Devices\sht20.h 34 | ..\object\sht20.o: ..\Utils\utils.h 35 | ..\object\sht20.o: D:\Keil\ARM\ARMCC\bin\..\include\stdlib.h 36 | ..\object\sht20.o: D:\Keil\ARM\ARMCC\bin\..\include\string.h 37 | -------------------------------------------------------------------------------- /object/sht20.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/sht20.o -------------------------------------------------------------------------------- /object/srf05.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/srf05.crf -------------------------------------------------------------------------------- /object/srf05.d: -------------------------------------------------------------------------------- 1 | ..\object\srf05.o: ..\Hal\srf05.c 2 | ..\object\srf05.o: ..\Hal\srf05.h 3 | ..\object\srf05.o: ..\Hal\delay.h 4 | ..\object\srf05.o: ..\Hal\tim2.h 5 | ..\object\srf05.o: ..\Libraries\CMSIS\stm32f10x.h 6 | ..\object\srf05.o: ..\Libraries\CMSIS\core_cm3.h 7 | ..\object\srf05.o: D:\Keil\ARM\ARMCC\bin\..\include\stdint.h 8 | ..\object\srf05.o: ..\Libraries\CMSIS\system_stm32f10x.h 9 | ..\object\srf05.o: ..\User\stm32f10x_conf.h 10 | ..\object\srf05.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h 11 | ..\object\srf05.o: ..\Libraries\CMSIS\stm32f10x.h 12 | ..\object\srf05.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h 13 | ..\object\srf05.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h 14 | ..\object\srf05.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_cec.h 15 | ..\object\srf05.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h 16 | ..\object\srf05.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h 17 | ..\object\srf05.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h 18 | ..\object\srf05.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h 19 | ..\object\srf05.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h 20 | ..\object\srf05.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h 21 | ..\object\srf05.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_fsmc.h 22 | ..\object\srf05.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h 23 | ..\object\srf05.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h 24 | ..\object\srf05.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h 25 | ..\object\srf05.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h 26 | ..\object\srf05.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h 27 | ..\object\srf05.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rtc.h 28 | ..\object\srf05.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_sdio.h 29 | ..\object\srf05.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_spi.h 30 | ..\object\srf05.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h 31 | ..\object\srf05.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h 32 | ..\object\srf05.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_wwdg.h 33 | ..\object\srf05.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h 34 | -------------------------------------------------------------------------------- /object/srf05.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/srf05.o -------------------------------------------------------------------------------- /object/startup_stm32f10x_hd.d: -------------------------------------------------------------------------------- 1 | ..\object\startup_stm32f10x_hd.o: ..\Libraries\CMSIS\startup\arm\startup_stm32f10x_hd.s 2 | -------------------------------------------------------------------------------- /object/startup_stm32f10x_hd.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/startup_stm32f10x_hd.o -------------------------------------------------------------------------------- /object/stm32f10x_adc.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/stm32f10x_adc.crf -------------------------------------------------------------------------------- /object/stm32f10x_adc.d: -------------------------------------------------------------------------------- 1 | ..\object\stm32f10x_adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_adc.c 2 | ..\object\stm32f10x_adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h 3 | ..\object\stm32f10x_adc.o: ..\Libraries\CMSIS\stm32f10x.h 4 | ..\object\stm32f10x_adc.o: ..\Libraries\CMSIS\core_cm3.h 5 | ..\object\stm32f10x_adc.o: D:\Keil\ARM\ARMCC\bin\..\include\stdint.h 6 | ..\object\stm32f10x_adc.o: ..\Libraries\CMSIS\system_stm32f10x.h 7 | ..\object\stm32f10x_adc.o: ..\User\stm32f10x_conf.h 8 | ..\object\stm32f10x_adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h 9 | ..\object\stm32f10x_adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h 10 | ..\object\stm32f10x_adc.o: ..\Libraries\CMSIS\stm32f10x.h 11 | ..\object\stm32f10x_adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h 12 | ..\object\stm32f10x_adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_cec.h 13 | ..\object\stm32f10x_adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h 14 | ..\object\stm32f10x_adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h 15 | ..\object\stm32f10x_adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h 16 | ..\object\stm32f10x_adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h 17 | ..\object\stm32f10x_adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h 18 | ..\object\stm32f10x_adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h 19 | ..\object\stm32f10x_adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_fsmc.h 20 | ..\object\stm32f10x_adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h 21 | ..\object\stm32f10x_adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h 22 | ..\object\stm32f10x_adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h 23 | ..\object\stm32f10x_adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h 24 | ..\object\stm32f10x_adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h 25 | ..\object\stm32f10x_adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rtc.h 26 | ..\object\stm32f10x_adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_sdio.h 27 | ..\object\stm32f10x_adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_spi.h 28 | ..\object\stm32f10x_adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h 29 | ..\object\stm32f10x_adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h 30 | ..\object\stm32f10x_adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_wwdg.h 31 | ..\object\stm32f10x_adc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h 32 | -------------------------------------------------------------------------------- /object/stm32f10x_adc.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/stm32f10x_adc.o -------------------------------------------------------------------------------- /object/stm32f10x_dma.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/stm32f10x_dma.crf -------------------------------------------------------------------------------- /object/stm32f10x_dma.d: -------------------------------------------------------------------------------- 1 | ..\object\stm32f10x_dma.o: ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dma.c 2 | ..\object\stm32f10x_dma.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h 3 | ..\object\stm32f10x_dma.o: ..\Libraries\CMSIS\stm32f10x.h 4 | ..\object\stm32f10x_dma.o: ..\Libraries\CMSIS\core_cm3.h 5 | ..\object\stm32f10x_dma.o: D:\Keil\ARM\ARMCC\bin\..\include\stdint.h 6 | ..\object\stm32f10x_dma.o: ..\Libraries\CMSIS\system_stm32f10x.h 7 | ..\object\stm32f10x_dma.o: ..\User\stm32f10x_conf.h 8 | ..\object\stm32f10x_dma.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h 9 | ..\object\stm32f10x_dma.o: ..\Libraries\CMSIS\stm32f10x.h 10 | ..\object\stm32f10x_dma.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h 11 | ..\object\stm32f10x_dma.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h 12 | ..\object\stm32f10x_dma.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_cec.h 13 | ..\object\stm32f10x_dma.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h 14 | ..\object\stm32f10x_dma.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h 15 | ..\object\stm32f10x_dma.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h 16 | ..\object\stm32f10x_dma.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h 17 | ..\object\stm32f10x_dma.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h 18 | ..\object\stm32f10x_dma.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h 19 | ..\object\stm32f10x_dma.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_fsmc.h 20 | ..\object\stm32f10x_dma.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h 21 | ..\object\stm32f10x_dma.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h 22 | ..\object\stm32f10x_dma.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h 23 | ..\object\stm32f10x_dma.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h 24 | ..\object\stm32f10x_dma.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h 25 | ..\object\stm32f10x_dma.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rtc.h 26 | ..\object\stm32f10x_dma.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_sdio.h 27 | ..\object\stm32f10x_dma.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_spi.h 28 | ..\object\stm32f10x_dma.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h 29 | ..\object\stm32f10x_dma.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h 30 | ..\object\stm32f10x_dma.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_wwdg.h 31 | ..\object\stm32f10x_dma.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h 32 | -------------------------------------------------------------------------------- /object/stm32f10x_dma.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/stm32f10x_dma.o -------------------------------------------------------------------------------- /object/stm32f10x_exti.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/stm32f10x_exti.crf -------------------------------------------------------------------------------- /object/stm32f10x_exti.d: -------------------------------------------------------------------------------- 1 | ..\object\stm32f10x_exti.o: ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_exti.c 2 | ..\object\stm32f10x_exti.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h 3 | ..\object\stm32f10x_exti.o: ..\Libraries\CMSIS\stm32f10x.h 4 | ..\object\stm32f10x_exti.o: ..\Libraries\CMSIS\core_cm3.h 5 | ..\object\stm32f10x_exti.o: D:\Keil\ARM\ARMCC\bin\..\include\stdint.h 6 | ..\object\stm32f10x_exti.o: ..\Libraries\CMSIS\system_stm32f10x.h 7 | ..\object\stm32f10x_exti.o: ..\User\stm32f10x_conf.h 8 | ..\object\stm32f10x_exti.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h 9 | ..\object\stm32f10x_exti.o: ..\Libraries\CMSIS\stm32f10x.h 10 | ..\object\stm32f10x_exti.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h 11 | ..\object\stm32f10x_exti.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h 12 | ..\object\stm32f10x_exti.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_cec.h 13 | ..\object\stm32f10x_exti.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h 14 | ..\object\stm32f10x_exti.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h 15 | ..\object\stm32f10x_exti.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h 16 | ..\object\stm32f10x_exti.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h 17 | ..\object\stm32f10x_exti.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h 18 | ..\object\stm32f10x_exti.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h 19 | ..\object\stm32f10x_exti.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_fsmc.h 20 | ..\object\stm32f10x_exti.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h 21 | ..\object\stm32f10x_exti.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h 22 | ..\object\stm32f10x_exti.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h 23 | ..\object\stm32f10x_exti.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h 24 | ..\object\stm32f10x_exti.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h 25 | ..\object\stm32f10x_exti.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rtc.h 26 | ..\object\stm32f10x_exti.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_sdio.h 27 | ..\object\stm32f10x_exti.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_spi.h 28 | ..\object\stm32f10x_exti.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h 29 | ..\object\stm32f10x_exti.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h 30 | ..\object\stm32f10x_exti.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_wwdg.h 31 | ..\object\stm32f10x_exti.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h 32 | -------------------------------------------------------------------------------- /object/stm32f10x_exti.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/stm32f10x_exti.o -------------------------------------------------------------------------------- /object/stm32f10x_flash.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/stm32f10x_flash.crf -------------------------------------------------------------------------------- /object/stm32f10x_flash.d: -------------------------------------------------------------------------------- 1 | ..\object\stm32f10x_flash.o: ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_flash.c 2 | ..\object\stm32f10x_flash.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h 3 | ..\object\stm32f10x_flash.o: ..\Libraries\CMSIS\stm32f10x.h 4 | ..\object\stm32f10x_flash.o: ..\Libraries\CMSIS\core_cm3.h 5 | ..\object\stm32f10x_flash.o: D:\Keil\ARM\ARMCC\bin\..\include\stdint.h 6 | ..\object\stm32f10x_flash.o: ..\Libraries\CMSIS\system_stm32f10x.h 7 | ..\object\stm32f10x_flash.o: ..\User\stm32f10x_conf.h 8 | ..\object\stm32f10x_flash.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h 9 | ..\object\stm32f10x_flash.o: ..\Libraries\CMSIS\stm32f10x.h 10 | ..\object\stm32f10x_flash.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h 11 | ..\object\stm32f10x_flash.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h 12 | ..\object\stm32f10x_flash.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_cec.h 13 | ..\object\stm32f10x_flash.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h 14 | ..\object\stm32f10x_flash.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h 15 | ..\object\stm32f10x_flash.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h 16 | ..\object\stm32f10x_flash.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h 17 | ..\object\stm32f10x_flash.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h 18 | ..\object\stm32f10x_flash.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h 19 | ..\object\stm32f10x_flash.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_fsmc.h 20 | ..\object\stm32f10x_flash.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h 21 | ..\object\stm32f10x_flash.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h 22 | ..\object\stm32f10x_flash.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h 23 | ..\object\stm32f10x_flash.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h 24 | ..\object\stm32f10x_flash.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h 25 | ..\object\stm32f10x_flash.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rtc.h 26 | ..\object\stm32f10x_flash.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_sdio.h 27 | ..\object\stm32f10x_flash.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_spi.h 28 | ..\object\stm32f10x_flash.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h 29 | ..\object\stm32f10x_flash.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h 30 | ..\object\stm32f10x_flash.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_wwdg.h 31 | ..\object\stm32f10x_flash.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h 32 | -------------------------------------------------------------------------------- /object/stm32f10x_flash.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/stm32f10x_flash.o -------------------------------------------------------------------------------- /object/stm32f10x_gpio.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/stm32f10x_gpio.crf -------------------------------------------------------------------------------- /object/stm32f10x_gpio.d: -------------------------------------------------------------------------------- 1 | ..\object\stm32f10x_gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_gpio.c 2 | ..\object\stm32f10x_gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h 3 | ..\object\stm32f10x_gpio.o: ..\Libraries\CMSIS\stm32f10x.h 4 | ..\object\stm32f10x_gpio.o: ..\Libraries\CMSIS\core_cm3.h 5 | ..\object\stm32f10x_gpio.o: D:\Keil\ARM\ARMCC\bin\..\include\stdint.h 6 | ..\object\stm32f10x_gpio.o: ..\Libraries\CMSIS\system_stm32f10x.h 7 | ..\object\stm32f10x_gpio.o: ..\User\stm32f10x_conf.h 8 | ..\object\stm32f10x_gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h 9 | ..\object\stm32f10x_gpio.o: ..\Libraries\CMSIS\stm32f10x.h 10 | ..\object\stm32f10x_gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h 11 | ..\object\stm32f10x_gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h 12 | ..\object\stm32f10x_gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_cec.h 13 | ..\object\stm32f10x_gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h 14 | ..\object\stm32f10x_gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h 15 | ..\object\stm32f10x_gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h 16 | ..\object\stm32f10x_gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h 17 | ..\object\stm32f10x_gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h 18 | ..\object\stm32f10x_gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h 19 | ..\object\stm32f10x_gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_fsmc.h 20 | ..\object\stm32f10x_gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h 21 | ..\object\stm32f10x_gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h 22 | ..\object\stm32f10x_gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h 23 | ..\object\stm32f10x_gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h 24 | ..\object\stm32f10x_gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h 25 | ..\object\stm32f10x_gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rtc.h 26 | ..\object\stm32f10x_gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_sdio.h 27 | ..\object\stm32f10x_gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_spi.h 28 | ..\object\stm32f10x_gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h 29 | ..\object\stm32f10x_gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h 30 | ..\object\stm32f10x_gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_wwdg.h 31 | ..\object\stm32f10x_gpio.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h 32 | -------------------------------------------------------------------------------- /object/stm32f10x_gpio.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/stm32f10x_gpio.o -------------------------------------------------------------------------------- /object/stm32f10x_i2c.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/stm32f10x_i2c.crf -------------------------------------------------------------------------------- /object/stm32f10x_i2c.d: -------------------------------------------------------------------------------- 1 | ..\object\stm32f10x_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_i2c.c 2 | ..\object\stm32f10x_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h 3 | ..\object\stm32f10x_i2c.o: ..\Libraries\CMSIS\stm32f10x.h 4 | ..\object\stm32f10x_i2c.o: ..\Libraries\CMSIS\core_cm3.h 5 | ..\object\stm32f10x_i2c.o: D:\Keil\ARM\ARMCC\bin\..\include\stdint.h 6 | ..\object\stm32f10x_i2c.o: ..\Libraries\CMSIS\system_stm32f10x.h 7 | ..\object\stm32f10x_i2c.o: ..\User\stm32f10x_conf.h 8 | ..\object\stm32f10x_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h 9 | ..\object\stm32f10x_i2c.o: ..\Libraries\CMSIS\stm32f10x.h 10 | ..\object\stm32f10x_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h 11 | ..\object\stm32f10x_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h 12 | ..\object\stm32f10x_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_cec.h 13 | ..\object\stm32f10x_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h 14 | ..\object\stm32f10x_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h 15 | ..\object\stm32f10x_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h 16 | ..\object\stm32f10x_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h 17 | ..\object\stm32f10x_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h 18 | ..\object\stm32f10x_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h 19 | ..\object\stm32f10x_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_fsmc.h 20 | ..\object\stm32f10x_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h 21 | ..\object\stm32f10x_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h 22 | ..\object\stm32f10x_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h 23 | ..\object\stm32f10x_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h 24 | ..\object\stm32f10x_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h 25 | ..\object\stm32f10x_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rtc.h 26 | ..\object\stm32f10x_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_sdio.h 27 | ..\object\stm32f10x_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_spi.h 28 | ..\object\stm32f10x_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h 29 | ..\object\stm32f10x_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h 30 | ..\object\stm32f10x_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_wwdg.h 31 | ..\object\stm32f10x_i2c.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h 32 | -------------------------------------------------------------------------------- /object/stm32f10x_i2c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/stm32f10x_i2c.o -------------------------------------------------------------------------------- /object/stm32f10x_it.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/stm32f10x_it.crf -------------------------------------------------------------------------------- /object/stm32f10x_it.d: -------------------------------------------------------------------------------- 1 | ..\object\stm32f10x_it.o: ..\User\stm32f10x_it.c 2 | ..\object\stm32f10x_it.o: ..\User\stm32f10x_it.h 3 | ..\object\stm32f10x_it.o: ..\Libraries\CMSIS\stm32f10x.h 4 | ..\object\stm32f10x_it.o: ..\Libraries\CMSIS\core_cm3.h 5 | ..\object\stm32f10x_it.o: D:\Keil\ARM\ARMCC\bin\..\include\stdint.h 6 | ..\object\stm32f10x_it.o: ..\Libraries\CMSIS\system_stm32f10x.h 7 | ..\object\stm32f10x_it.o: ..\User\stm32f10x_conf.h 8 | ..\object\stm32f10x_it.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h 9 | ..\object\stm32f10x_it.o: ..\Libraries\CMSIS\stm32f10x.h 10 | ..\object\stm32f10x_it.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h 11 | ..\object\stm32f10x_it.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h 12 | ..\object\stm32f10x_it.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_cec.h 13 | ..\object\stm32f10x_it.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h 14 | ..\object\stm32f10x_it.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h 15 | ..\object\stm32f10x_it.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h 16 | ..\object\stm32f10x_it.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h 17 | ..\object\stm32f10x_it.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h 18 | ..\object\stm32f10x_it.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h 19 | ..\object\stm32f10x_it.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_fsmc.h 20 | ..\object\stm32f10x_it.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h 21 | ..\object\stm32f10x_it.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h 22 | ..\object\stm32f10x_it.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h 23 | ..\object\stm32f10x_it.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h 24 | ..\object\stm32f10x_it.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h 25 | ..\object\stm32f10x_it.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rtc.h 26 | ..\object\stm32f10x_it.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_sdio.h 27 | ..\object\stm32f10x_it.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_spi.h 28 | ..\object\stm32f10x_it.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h 29 | ..\object\stm32f10x_it.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h 30 | ..\object\stm32f10x_it.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_wwdg.h 31 | ..\object\stm32f10x_it.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h 32 | ..\object\stm32f10x_it.o: ..\Hal\usart1.h 33 | ..\object\stm32f10x_it.o: ..\Hal\usart2.h 34 | -------------------------------------------------------------------------------- /object/stm32f10x_it.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/stm32f10x_it.o -------------------------------------------------------------------------------- /object/stm32f10x_rcc.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/stm32f10x_rcc.crf -------------------------------------------------------------------------------- /object/stm32f10x_rcc.d: -------------------------------------------------------------------------------- 1 | ..\object\stm32f10x_rcc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_rcc.c 2 | ..\object\stm32f10x_rcc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h 3 | ..\object\stm32f10x_rcc.o: ..\Libraries\CMSIS\stm32f10x.h 4 | ..\object\stm32f10x_rcc.o: ..\Libraries\CMSIS\core_cm3.h 5 | ..\object\stm32f10x_rcc.o: D:\Keil\ARM\ARMCC\bin\..\include\stdint.h 6 | ..\object\stm32f10x_rcc.o: ..\Libraries\CMSIS\system_stm32f10x.h 7 | ..\object\stm32f10x_rcc.o: ..\User\stm32f10x_conf.h 8 | ..\object\stm32f10x_rcc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h 9 | ..\object\stm32f10x_rcc.o: ..\Libraries\CMSIS\stm32f10x.h 10 | ..\object\stm32f10x_rcc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h 11 | ..\object\stm32f10x_rcc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h 12 | ..\object\stm32f10x_rcc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_cec.h 13 | ..\object\stm32f10x_rcc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h 14 | ..\object\stm32f10x_rcc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h 15 | ..\object\stm32f10x_rcc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h 16 | ..\object\stm32f10x_rcc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h 17 | ..\object\stm32f10x_rcc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h 18 | ..\object\stm32f10x_rcc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h 19 | ..\object\stm32f10x_rcc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_fsmc.h 20 | ..\object\stm32f10x_rcc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h 21 | ..\object\stm32f10x_rcc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h 22 | ..\object\stm32f10x_rcc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h 23 | ..\object\stm32f10x_rcc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h 24 | ..\object\stm32f10x_rcc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h 25 | ..\object\stm32f10x_rcc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rtc.h 26 | ..\object\stm32f10x_rcc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_sdio.h 27 | ..\object\stm32f10x_rcc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_spi.h 28 | ..\object\stm32f10x_rcc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h 29 | ..\object\stm32f10x_rcc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h 30 | ..\object\stm32f10x_rcc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_wwdg.h 31 | ..\object\stm32f10x_rcc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h 32 | -------------------------------------------------------------------------------- /object/stm32f10x_rcc.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/stm32f10x_rcc.o -------------------------------------------------------------------------------- /object/stm32f10x_tim.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/stm32f10x_tim.crf -------------------------------------------------------------------------------- /object/stm32f10x_tim.d: -------------------------------------------------------------------------------- 1 | ..\object\stm32f10x_tim.o: ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_tim.c 2 | ..\object\stm32f10x_tim.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h 3 | ..\object\stm32f10x_tim.o: ..\Libraries\CMSIS\stm32f10x.h 4 | ..\object\stm32f10x_tim.o: ..\Libraries\CMSIS\core_cm3.h 5 | ..\object\stm32f10x_tim.o: D:\Keil\ARM\ARMCC\bin\..\include\stdint.h 6 | ..\object\stm32f10x_tim.o: ..\Libraries\CMSIS\system_stm32f10x.h 7 | ..\object\stm32f10x_tim.o: ..\User\stm32f10x_conf.h 8 | ..\object\stm32f10x_tim.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h 9 | ..\object\stm32f10x_tim.o: ..\Libraries\CMSIS\stm32f10x.h 10 | ..\object\stm32f10x_tim.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h 11 | ..\object\stm32f10x_tim.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h 12 | ..\object\stm32f10x_tim.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_cec.h 13 | ..\object\stm32f10x_tim.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h 14 | ..\object\stm32f10x_tim.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h 15 | ..\object\stm32f10x_tim.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h 16 | ..\object\stm32f10x_tim.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h 17 | ..\object\stm32f10x_tim.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h 18 | ..\object\stm32f10x_tim.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h 19 | ..\object\stm32f10x_tim.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_fsmc.h 20 | ..\object\stm32f10x_tim.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h 21 | ..\object\stm32f10x_tim.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h 22 | ..\object\stm32f10x_tim.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h 23 | ..\object\stm32f10x_tim.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h 24 | ..\object\stm32f10x_tim.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h 25 | ..\object\stm32f10x_tim.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rtc.h 26 | ..\object\stm32f10x_tim.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_sdio.h 27 | ..\object\stm32f10x_tim.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_spi.h 28 | ..\object\stm32f10x_tim.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h 29 | ..\object\stm32f10x_tim.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h 30 | ..\object\stm32f10x_tim.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_wwdg.h 31 | ..\object\stm32f10x_tim.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h 32 | -------------------------------------------------------------------------------- /object/stm32f10x_tim.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/stm32f10x_tim.o -------------------------------------------------------------------------------- /object/stm32f10x_usart.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/stm32f10x_usart.crf -------------------------------------------------------------------------------- /object/stm32f10x_usart.d: -------------------------------------------------------------------------------- 1 | ..\object\stm32f10x_usart.o: ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_usart.c 2 | ..\object\stm32f10x_usart.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h 3 | ..\object\stm32f10x_usart.o: ..\Libraries\CMSIS\stm32f10x.h 4 | ..\object\stm32f10x_usart.o: ..\Libraries\CMSIS\core_cm3.h 5 | ..\object\stm32f10x_usart.o: D:\Keil\ARM\ARMCC\bin\..\include\stdint.h 6 | ..\object\stm32f10x_usart.o: ..\Libraries\CMSIS\system_stm32f10x.h 7 | ..\object\stm32f10x_usart.o: ..\User\stm32f10x_conf.h 8 | ..\object\stm32f10x_usart.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h 9 | ..\object\stm32f10x_usart.o: ..\Libraries\CMSIS\stm32f10x.h 10 | ..\object\stm32f10x_usart.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h 11 | ..\object\stm32f10x_usart.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h 12 | ..\object\stm32f10x_usart.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_cec.h 13 | ..\object\stm32f10x_usart.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h 14 | ..\object\stm32f10x_usart.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h 15 | ..\object\stm32f10x_usart.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h 16 | ..\object\stm32f10x_usart.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h 17 | ..\object\stm32f10x_usart.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h 18 | ..\object\stm32f10x_usart.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h 19 | ..\object\stm32f10x_usart.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_fsmc.h 20 | ..\object\stm32f10x_usart.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h 21 | ..\object\stm32f10x_usart.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h 22 | ..\object\stm32f10x_usart.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h 23 | ..\object\stm32f10x_usart.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h 24 | ..\object\stm32f10x_usart.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h 25 | ..\object\stm32f10x_usart.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rtc.h 26 | ..\object\stm32f10x_usart.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_sdio.h 27 | ..\object\stm32f10x_usart.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_spi.h 28 | ..\object\stm32f10x_usart.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h 29 | ..\object\stm32f10x_usart.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h 30 | ..\object\stm32f10x_usart.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_wwdg.h 31 | ..\object\stm32f10x_usart.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h 32 | -------------------------------------------------------------------------------- /object/stm32f10x_usart.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/stm32f10x_usart.o -------------------------------------------------------------------------------- /object/system_stm32f10x.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/system_stm32f10x.crf -------------------------------------------------------------------------------- /object/system_stm32f10x.d: -------------------------------------------------------------------------------- 1 | ..\object\system_stm32f10x.o: ..\Libraries\CMSIS\system_stm32f10x.c 2 | ..\object\system_stm32f10x.o: ..\Libraries\CMSIS\stm32f10x.h 3 | ..\object\system_stm32f10x.o: ..\Libraries\CMSIS\core_cm3.h 4 | ..\object\system_stm32f10x.o: D:\Keil\ARM\ARMCC\bin\..\include\stdint.h 5 | ..\object\system_stm32f10x.o: ..\Libraries\CMSIS\system_stm32f10x.h 6 | ..\object\system_stm32f10x.o: ..\User\stm32f10x_conf.h 7 | ..\object\system_stm32f10x.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h 8 | ..\object\system_stm32f10x.o: ..\Libraries\CMSIS\stm32f10x.h 9 | ..\object\system_stm32f10x.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h 10 | ..\object\system_stm32f10x.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h 11 | ..\object\system_stm32f10x.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_cec.h 12 | ..\object\system_stm32f10x.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h 13 | ..\object\system_stm32f10x.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h 14 | ..\object\system_stm32f10x.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h 15 | ..\object\system_stm32f10x.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h 16 | ..\object\system_stm32f10x.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h 17 | ..\object\system_stm32f10x.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h 18 | ..\object\system_stm32f10x.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_fsmc.h 19 | ..\object\system_stm32f10x.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h 20 | ..\object\system_stm32f10x.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h 21 | ..\object\system_stm32f10x.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h 22 | ..\object\system_stm32f10x.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h 23 | ..\object\system_stm32f10x.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h 24 | ..\object\system_stm32f10x.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rtc.h 25 | ..\object\system_stm32f10x.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_sdio.h 26 | ..\object\system_stm32f10x.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_spi.h 27 | ..\object\system_stm32f10x.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h 28 | ..\object\system_stm32f10x.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h 29 | ..\object\system_stm32f10x.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_wwdg.h 30 | ..\object\system_stm32f10x.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h 31 | -------------------------------------------------------------------------------- /object/system_stm32f10x.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/system_stm32f10x.o -------------------------------------------------------------------------------- /object/tim2.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/tim2.crf -------------------------------------------------------------------------------- /object/tim2.d: -------------------------------------------------------------------------------- 1 | ..\object\tim2.o: ..\Hal\tim2.c 2 | ..\object\tim2.o: ..\Hal\tim2.h 3 | ..\object\tim2.o: ..\Libraries\CMSIS\stm32f10x.h 4 | ..\object\tim2.o: ..\Libraries\CMSIS\core_cm3.h 5 | ..\object\tim2.o: D:\Keil\ARM\ARMCC\bin\..\include\stdint.h 6 | ..\object\tim2.o: ..\Libraries\CMSIS\system_stm32f10x.h 7 | ..\object\tim2.o: ..\User\stm32f10x_conf.h 8 | ..\object\tim2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h 9 | ..\object\tim2.o: ..\Libraries\CMSIS\stm32f10x.h 10 | ..\object\tim2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h 11 | ..\object\tim2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h 12 | ..\object\tim2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_cec.h 13 | ..\object\tim2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h 14 | ..\object\tim2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h 15 | ..\object\tim2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h 16 | ..\object\tim2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h 17 | ..\object\tim2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h 18 | ..\object\tim2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h 19 | ..\object\tim2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_fsmc.h 20 | ..\object\tim2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h 21 | ..\object\tim2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h 22 | ..\object\tim2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h 23 | ..\object\tim2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h 24 | ..\object\tim2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h 25 | ..\object\tim2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rtc.h 26 | ..\object\tim2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_sdio.h 27 | ..\object\tim2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_spi.h 28 | ..\object\tim2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h 29 | ..\object\tim2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h 30 | ..\object\tim2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_wwdg.h 31 | ..\object\tim2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h 32 | -------------------------------------------------------------------------------- /object/tim2.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/tim2.o -------------------------------------------------------------------------------- /object/usart1.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/usart1.crf -------------------------------------------------------------------------------- /object/usart1.d: -------------------------------------------------------------------------------- 1 | ..\object\usart1.o: ..\Hal\usart1.c 2 | ..\object\usart1.o: ..\Libraries\CMSIS\stm32f10x.h 3 | ..\object\usart1.o: ..\Libraries\CMSIS\core_cm3.h 4 | ..\object\usart1.o: D:\Keil\ARM\ARMCC\bin\..\include\stdint.h 5 | ..\object\usart1.o: ..\Libraries\CMSIS\system_stm32f10x.h 6 | ..\object\usart1.o: ..\User\stm32f10x_conf.h 7 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h 8 | ..\object\usart1.o: ..\Libraries\CMSIS\stm32f10x.h 9 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h 10 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h 11 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_cec.h 12 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h 13 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h 14 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h 15 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h 16 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h 17 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h 18 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_fsmc.h 19 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h 20 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h 21 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h 22 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h 23 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h 24 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rtc.h 25 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_sdio.h 26 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_spi.h 27 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h 28 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h 29 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_wwdg.h 30 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h 31 | ..\object\usart1.o: ..\Hal\usart1.h 32 | ..\object\usart1.o: D:\Keil\ARM\ARMCC\bin\..\include\stdio.h 33 | -------------------------------------------------------------------------------- /object/usart1.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/usart1.o -------------------------------------------------------------------------------- /object/usart2.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/usart2.crf -------------------------------------------------------------------------------- /object/usart2.d: -------------------------------------------------------------------------------- 1 | ..\object\usart2.o: ..\Hal\usart2.c 2 | ..\object\usart2.o: ..\Libraries\CMSIS\stm32f10x.h 3 | ..\object\usart2.o: ..\Libraries\CMSIS\core_cm3.h 4 | ..\object\usart2.o: D:\Keil\ARM\ARMCC\bin\..\include\stdint.h 5 | ..\object\usart2.o: ..\Libraries\CMSIS\system_stm32f10x.h 6 | ..\object\usart2.o: ..\User\stm32f10x_conf.h 7 | ..\object\usart2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h 8 | ..\object\usart2.o: ..\Libraries\CMSIS\stm32f10x.h 9 | ..\object\usart2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h 10 | ..\object\usart2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h 11 | ..\object\usart2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_cec.h 12 | ..\object\usart2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h 13 | ..\object\usart2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h 14 | ..\object\usart2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h 15 | ..\object\usart2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h 16 | ..\object\usart2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h 17 | ..\object\usart2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h 18 | ..\object\usart2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_fsmc.h 19 | ..\object\usart2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h 20 | ..\object\usart2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h 21 | ..\object\usart2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h 22 | ..\object\usart2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h 23 | ..\object\usart2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h 24 | ..\object\usart2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rtc.h 25 | ..\object\usart2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_sdio.h 26 | ..\object\usart2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_spi.h 27 | ..\object\usart2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h 28 | ..\object\usart2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h 29 | ..\object\usart2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_wwdg.h 30 | ..\object\usart2.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h 31 | ..\object\usart2.o: ..\Hal\usart2.h 32 | ..\object\usart2.o: D:\Keil\ARM\ARMCC\bin\..\include\stdio.h 33 | ..\object\usart2.o: D:\Keil\ARM\ARMCC\bin\..\include\stdlib.h 34 | ..\object\usart2.o: D:\Keil\ARM\ARMCC\bin\..\include\string.h 35 | ..\object\usart2.o: ..\Hal\delay.h 36 | -------------------------------------------------------------------------------- /object/usart2.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/usart2.o -------------------------------------------------------------------------------- /object/utils.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/utils.crf -------------------------------------------------------------------------------- /object/utils.d: -------------------------------------------------------------------------------- 1 | ..\object\utils.o: ..\Utils\utils.c 2 | ..\object\utils.o: D:\Keil\ARM\ARMCC\bin\..\include\stdint.h 3 | ..\object\utils.o: D:\Keil\ARM\ARMCC\bin\..\include\stdio.h 4 | ..\object\utils.o: ..\Utils\utils.h 5 | ..\object\utils.o: D:\Keil\ARM\ARMCC\bin\..\include\stdlib.h 6 | ..\object\utils.o: D:\Keil\ARM\ARMCC\bin\..\include\string.h 7 | -------------------------------------------------------------------------------- /object/utils.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PotoYang/STM32_HTTP_DataTrans/1dafb85def3148878d62e7c6f913968e2726862a/object/utils.o --------------------------------------------------------------------------------