资源简介
测量范围为0pF~50uF,具有很高的分辨率(6到7位数字)、自动调零功能,所用到的主要元件STM32F103RC单片机、LMV393电压比较器、液晶屏,电池供电方便携带。
代码片段和文件信息
/******************************************************************************
* @file: core_cm3.c
* @purpose: CMSIS Cortex-M3 Core Peripheral Access layer Source File
* @version: V1.20
* @date: 22. May 2009
*----------------------------------------------------------------------------
*
* Copyright (C) 2009 ARM Limited. All rights reserved.
*
* ARM Limited (ARM) is supplying this software for use with Cortex-Mx
* processor based microcontrollers. This file can be freely distributed
* within development tools that are supporting such ARM based processors.
*
* 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 armcc */
#define __INLINE __inline /*!< inline keyword for armcc */
#elif defined ( __ICCARM__ )
#define __ASM __asm /*!< asm keyword for iarcc */
#define __INLINE inline /*!< inline keyword for iarcc. Only avaiable in High optimization mode! */
#elif defined ( __GNUC__ )
#define __ASM __asm /*!< asm keyword for gcc */
#define __INLINE inline /*!< inline keyword for gcc */
#elif defined ( __TASKING__ )
#define __ASM __asm /*!< asm keyword for TASKING Compiler */
#define __INLINE inline /*!< inline keyword for TASKING Compiler */
#endif
#if defined ( __CC_ARM ) /*------------------RealView Compiler -----------------*/
/**
* @brief Return the Process Stack Pointer
*
* @param none
* @return uint32_t 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 uint32_t Process Stack Pointer
* @return none
*
* 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
*
* @param none
* @return uint32_t Main Stack Pointer
*
* Return the current value of the MSP (main stack pointer)
* Cortex processor register
*/
__ASM uint32_t __get_MSP(void)
{
mrs r0 msp
bx lr
}
/**
* @brief Set the Main Stack Pointer
*
* @param uint32_t Main Stack Pointer
* @return none
*
*
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 10364695 2019-11-15 15:27 电容测量3_stm32\Cortex-M3权威指南%28中文%29.pdf
文件 14306739 2019-11-15 15:28 电容测量3_stm32\STM32中文参考手册_V10.pdf
文件 252185 2017-08-11 09:51 电容测量3_stm32\实物展示\实物展示\作品展示\作品展示.pdf
文件 333581 2017-08-11 09:54 电容测量3_stm32\实物展示\实物展示\实物展示\实物展示.pdf
文件 2381312 2019-11-16 21:49 电容测量3_stm32\新建 DOC 文档.doc
文件 338 2019-11-14 19:52 电容测量3_stm32\材料清单.txt
文件 17206 2009-09-28 19:51 电容测量3_stm32\电路\CapMeasure_Stm32f\cm3\core_cm3.c
文件 46533 2009-09-28 19:51 电容测量3_stm32\电路\CapMeasure_Stm32f\cm3\core_cm3.h
文件 16309 2009-09-28 19:51 电容测量3_stm32\电路\CapMeasure_Stm32f\cm3\startup\iar\startup_stm32f10x_cl.s
文件 16709 2009-09-28 19:51 电容测量3_stm32\电路\CapMeasure_Stm32f\cm3\startup\iar\startup_stm32f10x_hd.s
文件 12333 2009-09-28 19:51 电容测量3_stm32\电路\CapMeasure_Stm32f\cm3\startup\iar\startup_stm32f10x_ld.s
文件 12594 2009-09-28 19:51 电容测量3_stm32\电路\CapMeasure_Stm32f\cm3\startup\iar\startup_stm32f10x_md.s
文件 593381 2010-02-21 14:19 电容测量3_stm32\电路\CapMeasure_Stm32f\cm3\stm32f10x.h
文件 30617 2016-10-12 11:17 电容测量3_stm32\电路\CapMeasure_Stm32f\cm3\system_stm32f10x.c
文件 2404 2009-09-28 19:51 电容测量3_stm32\电路\CapMeasure_Stm32f\cm3\system_stm32f10x.h
文件 8893 2009-09-28 19:51 电容测量3_stm32\电路\CapMeasure_Stm32f\library\inc\misc.h
文件 21441 2009-09-28 19:51 电容测量3_stm32\电路\CapMeasure_Stm32f\library\inc\stm32f10x_adc.h
文件 7466 2009-09-28 19:51 电容测量3_stm32\电路\CapMeasure_Stm32f\library\inc\stm32f10x_bkp.h
文件 20503 2009-09-28 19:51 电容测量3_stm32\电路\CapMeasure_Stm32f\library\inc\stm32f10x_can.h
文件 2073 2009-09-28 19:51 电容测量3_stm32\电路\CapMeasure_Stm32f\library\inc\stm32f10x_crc.h
文件 13775 2009-09-28 19:51 电容测量3_stm32\电路\CapMeasure_Stm32f\library\inc\stm32f10x_dac.h
文件 3134 2009-09-28 19:51 电容测量3_stm32\电路\CapMeasure_Stm32f\library\inc\stm32f10x_dbgmcu.h
文件 20573 2009-09-28 19:51 电容测量3_stm32\电路\CapMeasure_Stm32f\library\inc\stm32f10x_dma.h
文件 6682 2009-09-28 19:51 电容测量3_stm32\电路\CapMeasure_Stm32f\library\inc\stm32f10x_exti.h
文件 19528 2009-09-28 19:51 电容测量3_stm32\电路\CapMeasure_Stm32f\library\inc\stm32f10x_flash.h
文件 26187 2009-09-28 19:51 电容测量3_stm32\电路\CapMeasure_Stm32f\library\inc\stm32f10x_fsmc.h
文件 17304 2009-09-28 19:51 电容测量3_stm32\电路\CapMeasure_Stm32f\library\inc\stm32f10x_gpio.h
文件 17982 2009-09-28 19:51 电容测量3_stm32\电路\CapMeasure_Stm32f\library\inc\stm32f10x_i2c.h
文件 3739 2009-09-28 19:51 电容测量3_stm32\电路\CapMeasure_Stm32f\library\inc\stm32f10x_iwdg.h
文件 4294 2009-09-28 19:51 电容测量3_stm32\电路\CapMeasure_Stm32f\library\inc\stm32f10x_pwr.h
............此处省略445个文件信息
相关资源
- 基于STM32系列单片机的智能清扫机器人
- 基于STM32的串口转网口Demo
- STM32F407VE支持4位EMMC读写和FATFS
- STM32F1 HAL库手册原版
- STM32CUBE_DCMI_DMA_OV7670(无FIFO)_UART_PI
- 基于HAL库驱动ov7670.rar
- STM32F1开发指南(精英版)-库函数版本
- STM32步进电机高效S型T梯形曲线SpTA加减
- 教案-嵌入式系统原理及应用——基于
- STM32F407音频处理代码-Cortex-M4 DSP数字音
- 《零死角玩转STM32》初级/中级/高级
- STM32电子小说阅读器.rar
- STM32F103RBT6.rar
- 基于stm32的自动气象站硬件原理图和
-
STM32 ST-li
nk Utility v4.4.0 setup.rar - 3U_v8.0.zip
- STM32输出爱心函数波形.rar
-
STM32 ST-li
nk Utility_v3.7.0 - stm32f407igt6-grbl-motioncontrol-port.rar
- STM32F103C8T6参考手册(中文).pdf
- FreeModbusTCP STM32移植
- STM32l0XX
- STM32F7通过TIM+DMA+ADC实现FFT功能.rar
- 电子-移植好的BootLoader与TRC实验APP.z
- 《零死角玩转STM32》完整版含初中高级
- 02、STM32与迪文屏通信例程.rar
- JQ8900语音模块资料包.zip
-
STM32 ST-li
nk Utility 最新版v4.2.0 stli< - STM32F10x标准外设库v3.5.0
- STM32F10X参考手册与固件库使用手册全
评论
共有 条评论