资源简介
TLE5012b是英飞凌的一款磁传感器,很跨时代的一个产品,综合性能都很高,15位解析度,20khz刷新率,典型8mhz的spi时钟。TLE5012B SSC为三线制协议,允许双向通讯,兼容SPI协议。基于STM32F103的硬件spi接口,通过SSC协议读取TLE5012B内部寄存器数据(如角速度、角度原始数值、温度等)以及配置寄存器(如解析度、自动标定,工作模式等)。
代码片段和文件信息
/**************************************************************************//**
* @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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-03-30 11:14 SPI_Communication_F103ZE_PP\
目录 0 2017-03-30 11:14 SPI_Communication_F103ZE_PP\Doc\
文件 203 2015-07-15 11:01 SPI_Communication_F103ZE_PP\Doc\readme.txt
目录 0 2017-03-30 11:14 SPI_Communication_F103ZE_PP\Libraries\
目录 0 2017-03-30 11:14 SPI_Communication_F103ZE_PP\Libraries\CMSIS\
文件 17273 2014-07-04 20:40 SPI_Communication_F103ZE_PP\Libraries\CMSIS\core_cm3.c
文件 85714 2014-07-04 20:40 SPI_Communication_F103ZE_PP\Libraries\CMSIS\core_cm3.h
目录 0 2017-03-30 11:14 SPI_Communication_F103ZE_PP\Libraries\CMSIS\startup\
文件 15766 2014-07-04 20:40 SPI_Communication_F103ZE_PP\Libraries\CMSIS\startup\startup_stm32f10x_cl.s
文件 15895 2015-07-13 14:24 SPI_Communication_F103ZE_PP\Libraries\CMSIS\startup\startup_stm32f10x_hd.s
文件 15692 2014-07-04 20:40 SPI_Communication_F103ZE_PP\Libraries\CMSIS\startup\startup_stm32f10x_hd_vl.s
文件 12376 2014-07-04 20:40 SPI_Communication_F103ZE_PP\Libraries\CMSIS\startup\startup_stm32f10x_ld.s
文件 13656 2014-07-04 20:40 SPI_Communication_F103ZE_PP\Libraries\CMSIS\startup\startup_stm32f10x_ld_vl.s
文件 12765 2014-07-04 20:40 SPI_Communication_F103ZE_PP\Libraries\CMSIS\startup\startup_stm32f10x_md.s
文件 14073 2014-07-04 20:40 SPI_Communication_F103ZE_PP\Libraries\CMSIS\startup\startup_stm32f10x_md_vl.s
文件 15955 2014-07-04 20:40 SPI_Communication_F103ZE_PP\Libraries\CMSIS\startup\startup_stm32f10x_xl.s
文件 633941 2014-07-04 20:40 SPI_Communication_F103ZE_PP\Libraries\CMSIS\stm32f10x.h
文件 36557 2014-07-04 20:40 SPI_Communication_F103ZE_PP\Libraries\CMSIS\system_stm32f10x.c
文件 2085 2014-07-04 20:40 SPI_Communication_F103ZE_PP\Libraries\CMSIS\system_stm32f10x.h
目录 0 2017-03-30 11:14 SPI_Communication_F103ZE_PP\Libraries\FWlib\
目录 0 2017-03-30 11:14 SPI_Communication_F103ZE_PP\Libraries\FWlib\inc\
文件 8982 2014-07-04 20:40 SPI_Communication_F103ZE_PP\Libraries\FWlib\inc\misc.h
文件 21694 2014-07-04 20:40 SPI_Communication_F103ZE_PP\Libraries\FWlib\inc\stm32f10x_adc.h
文件 7555 2014-07-04 20:40 SPI_Communication_F103ZE_PP\Libraries\FWlib\inc\stm32f10x_bkp.h
文件 27559 2014-07-04 20:40 SPI_Communication_F103ZE_PP\Libraries\FWlib\inc\stm32f10x_can.h
文件 6573 2014-07-04 20:40 SPI_Communication_F103ZE_PP\Libraries\FWlib\inc\stm32f10x_cec.h
文件 2162 2014-07-04 20:40 SPI_Communication_F103ZE_PP\Libraries\FWlib\inc\stm32f10x_crc.h
文件 15233 2014-07-04 20:40 SPI_Communication_F103ZE_PP\Libraries\FWlib\inc\stm32f10x_dac.h
文件 3818 2014-07-04 20:40 SPI_Communication_F103ZE_PP\Libraries\FWlib\inc\stm32f10x_dbgmcu.h
文件 20754 2014-07-04 20:40 SPI_Communication_F103ZE_PP\Libraries\FWlib\inc\stm32f10x_dma.h
文件 6824 2014-07-04 20:40 SPI_Communication_F103ZE_PP\Libraries\FWlib\inc\stm32f10x_exti.h
............此处省略342个文件信息
相关资源
- FACTS modelling and control
- SSClone完全版
- NamelessCotrunQuad_V1.0-master.zip
- 基于Qt QGraphicsScene的画图演示
- SSC最新源码.rar
- 如何使用CiteSpace进行中文的文献分析
-
CrossCore em
bedded StudioCCES破解方法,工 - ResScope-v1.94破解版
- 2017年(最新)SSCI检索期刊目录
- 全天SSC计划预测WAP手机版.rar
- 春彩SSC源码带后台和开奖.zip
- WordPressCMS主题:知更鸟begin5.2授权破解
- 最新SSC喜虎完整源码.zip
- ISSCC2019论文集[百度网盘链接及压缩包
- Scala Machine Learning ProjectsScala机器学习
- 31302_ResScan_6.0.1.zip
- 真人+CP整站ylc系统源码.zip
- sscom4.2串口调试助手
- SSCOM4.2串口调试工具
- 串口调试工具sscom5.11
- DevExpressCrack-master.zip
- 串口网络调试助手sscom5.1.3.rar
- DSScan1.0(135溢出漏洞扫描工具)
- 命令提示符完全透明GlassCMD.rar
- sscom42串口调试
- masscan win版本
- 在QGraphicsScene上画矩形
- ISSCC 2019 论文/PPT/Demo 百度网盘版链接
- sscom5.13.1.exe
- SScom33.exe很好用的串口调试工具
评论
共有 条评论