-
大小: 3.92MB文件类型: .rar金币: 1下载: 0 次发布日期: 2023-09-17
- 语言: 其他
- 标签: GY_US42 STM32F407 TFMINI_PIUS
资源简介
采用STM32F407串口1接受TFMINI_PLUS数据并解码,串口2接受超声波——GY_US42数据并解码.并将两者数据通过串口3发送其他开发板。在本人自测板测试成功,如果要用在正点原子开发板,只需改usart.c文件中串口对于引脚。
代码片段和文件信息
/**
******************************************************************************
* @file misc.c
* @author MCD Application Team
* @version V1.4.0
* @date 04-August-2014
* @brief This file provides all the miscellaneous firmware functions (add-on
* to CMSIS functions).
*
* @verbatim
*
* ===================================================================
* How to configure Interrupts using driver
* ===================================================================
*
* This section provide functions allowing to configure the NVIC interrupts (IRQ).
* The Cortex-M4 exceptions are managed by CMSIS functions.
*
* 1. Configure the NVIC Priority Grouping using NVIC_PriorityGroupConfig()
* function according to the following table.
* The table below gives the allowed values of the pre-emption priority and subpriority according
* to the Priority Grouping configuration performed by NVIC_PriorityGroupConfig function
* ==========================================================================================================================
* NVIC_PriorityGroup | NVIC_IRQChannelPreemptionPriority | NVIC_IRQChannelSubPriority | Description
* ==========================================================================================================================
* NVIC_PriorityGroup_0 | 0 | 0-15 | 0 bits for pre-emption priority
* | | | 4 bits for subpriority
* --------------------------------------------------------------------------------------------------------------------------
* NVIC_PriorityGroup_1 | 0-1 | 0-7 | 1 bits for pre-emption priority
* | | | 3 bits for subpriority
* --------------------------------------------------------------------------------------------------------------------------
* NVIC_PriorityGroup_2 | 0-3 | 0-3 | 2 bits for pre-emption priority
* | | | 2 bits for subpriority
* --------------------------------------------------------------------------------------------------------------------------
* NVIC_PriorityGroup_3 | 0-7 | 0-1 | 3 bits for pre-emption priority
* | | | 1 bits for subpriority
* -----------------------------------------------
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 109142 2016-04-15 21:58 定高避障\CORE\core_cm4.h
文件 22735 2016-04-15 21:58 定高避障\CORE\core_cm4_simd.h
文件 17146 2016-04-15 21:58 定高避障\CORE\core_cmFunc.h
文件 20513 2016-04-15 21:58 定高避障\CORE\core_cmInstr.h
文件 29605 2016-04-15 21:58 定高避障\CORE\startup_stm32f40_41xxx.s
文件 6924 2016-04-15 21:58 定高避障\FWLIB\inc\misc.h
文件 32880 2016-04-15 21:58 定高避障\FWLIB\inc\stm32f4xx_adc.h
文件 27318 2016-04-15 21:58 定高避障\FWLIB\inc\stm32f4xx_can.h
文件 2416 2016-04-15 21:58 定高避障\FWLIB\inc\stm32f4xx_crc.h
文件 14481 2016-04-15 21:58 定高避障\FWLIB\inc\stm32f4xx_cryp.h
文件 14946 2016-04-15 21:58 定高避障\FWLIB\inc\stm32f4xx_dac.h
文件 4296 2016-04-15 21:58 定高避障\FWLIB\inc\stm32f4xx_dbgmcu.h
文件 12977 2016-04-15 21:58 定高避障\FWLIB\inc\stm32f4xx_dcmi.h
文件 28882 2016-04-15 21:58 定高避障\FWLIB\inc\stm32f4xx_dma.h
文件 19692 2016-04-15 21:58 定高避障\FWLIB\inc\stm32f4xx_dma2d.h
文件 8012 2016-04-15 21:58 定高避障\FWLIB\inc\stm32f4xx_exti.h
文件 24467 2016-04-15 21:58 定高避障\FWLIB\inc\stm32f4xx_flash.h
文件 3275 2016-04-15 21:58 定高避障\FWLIB\inc\stm32f4xx_flash_ramfunc.h
文件 44924 2016-04-15 21:58 定高避障\FWLIB\inc\stm32f4xx_fmc.h
文件 27181 2016-04-15 21:58 定高避障\FWLIB\inc\stm32f4xx_fsmc.h
文件 23548 2016-04-15 21:58 定高避障\FWLIB\inc\stm32f4xx_gpio.h
文件 10084 2016-04-15 21:58 定高避障\FWLIB\inc\stm32f4xx_hash.h
文件 31939 2016-04-15 21:58 定高避障\FWLIB\inc\stm32f4xx_i2c.h
文件 4323 2016-04-15 21:58 定高避障\FWLIB\inc\stm32f4xx_iwdg.h
文件 21191 2016-04-15 21:58 定高避障\FWLIB\inc\stm32f4xx_ltdc.h
文件 7728 2016-04-15 21:58 定高避障\FWLIB\inc\stm32f4xx_pwr.h
文件 30063 2016-04-15 21:58 定高避障\FWLIB\inc\stm32f4xx_rcc.h
文件 3958 2016-04-15 21:58 定高避障\FWLIB\inc\stm32f4xx_rng.h
文件 40546 2016-04-15 21:58 定高避障\FWLIB\inc\stm32f4xx_rtc.h
文件 25470 2016-04-15 21:58 定高避障\FWLIB\inc\stm32f4xx_sai.h
............此处省略167个文件信息
相关资源
- 基于STM32F407的OPENMV设计资料
- STM32F407读取MPU9250原始数据
- HX711-stm32f407
- 正点原子STM32F407 BMP180测试程序
- 通过STM32F407对BH1750光照度传感器采集
- STM32F407VE实现软件IIC读取mpu6050数据
- stm32f407官方评估板,包含原理图和P
- stm32f407舵机控制程序
- STM32F蓝牙超声波避障小车
- KS103 stm32f407程序
- 基于stm32f407的贪吃蛇
- STM32F407引脚说明
- 蓝牙控制8个舵机STM32F407+pca9685+HC06
- STM32F407+ov2640图像处理图像经过二值化
- MPU9250九轴官方MPL库移植STM32F407例程
- stm32f407+dm9161驱动程序
- 正点原子stm32f407探索者LD3320语音识别
- 基于stm32F407的音乐播放器
- STM32F407系统时钟设置程序STM32F4xx_Clo
- 基于STM32F407开发板驱动触摸屏原子
- STM32F407四路12位AD采样
- FreeModbus--RTU--Master+Slave--uCOSIII--STM32F
- 旋钮编码器STM32F407
- 通过串口控制呼吸灯的频率
- STM32F407 USB 自定义HID实现代码
- STM32F407 DMA+串口接收不定长数据程序
- 实验9X stm32F407zgt6_PWM控制SG90输出实验
- ARM stm32f407 开发板原理图及 PCB图
- 基于stm32f407输入捕获实验
- stm32f407+ov7725
评论
共有 条评论