资源简介
STM32F103ZET6_INA226电流采集芯片源码,IIC通讯,可直接测量电流,电压,用作电流计,电流表很方便!
代码片段和文件信息
/**************************************************************************//**
* @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 2020-04-29 17:44 .git\
文件 37 2020-04-29 17:44 .git\COMMIT_EDITMSG
文件 245 2020-04-29 17:41 .git\config
文件 73 2020-04-29 17:41 .git\desc
文件 102 2020-04-29 17:42 .git\FETCH_HEAD
文件 23 2020-04-29 17:41 .git\HEAD
目录 0 2020-04-29 17:41 .git\hooks\
文件 478 2020-04-29 17:41 .git\hooks\applypatch-msg.sample
文件 896 2020-04-29 17:41 .git\hooks\commit-msg.sample
文件 3327 2020-04-29 17:41 .git\hooks\fsmonitor-watchman.sample
文件 189 2020-04-29 17:41 .git\hooks\post-update.sample
文件 424 2020-04-29 17:41 .git\hooks\pre-applypatch.sample
文件 1638 2020-04-29 17:41 .git\hooks\pre-commit.sample
文件 1348 2020-04-29 17:41 .git\hooks\pre-push.sample
文件 4898 2020-04-29 17:41 .git\hooks\pre-reba
文件 544 2020-04-29 17:41 .git\hooks\pre-receive.sample
文件 1492 2020-04-29 17:41 .git\hooks\prepare-commit-msg.sample
文件 3610 2020-04-29 17:41 .git\hooks\update.sample
文件 13482 2020-04-29 17:44 .git\index
目录 0 2020-04-29 17:41 .git\info\
文件 240 2020-04-29 17:41 .git\info\exclude
目录 0 2020-04-29 17:42 .git\logs\
文件 316 2020-04-29 17:44 .git\logs\HEAD
目录 0 2020-04-29 17:42 .git\logs\refs\
目录 0 2020-04-29 17:42 .git\logs\refs\heads\
文件 316 2020-04-29 17:44 .git\logs\refs\heads\master
目录 0 2020-04-29 17:42 .git\logs\refs\remotes\
目录 0 2020-04-29 17:42 .git\logs\refs\remotes\origin\
文件 306 2020-04-29 17:44 .git\logs\refs\remotes\origin\master
目录 0 2020-04-29 17:44 .git\ob
目录 0 2020-04-29 17:42 .git\ob
............此处省略451个文件信息
- 上一篇:卫星基础知识普及和基础内容的解读
- 下一篇:配电系统远程智能监控平台方案及设备清单
相关资源
- STM32F103ZET6最小系统板PCB+原理图
- 实验1:PCM5102播放SD卡音乐STM32F103ZET
- STM32F103ZET6_FreeModbus移植
- 条形码二维码扫描识别模块GM65程序之
- stm32f103zet6上移植ucosii 只要cortex m3内
- 基于战舰V3的篮球计分器
- STM32F1xx中文参考手册/STM32F103ZET6中文
- STM32F103ZET6控制二维码模块GM65
- 基于STM32F103ZET6的1.8寸SPI_TFT程序内含模
- STM32F103ZET6最小系统核心板含PCB与原理
- STM32F103ZET6+FreeRTOS V8.2.3+kfifo巧夺天工
- STM32F103VET6+STM32F103ZET6+STM32F107VC核心板
- STM32f103ZET6官方评估板
- stm32F103ZET6 PCB+原理图
- 基于stm32f103zet6的0.96寸的OLED显示屏源
- STM32F103ZET6通过max30102模块简单测试心
- MAX30102心率和血氧STM32F103ZET6
- STM32F103ZET6-TFTLCD显示二维码
- 基于stm32f103zet6的水温控制系统
- STM32F103ZET6开发板原理图和PCB
- STM32F103ZET6--MPU6050DMP
- stm32f103zet6的NBIOT应用
- stm32超声波测距程序STM32F103ZET6程序
- stm32f103zet6矩阵键盘(4x4)实现数字密
- STM32F103ZET6_USB_自定义BULK
- STM32F103ZET6+IAP+超级终端
- 贪吃蛇游戏 STM32F103ZET6
- 基于STM32F103ZET6芯片的超声波模块HC-
- 基于固件库的STM32F103ZET6工程模板ARM
- 德飞莱STM32F103ZET6的配套程序
评论
共有 条评论