• 大小: 19.99M
    文件类型: .zip
    金币: 2
    下载: 1 次
    发布日期: 2021-01-29
  • 语言: C/C++
  • 标签: ee  串口  STM32  2  t  

资源简介

STM32F030 freertos 串口空闲中断接收 CubeMX HAL库

资源截图

代码片段和文件信息

#include “adc.h“

/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
#define  ADC1_DR_Address      0x40012440

__IO uint32_t TempSensVoltmv = 0 VrefIntVoltmv = 0;
__IO uint16_t RegularConvData_Tab[2];

void ADC1_CH_DMA_Config(void)
{
ADC_InitTypeDef     ADC_InitStructure;
  DMA_InitTypeDef     DMA_InitStructure;
  
  /* ADC1 DeInit */  
  ADC_DeInit(ADC1);
  
  /* ADC1 Periph clock enable */
  RCC_APB2PeriphClockCmd(RCC_APB2Periph_ADC1 ENABLE);
  
  /* DMA1 clock enable */
  RCC_AHBPeriphClockCmd(RCC_AHBPeriph_DMA1  ENABLE);
  
  /* DMA1 Channel1 Config */
  DMA_DeInit(DMA1_Channel1);
  DMA_InitStructure.DMA_PeripheralbaseAddr = (uint32_t)ADC1_DR_Addre

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-05-11 14:01  STM32F0\
     文件        7500  2018-05-11 14:01  STM32F0\.mxproject
     目录           0  2018-05-17 14:20  STM32F0\Bsp\
     文件        3010  2013-12-07 16:15  STM32F0\Bsp\adc.c
     文件         228  2013-12-06 10:48  STM32F0\Bsp\adc.h
     文件        1257  2013-12-06 10:21  STM32F0\Bsp\exit.c
     文件         116  2012-07-30 22:53  STM32F0\Bsp\exit.h
     文件         428  2018-05-11 09:38  STM32F0\Bsp\led.c
     文件         114  2013-12-11 08:54  STM32F0\Bsp\led.h
     文件         494  2013-11-03 00:15  STM32F0\Bsp\systick.c
     文件         200  2013-08-18 13:22  STM32F0\Bsp\systick.h
     文件        7469  2013-12-11 13:37  STM32F0\Bsp\time.c
     文件         234  2013-12-11 11:31  STM32F0\Bsp\time.h
     文件        2660  2018-05-17 14:20  STM32F0\Bsp\uart.c
     文件         516  2018-05-17 10:04  STM32F0\Bsp\uart.h
     目录           0  2018-05-11 12:08  STM32F0\CubeMX0.si4project\
     目录           0  2018-05-11 12:56  STM32F0\CubeMX0.si4project\Backup\
     文件        3610  2018-05-09 10:23  STM32F0\CubeMX0.si4project\Backup\main(2786).h
     文件        2692  2018-05-11 12:56  STM32F0\CubeMX0.si4project\Backup\uart(7602).c
     目录           0  2018-05-08 15:53  STM32F0\CubeMX0.si4project\cache\
     目录           0  2018-05-11 15:58  STM32F0\CubeMX0.si4project\cache\parse\
     文件       11382  2018-05-11 12:57  STM32F0\CubeMX0.si4project\cache\parse\Bsp_uart.c.sisc
     文件        3729  2018-05-11 12:56  STM32F0\CubeMX0.si4project\cache\parse\Bsp_uart.h.sisc
     文件      483945  2018-05-08 15:55  STM32F0\CubeMX0.si4project\cache\parse\Drivers_CMSIS_Device_ST_STM32F0xx_Include_stm32f030x8.h.sisc
     文件       47558  2018-05-08 15:55  STM32F0\CubeMX0.si4project\cache\parse\Drivers_CMSIS_Include_core_cm0.h.sisc
     文件      271093  2018-05-08 15:55  STM32F0\CubeMX0.si4project\cache\parse\Drivers_STM32F0xx_HAL_Driver_Inc_Legacy_stm32_hal_legacy.h.sisc
     文件       38922  2018-05-08 15:55  STM32F0\CubeMX0.si4project\cache\parse\Drivers_STM32F0xx_HAL_Driver_Inc_stm32f0xx_hal.h.sisc
     文件       52233  2018-05-08 15:55  STM32F0\CubeMX0.si4project\cache\parse\Drivers_STM32F0xx_HAL_Driver_Inc_stm32f0xx_hal_adc.h.sisc
     文件       13316  2018-05-08 15:55  STM32F0\CubeMX0.si4project\cache\parse\Drivers_STM32F0xx_HAL_Driver_Inc_stm32f0xx_hal_adc_ex.h.sisc
     文件       48716  2018-05-08 15:55  STM32F0\CubeMX0.si4project\cache\parse\Drivers_STM32F0xx_HAL_Driver_Inc_stm32f0xx_hal_can.h.sisc
     文件       39023  2018-05-08 15:55  STM32F0\CubeMX0.si4project\cache\parse\Drivers_STM32F0xx_HAL_Driver_Inc_stm32f0xx_hal_cec.h.sisc
............此处省略862个文件信息

评论

共有 条评论