资源简介
该代码是磁力计stm32控制QMC5883L磁力计输出角度与三个磁力分量,某宝一些标记有hmc5883L模块实际是QMC5883L,输出角度一直是45的可以试一下,你会感谢我的
代码片段和文件信息
/**************************************************************************//**
* @file core_cm3.c
* @brief CMSIS Cortex-M3 Core Peripheral Access layer Source File
* @version V1.30
* @date 30. October 2009
*
* @note
* Copyright (C) 2009 ARM Limited. All rights reserved.
*
* @par
* ARM Limited (ARM) is supplying this software for use with Cortex-M
* processor based microcontrollers. This file can be freely distributed
* within development tools that are supporting such ARM based processors.
*
* @par
* THIS SOFTWARE IS PROVIDED “AS IS“. NO WARRANTIES WHETHER EXPRESS IMPLIED
* OR STATUTORY INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
* ARM SHALL NOT IN ANY CIRCUMSTANCES BE LIABLE FOR SPECIAL INCIDENTAL OR
* CONSEQUENTIAL DAMAGES FOR ANY REASON WHATSOEVER.
*
******************************************************************************/
#include
/* define compiler specific symbols */
#if defined ( __CC_ARM )
#define __ASM __asm /*!< asm keyword for ARM Compiler */
#define __INLINE __inline /*!< inline keyword for ARM Compiler */
#elif defined ( __ICCARM__ )
#define __ASM __asm /*!< asm keyword for IAR Compiler */
#define __INLINE inline /*!< inline keyword for IAR Compiler. Only avaiable in High optimization mode! */
#elif defined ( __GNUC__ )
#define __ASM __asm /*!< asm keyword for GNU Compiler */
#define __INLINE inline /*!< inline keyword for GNU Compiler */
#elif defined ( __TASKING__ )
#define __ASM __asm /*!< asm keyword for TASKING Compiler */
#define __INLINE inline /*!< inline keyword for TASKING Compiler */
#endif
/* ################### Compiler specific Intrinsics ########################### */
#if defined ( __CC_ARM ) /*------------------RealView Compiler -----------------*/
/* ARM armcc specific functions */
/**
* @brief Return the Process Stack Pointer
*
* @return ProcessStackPointer
*
* Return the actual process stack pointer
*/
__ASM uint32_t __get_PSP(void)
{
mrs r0 psp
bx lr
}
/**
* @brief Set the Process Stack Pointer
*
* @param topOfProcStack Process Stack Pointer
*
* Assign the value ProcessStackPointer to the MSP
* (process stack pointer) Cortex processor register
*/
__ASM void __set_PSP(uint32_t topOfProcStack)
{
msr psp r0
bx lr
}
/**
* @brief Return the Main Stack Pointer
*
* @return Main Stack Pointer
*
* Return the curren
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 17273 2014-11-11 21:41 STM32F1_QMC5883L\CORE\core_cm3.c
文件 85714 2014-11-11 21:41 STM32F1_QMC5883L\CORE\core_cm3.h
文件 15766 2014-11-11 21:41 STM32F1_QMC5883L\CORE\startup_stm32f10x_cl.s
文件 15503 2014-11-11 21:41 STM32F1_QMC5883L\CORE\startup_stm32f10x_hd.s
文件 15692 2014-11-11 21:41 STM32F1_QMC5883L\CORE\startup_stm32f10x_hd_vl.s
文件 12376 2014-11-11 21:41 STM32F1_QMC5883L\CORE\startup_stm32f10x_ld.s
文件 13656 2014-11-11 21:41 STM32F1_QMC5883L\CORE\startup_stm32f10x_ld_vl.s
文件 12765 2014-11-11 21:41 STM32F1_QMC5883L\CORE\startup_stm32f10x_md.s
文件 14073 2014-11-11 21:41 STM32F1_QMC5883L\CORE\startup_stm32f10x_md_vl.s
文件 15955 2014-11-11 21:41 STM32F1_QMC5883L\CORE\startup_stm32f10x_xl.s
文件 1232 2018-04-06 15:56 STM32F1_QMC5883L\HMC5883L\HMC5883L.c
文件 544 2018-04-06 14:58 STM32F1_QMC5883L\HMC5883L\HMC5883L.h
文件 2528 2018-04-06 10:32 STM32F1_QMC5883L\I2C\I2C.c
文件 411 2018-04-06 10:11 STM32F1_QMC5883L\I2C\I2C.h
文件 569 2014-12-09 14:28 STM32F1_QMC5883L\LED\led.c
文件 201 2014-12-09 14:23 STM32F1_QMC5883L\LED\led.h
文件 3942 2019-04-25 11:30 STM32F1_QMC5883L\OBJ\core_cm3.crf
文件 104 2019-04-25 11:30 STM32F1_QMC5883L\OBJ\core_cm3.d
文件 11256 2019-04-25 11:30 STM32F1_QMC5883L\OBJ\core_cm3.o
文件 247361 2019-04-25 11:31 STM32F1_QMC5883L\OBJ\delay.crf
文件 579 2019-04-25 11:31 STM32F1_QMC5883L\OBJ\delay.d
文件 265740 2019-04-25 11:31 STM32F1_QMC5883L\OBJ\delay.o
文件 19 2015-02-20 15:53 STM32F1_QMC5883L\OBJ\ExtDll.iex
文件 248239 2019-04-25 11:31 STM32F1_QMC5883L\OBJ\hmc5883l.crf
文件 693 2019-04-25 11:31 STM32F1_QMC5883L\OBJ\hmc5883l.d
文件 268016 2019-04-25 11:31 STM32F1_QMC5883L\OBJ\hmc5883l.o
文件 249299 2019-04-25 11:31 STM32F1_QMC5883L\OBJ\i2c.crf
文件 570 2019-04-25 11:31 STM32F1_QMC5883L\OBJ\i2c.d
文件 268380 2019-04-25 11:31 STM32F1_QMC5883L\OBJ\i2c.o
文件 247005 2019-04-25 11:31 STM32F1_QMC5883L\OBJ\led.crf
............此处省略296个文件信息
相关资源
- MPU6050MS5611HMC5883三传感器数据读取
- mpu6050+地磁传感器通过卡尔曼滤波得出
- MPU6050、磁力计、气压计传感器原理及
- stm32+mpu6050+QMC5883L
- STM32F407读取MPU9250原始数据
- qmc5883使用方法,stm32模拟iic
- STM32F103+HMC5883L
- HMC5883 QMC5883L指南+针罗盘模块+三轴磁
- STM32+MPU6050+HMC5883L+BMP180姿态解算程序
- MIMU_GPS_磁力计单兵系统组合导航技术
- HMC5883L-STM32驱动程序
- HMC5883L库文件
- Arduino HMC5883L库文件
- hmc5883l 与51单片机接线图
- HMC5883L的Arduino库
- CC2530-HMC5883L通过I2C通信
- HMC5883_CC2530
- HMC5883L 模块的源代码和电路图
- HMC5883L地磁测量
- IST8310三轴磁力计PCB封装
- 51单片机HMC5883和qmc5883来做电子指南针
- zw_HMC5883L模块资料电路图源代码.zip
- STM32F1单片机+四元数欧拉角姿态解算
- 电子罗盘HMC5883L自校准程序
- hmc5883l 电子罗盘430单片机程序
- HMC5883L模块资料电路图+源代码.zip
- stm32通过IIC读取HMC5883L来计算方向角
- MPU6500+QMC5883L驱动程序,基于STM32F3x编
- QMC5883L驱动文件
- 基于cc2530的HMC5883L程序 测量地磁 I2C通
评论
共有 条评论