• 大小: 4.39MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-09-16
  • 语言: 其他
  • 标签: STM32CubeIDE  

资源简介

芯片stm32f103vct6 外接8M晶振 SWD调试 串口1输出 9600波特率

信号A串10K电阻接PA0 信号B串10K电阻接PA1 串口输出单位为mm精确到1um

资源截图

代码片段和文件信息

/**
  ******************************************************************************
  * @file    stm32f1xx_hal.c
  * @author  MCD Application Team
  * @brief   HAL module driver.
  *          This is the common part of the HAL initialization
  *
  @verbatim
  ==============================================================================
                     ##### How to use this driver #####
  ==============================================================================
    [..]
    The common HAL driver contains a set of generic and common APIs that can be
    used by the PPP peripheral drivers and the user to start using the HAL.
    [..]
    The HAL contains two APIs‘ categories:
         (+) Common HAL APIs
         (+) Services HAL APIs

  @endverbatim
  ******************************************************************************
  * @attention
  *
  * 

© Copyright (c) 2016 STMicroelectronics.
  * All rights reserved.


  *
  * This software component is licensed by ST under BSD 3-Clause license
  * the “License“; You may not use this file except in compliance with the
  * License. You may obtain a copy of the License at:
  *                        opensource.org/licenses/BSD-3-Clause
  *
  ******************************************************************************
  */

/* Includes ------------------------------------------------------------------*/
#include “stm32f1xx_hal.h“

/** @addtogroup STM32F1xx_HAL_Driver
  * @{
  */

/** @defgroup HAL HAL
  * @brief HAL module driver.
  * @{
  */

#ifdef HAL_MODULE_ENABLED

/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/

/** @defgroup HAL_Private_Constants HAL Private Constants
  * @{
  */
/**
 * @brief STM32F1xx HAL Driver version number V1.1.4
   */
#define __STM32F1xx_HAL_VERSION_MAIN   (0x01U) /*!< [31:24] main version */
#define __STM32F1xx_HAL_VERSION_SUB1   (0x01U) /*!< [23:16] sub1 version */
#define __STM32F1xx_HAL_VERSION_SUB2   (0x04U) /*!< [15:8]  sub2 version */
#define __STM32F1xx_HAL_VERSION_RC     (0x00U) /*!< [7:0]  release candidate */
#define __STM32F1xx_HAL_VERSION         ((__STM32F1xx_HAL_VERSION_MAIN << 24)\
                                        |(__STM32F1xx_HAL_VERSION_SUB1 << 16)\
                                        |(__STM32F1xx_HAL_VERSION_SUB2 << 8 )\
                                        |(__STM32F1xx_HAL_VERSION_RC))

#define IDCODE_DEVID_MASK    0x00000FFFU

/**
  * @}
  */

/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/

/** @defgroup HAL_Private_Variables HAL Private Variables
  * @{
  */
__IO uint32_t uwTick;
uint32_t uwTickPrio   = (1UL << __NVIC_PRIO_BITS); /* Invalid PRIO */
HAL_TickFreqTypeDef uwTickFreq = HAL_TI

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2020-03-14 08:36  test\
     文件       28664  2020-03-14 08:36  test\.cproject
     文件        5892  2020-03-14 08:36  test\.mxproject
     文件        1062  2020-01-06 13:12  test\.project
     目录           0  2020-01-09 15:09  test\.settings\
     文件         187  2020-01-09 13:58  test\.settings\com.st.stm32cube.ide.mcu.sfrview.prefs
     文件        2373  2020-03-14 08:33  test\.settings\language.settings.xml
     文件       14869  2020-01-09 13:58  test\.settings\org.eclipse.cdt.codan.core.prefs
     目录           0  2020-01-13 15:25  test\Debug\
     目录           0  2020-01-10 13:17  test\Debug\Drivers\
     目录           0  2020-01-10 13:17  test\Debug\Drivers\STM32F1xx_HAL_Driver\
     目录           0  2020-01-10 13:33  test\Debug\Drivers\STM32F1xx_HAL_Driver\Src\
     文件        2863  2020-01-10 13:33  test\Debug\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal.d
     文件      698304  2020-01-10 13:33  test\Debug\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal.o
     文件        1262  2020-01-10 13:33  test\Debug\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal.su
     文件        2877  2020-01-10 13:33  test\Debug\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cortex.d
     文件      701720  2020-01-10 13:33  test\Debug\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cortex.o
     文件        1683  2020-01-10 13:33  test\Debug\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cortex.su
     文件        2871  2020-01-10 13:33  test\Debug\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_dma.d
     文件      699688  2020-01-10 13:33  test\Debug\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_dma.o
     文件         726  2020-01-10 13:33  test\Debug\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_dma.su
     文件        2873  2020-01-10 13:33  test\Debug\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_exti.d
     文件      691140  2020-01-10 13:33  test\Debug\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_exti.o
     文件         547  2020-01-10 13:33  test\Debug\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_exti.su
     文件        2875  2020-01-10 13:33  test\Debug\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_flash.d
     文件      693976  2020-01-10 13:33  test\Debug\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_flash.o
     文件         857  2020-01-10 13:33  test\Debug\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_flash.su
     文件        2881  2020-01-10 13:33  test\Debug\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_flash_ex.d
     文件      697004  2020-01-10 13:33  test\Debug\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_flash_ex.o
     文件        1005  2020-01-10 13:33  test\Debug\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_flash_ex.su
     文件        2873  2020-01-10 13:33  test\Debug\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio.d
............此处省略140个文件信息

评论

共有 条评论