资源简介
STM32F407模拟I2C中断读取MPU6050解算欧拉角,解算频率100HZ,稳定性还不错,yaw偏移很小,对四轴飞行器应该是够了.

代码片段和文件信息
/**
******************************************************************************
* @file misc.c
* @author MCD Application Team
* @version V1.8.0
* @date 04-November-2016
* @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
* ---------------------------------------------
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 114403 2016-11-05 01:33 f407_mpu6050\cmsys\core_cm4.h
文件 18323 2016-11-05 01:33 f407_mpu6050\cmsys\core_cmFunc.h
文件 27908 2016-11-05 01:33 f407_mpu6050\cmsys\core_cmInstr.h
文件 22947 2016-11-05 01:33 f407_mpu6050\cmsys\core_cmSimd.h
文件 29607 2016-11-07 23:02 f407_mpu6050\cmsys\startup_stm32f40_41xxx.s
文件 2851 2017-11-21 16:21 f407_mpu6050\DebugConfig\Target_1_STM32F429ZITx.dbgconf
文件 339 2019-08-23 20:40 f407_mpu6050\EventRecorderStub.scvd
文件 6926 2016-11-05 01:33 f407_mpu6050\head\misc.h
文件 940126 2019-07-16 22:14 f407_mpu6050\head\stm32f4xx.h
文件 33008 2016-11-05 01:33 f407_mpu6050\head\stm32f4xx_adc.h
文件 27849 2016-11-08 23:33 f407_mpu6050\head\stm32f4xx_can.h
文件 12446 2016-11-05 01:33 f407_mpu6050\head\stm32f4xx_cec.h
文件 5851 2016-11-09 02:19 f407_mpu6050\head\stm32f4xx_conf.h
文件 2418 2016-11-05 01:33 f407_mpu6050\head\stm32f4xx_crc.h
文件 14483 2016-11-05 01:33 f407_mpu6050\head\stm32f4xx_cryp.h
文件 14948 2016-11-05 01:33 f407_mpu6050\head\stm32f4xx_dac.h
文件 4298 2016-11-05 01:33 f407_mpu6050\head\stm32f4xx_dbgmcu.h
文件 12979 2016-11-05 01:33 f407_mpu6050\head\stm32f4xx_dcmi.h
文件 46290 2016-11-09 01:41 f407_mpu6050\head\stm32f4xx_dfsdm.h
文件 28884 2016-11-05 01:33 f407_mpu6050\head\stm32f4xx_dma.h
文件 19703 2016-11-05 01:33 f407_mpu6050\head\stm32f4xx_dma2d.h
文件 41450 2016-11-05 01:33 f407_mpu6050\head\stm32f4xx_dsi.h
文件 8117 2016-11-05 01:33 f407_mpu6050\head\stm32f4xx_exti.h
文件 25092 2016-11-05 01:33 f407_mpu6050\head\stm32f4xx_flash.h
文件 3277 2016-11-05 01:33 f407_mpu6050\head\stm32f4xx_flash_ramfunc.h
文件 19235 2016-11-05 01:33 f407_mpu6050\head\stm32f4xx_fmpi2c.h
文件 27183 2016-11-05 01:33 f407_mpu6050\head\stm32f4xx_fsmc.h
文件 29269 2016-11-05 01:33 f407_mpu6050\head\stm32f4xx_gpio.h
文件 10086 2016-11-05 01:33 f407_mpu6050\head\stm32f4xx_hash.h
文件 31937 2016-11-05 01:33 f407_mpu6050\head\stm32f4xx_i2c.h
............此处省略103个文件信息
相关资源
- I2C读写AT24C02 基于STM32F103 cube116540
- stm32f407上的两个can发送和接收例程
- 用DIO 做的I2C程式
- I2C总线接口设计
- 8051F040SMBUS多机通信
- 基于STM32F4x9的LCD显示
- stm32F4+w5300
- FreeModbus_Slave+STM32F407+USART2代码亲测可
- DHT10_I2C驱动.zip
- STM32F407 串口配置 串口1~6 六串口同时
- STM32F407_6个串口同时使用的代码
- I2C串行EEPROM应用系统的健壮性设计
- STM32F407实时时钟_DS1302实时时钟模块和
- 电子-GravityI2C3.7V锂电池电量计stm32L1
- STM32F429内部FLASH读写程序
- stm32f407读写flash的demo,基于正点原子
- STM32F4x7_ETH_LwIP_V1.0.0
- 四轴飞控源码 PID参考apm 采用了dmp自带
- 基于STM32F407的视频采集与传输系统设
- STM8L_MPU6500_DMP_震动唤醒
- arduino主机,stm8从机。I2C测试 。每次
- W5500Test-20180314.7z
- 10位ADC转换器AD5612(stm32_IO口模拟I2C)
- STM32F407ZG_ESP8266例程
- (带有源代码)基于FPGA的模拟I2C接口
- Keil5下的STM32F407程序
- zw_OLED-STM32F4-IIC.zip
- USART基于hal库stm32f407串口通讯.rar
- STM32F4基于HAL库的LCD显示实验
- stm32f4+ov5640颜色识别.zip
评论
共有 条评论