资源简介
使用DMA映射SPI,发现非常好用,节省不少CPU资源,SPI操作智能插座例程,统计电量、功率、电压等

代码片段和文件信息
/**
******************************************************************************
* @file system_stm32f0xx.c
* @author MCD Application Team
* @version V1.4.0
* @date 24-July-2014
* @brief CMSIS Cortex-M0 Device Peripheral Access layer System Source File.
* This file contains the system clock configuration for STM32F0xx devices
* and is generated by the clock configuration tool
* STM32F0xx_Clock_Configuration_V1.0.1.xls
*
* 1. This file provides two functions and one global variable to be called from
* user application:
* - SystemInit(): Setups the system clock (System clock source PLL Multiplier
* and Divider factors AHB/APBx prescalers and Flash settings)
* depending on the configuration made in the clock xls tool.
* This function is called at startup just after reset and
* before branch to main program. This call is made inside
* the “startup_stm32f0xx.s“ file.
*
* - SystemCoreClock variable: Contains the core clock (HCLK) it can be used
* by the user application to setup the SysTick
* timer or configure other parameters.
*
* - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must
* be called whenever the core clock is changed
* during program execution.
*
* 2. After each device reset the HSI (8 MHz Range) is used as system clock source.
* Then SystemInit() function is called in “startup_stm32f0xx.s“ file to
* configure the system clock before to branch to main program.
*
* 3. If the system clock source selected by user fails to startup the SystemInit()
* function will do nothing and HSI still used as system clock source. User can
* add some code to deal with this issue inside the SetSysClock() function.
*
* 4. The default value of HSE crystal is set to 8MHz refer to “HSE_VALUE“ define
* in “stm32f0xx.h“ file. When HSE is used as system clock source directly or
* through PLL and you are using different crystal you have to adapt the HSE
* value to your own configuration.
*
* 5. This file configures the system clock as follows:
*=============================================================================
*=============================================================================
* System Clock source | PLL(HSE)
*-----------------------------------------------------------------------------
* SYSCLK(Hz) | 48000000
*-----------------------------------------------------------------------------
* HCLK(Hz) | 48000000
*--------------------------------------------------
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4676 2015-02-11 10:19 NewPlug\Cmsis\Core\arm_common_tables.h
文件 3666 2015-02-11 10:19 NewPlug\Cmsis\Core\arm_const_structs.h
文件 242444 2015-02-11 10:19 NewPlug\Cmsis\Core\arm_math.h
文件 33042 2015-02-11 10:19 NewPlug\Cmsis\Core\core_cm0.h
文件 40429 2015-02-11 10:19 NewPlug\Cmsis\Core\core_cm0plus.h
文件 99832 2015-02-11 10:19 NewPlug\Cmsis\Core\core_cm3.h
文件 109142 2015-02-11 10:19 NewPlug\Cmsis\Core\core_cm4.h
文件 22735 2015-02-11 10:19 NewPlug\Cmsis\Core\core_cm4_simd.h
文件 17146 2015-02-11 10:19 NewPlug\Cmsis\Core\core_cmFunc.h
文件 20513 2015-02-11 10:19 NewPlug\Cmsis\Core\core_cmInstr.h
文件 41744 2015-02-11 10:19 NewPlug\Cmsis\Core\core_sc000.h
文件 98211 2015-02-11 10:19 NewPlug\Cmsis\Core\core_sc300.h
文件 11308 2015-08-29 16:49 NewPlug\Cmsis\Startup\startup_stm32f051.s
文件 449861 2015-02-11 10:19 NewPlug\Cmsis\Startup\stm32f0xx.h
文件 12586 2015-02-11 10:19 NewPlug\Cmsis\Startup\system_stm32f0xx.c
文件 2219 2015-02-11 10:19 NewPlug\Cmsis\Startup\system_stm32f0xx.h
文件 1179648 2016-02-25 17:01 NewPlug\CodeView\NewPlug.IAB
文件 11848 2016-02-25 17:01 NewPlug\CodeView\NewPlug.IAD
文件 315392 2015-10-16 11:41 NewPlug\CodeView\NewPlug.IMB
文件 3408 2016-01-14 11:25 NewPlug\CodeView\NewPlug.IMD
文件 352 2017-03-16 12:07 NewPlug\CodeView\NewPlug.PFI
文件 776 2017-03-16 12:07 NewPlug\CodeView\NewPlug.PO
文件 27968 2016-07-19 14:33 NewPlug\CodeView\NewPlug.PR
文件 178624 2016-07-19 14:33 NewPlug\CodeView\NewPlug.PRI
文件 2223096 2016-07-19 15:35 NewPlug\CodeView\NewPlug.PS
文件 351 2016-12-02 14:59 NewPlug\CodeView\NewPlug.SearchResults
文件 74167 2017-03-16 15:27 NewPlug\CodeView\NewPlug.WK3
文件 21116 2015-02-11 10:19 NewPlug\Library\inc\stm32f0xx_adc.h
文件 27294 2015-02-11 10:19 NewPlug\Library\inc\stm32f0xx_can.h
文件 12416 2015-02-11 10:19 NewPlug\Library\inc\stm32f0xx_cec.h
............此处省略191个文件信息
- 上一篇:管理学 罗斯宾 中文版
- 下一篇:PN532读写CUID
相关资源
- Spire API文档
- The direction of synaptic plasticity mediated
- 基于xilinx FPGA的PCIe设计实战
- 飞思卡尔单片机MC9S12XS12G128驱动(硬件
- 51模拟SPI读写SD卡(包括Fat和Fat32文件
- 一个简单的verilog编写的DMA IP CORE,和
- 28335写的用spi读取传感器数据并用CA
- STM32F103 CC2500完整驱动(模拟SPI)
- 手机短信api接口(源代码)
- cs5530的SPI程序
- 9s12单片机SPI功能代码
- stm32 用SPI 方式读写 SDHC
- stm32通过DMA方式采集ADC数据
- SPI Master 的Verilog源代码
- Spire.Doc 破解版
- Spin-1目标的广义parton分布的多项式和
- 介子和S波氘核的四极矩以及对spin-1系
- 基于SPCE061A和PTR8000的模拟SPI总线通信
- stm32的DAC播放音乐文件
- 用8位spi实现16位spi
- linux SPI设备注册和驱动小结
- 用Verilog语言写的CPLD和MCU通讯的SPI接口
- STM32F103 USART+DMA
- DMA+stm32 407.zip
- 4_USART串口通信(空闲中断+DMA.zip
- stm32f105-usart-DMA收发demo
- STM32F042F6P6 Uart12DMA;发送中断接收
- Spirent iTest用户手册详细介绍iTest的各
- 精确结果为3d N $$ \\ mathcal {N} $$ = 2 S
- TD-SCDMA网络测试仪中E1数据采集卡的驱
评论
共有 条评论