资源简介
在原子的HAL库的串口例程的基础上修改出来的,用ZET6核心板实现,通过串口3接收数据,串口1连接USB线向电脑发送数据,电脑串口助手读取接收到的各个通道的值
代码片段和文件信息
/**
******************************************************************************
* @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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 28208 2019-06-28 22:27 ZET6串口实验HAL\CORE\cmsis_armcc.h
文件 56497 2019-06-28 22:27 ZET6串口实验HAL\CORE\cmsis_armclang.h
文件 9014 2019-06-28 22:27 ZET6串口实验HAL\CORE\cmsis_compiler.h
文件 111856 2019-09-17 15:05 ZET6串口实验HAL\CORE\core_cm3.h
文件 15056 2019-06-28 22:27 ZET6串口实验HAL\CORE\startup_stm32f103xe.s
文件 6916 2019-06-24 18:05 ZET6串口实验HAL\HALLIB\STM32F1xx_HAL_Driver\Inc\Legacy\stm32f1xx_hal_can_ex_legacy.h
文件 38378 2019-06-24 18:05 ZET6串口实验HAL\HALLIB\STM32F1xx_HAL_Driver\Inc\Legacy\stm32f1xx_hal_can_legacy.h
文件 204810 2019-06-26 18:55 ZET6串口实验HAL\HALLIB\STM32F1xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h
文件 11594 2019-06-24 18:05 ZET6串口实验HAL\HALLIB\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal.h
文件 53734 2019-06-24 18:05 ZET6串口实验HAL\HALLIB\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_adc.h
文件 47781 2019-06-24 18:05 ZET6串口实验HAL\HALLIB\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_adc_ex.h
文件 43988 2019-06-24 18:05 ZET6串口实验HAL\HALLIB\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_can.h
文件 23043 2019-06-24 18:05 ZET6串口实验HAL\HALLIB\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_cec.h
文件 16495 2019-06-24 18:05 ZET6串口实验HAL\HALLIB\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_conf_template.h
文件 17552 2019-06-24 18:05 ZET6串口实验HAL\HALLIB\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_cortex.h
文件 5255 2019-06-24 18:05 ZET6串口实验HAL\HALLIB\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_crc.h
文件 16144 2019-06-24 18:05 ZET6串口实验HAL\HALLIB\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_dac.h
文件 16376 2019-06-24 18:05 ZET6串口实验HAL\HALLIB\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_dac_ex.h
文件 7177 2019-06-24 18:05 ZET6串口实验HAL\HALLIB\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_def.h
文件 18222 2019-06-24 18:05 ZET6串口实验HAL\HALLIB\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_dma.h
文件 12842 2019-06-24 18:05 ZET6串口实验HAL\HALLIB\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_dma_ex.h
文件 105810 2019-06-24 18:05 ZET6串口实验HAL\HALLIB\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_eth.h
文件 12220 2019-06-24 18:05 ZET6串口实验HAL\HALLIB\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_exti.h
文件 9328 2019-06-24 18:05 ZET6串口实验HAL\HALLIB\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_flash.h
文件 36979 2019-06-24 18:05 ZET6串口实验HAL\HALLIB\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_flash_ex.h
文件 12054 2019-06-24 18:05 ZET6串口实验HAL\HALLIB\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_gpio.h
文件 36226 2019-06-24 18:05 ZET6串口实验HAL\HALLIB\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_gpio_ex.h
文件 12637 2019-06-24 18:05 ZET6串口实验HAL\HALLIB\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_hcd.h
文件 35620 2019-06-24 18:05 ZET6串口实验HAL\HALLIB\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_i2c.h
文件 23436 2019-06-24 18:05 ZET6串口实验HAL\HALLIB\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_i2s.h
............此处省略257个文件信息
相关资源
- 基于STM32F103的循迹避障智能小车.zip
- 模拟电磁曲射炮STM32代码.zip
- RFID_RC522战舰程序
- 基于STM32F103的数据采集系统设计
- STM32f103多串口程序 32单片机程序 亲测
- STM32F1 做的MP3播放器
- 基于STM32F103+ADS1292的心率实时显示串口
- 实验1:PCM5102播放SD卡音乐STM32F103ZET
- STM32F103RB最小系统PCB工程_RV2(2012.12
- STM32F103C8T6核心板 + ENC28J60
- DAC7311芯片STM32F10X例程.zip
- lora 节点 通信源码 实测没问题 SX12
- STM32F103 烟雾浓度检测
- STM32F103VCT6原版数据手册.pdf-EasyDatash
- STM32F103ZET6_FreeModbus移植
- STM32F103 MCP2515
- 英飞凌磁传感器 TLE5012b STM32F103 SPI 源
- stm32f103+nrf24l01 收发程序按键选择模式
- stm32f103c8t6 驱动ili9341 2.8寸TFT LCD液晶显
- 条形码二维码扫描识别模块GM65程序之
- STM32F103实战项目
- STM32五子棋游戏
- stm32f103c8串口中断不定长接收基于cu
- stm32f107ptp时钟同步
- stm32f103+dht11温湿度传感器例程
- 基于STM32F103的USB键盘程序代码
- STM32f103循迹小车控制程序源码
- STM32F103基于keil写的简易示波器
- STM32F1驱动APDS9960识别手势
- 基于stm32F103c8t6和GPS模块做的小玩意儿
评论
共有 条评论