资源简介
最近工作需要检测磁场,然后买了个三轴磁场模块 GY-271来调试,找了好多资料都是iar和51单片机的。然后参考一些资料,整理了一下在stm32f4的板子下实现
代码片段和文件信息
/**
******************************************************************************
* @file system_stm32f4xx.c
* @author MCD Application Team
* @version V1.4.0
* @date 04-August-2014
* @brief CMSIS Cortex-M4 Device Peripheral Access layer System Source File.
* This file contains the system clock configuration for STM32F4xx devices.
*
* 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_stm32f4xx.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 (16 MHz) is used as system clock source.
* Then SystemInit() function is called in “startup_stm32f4xx.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 25MHz refer to “HSE_VALUE“ define
* in “stm32f4xx.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:
*=============================================================================
*=============================================================================
* Supported STM32F40xxx/41xxx devices
*-----------------------------------------------------------------------------
* System Clock source | PLL (HSE)
*-----------------------------------------------------------------------------
* SYSCLK(Hz) | 168000000
*-----------------------------------------------------------------------------
* HCLK(Hz)
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-04-19 11:16 STM32F4_GY-271\Libraries\
目录 0 2018-04-19 11:16 STM32F4_GY-271\Libraries\CMSIS\
目录 0 2018-04-19 11:16 STM32F4_GY-271\Libraries\CMSIS\Device\
目录 0 2018-04-19 11:16 STM32F4_GY-271\Libraries\CMSIS\Device\ST\
目录 0 2018-04-19 11:16 STM32F4_GY-271\Libraries\CMSIS\Device\ST\STM32F4xx\
目录 0 2018-04-19 11:16 STM32F4_GY-271\Libraries\CMSIS\Device\ST\STM32F4xx\Include\
文件 704095 2014-08-01 22:30 STM32F4_GY-271\Libraries\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h
文件 2233 2014-08-01 22:30 STM32F4_GY-271\Libraries\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h
目录 0 2018-04-19 11:16 STM32F4_GY-271\Libraries\CMSIS\Device\ST\STM32F4xx\Source\
目录 0 2018-04-19 11:16 STM32F4_GY-271\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\
目录 0 2018-04-19 11:16 STM32F4_GY-271\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\
文件 29605 2014-08-02 00:12 STM32F4_GY-271\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f40_41xxx.s
文件 25817 2014-08-02 00:12 STM32F4_GY-271\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f401xx.s
文件 29694 2014-08-02 00:12 STM32F4_GY-271\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f40xx.s
文件 26517 2014-08-02 00:10 STM32F4_GY-271\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f411xe.s
文件 30979 2014-08-02 00:12 STM32F4_GY-271\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f427_437xx.s
文件 31054 2014-08-02 00:12 STM32F4_GY-271\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f427x.s
文件 31134 2014-08-02 00:12 STM32F4_GY-271\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429_439xx.s
目录 0 2018-04-19 11:16 STM32F4_GY-271\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\gcc_ride7\
文件 24111 2014-07-17 21:56 STM32F4_GY-271\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\gcc_ride7\startup_stm32f40_41xxx.s
文件 20646 2014-07-17 21:56 STM32F4_GY-271\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\gcc_ride7\startup_stm32f401xx.s
文件 24189 2014-07-17 21:56 STM32F4_GY-271\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\gcc_ride7\startup_stm32f40xx.s
文件 25734 2014-07-17 21:56 STM32F4_GY-271\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\gcc_ride7\startup_stm32f427_437xx.s
文件 25817 2014-07-17 21:56 STM32F4_GY-271\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\gcc_ride7\startup_stm32f427x.s
文件 25734 2014-07-17 21:56 STM32F4_GY-271\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\gcc_ride7\startup_stm32f429_439xx.s
目录 0 2018-04-19 11:16 STM32F4_GY-271\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\
文件 25341 2014-08-02 00:12 STM32F4_GY-271\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f40_41xxx.s
文件 21524 2014-08-02 00:12 STM32F4_GY-271\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f401xx.s
文件 25429 2014-08-02 00:12 STM32F4_GY-271\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f40xx.s
文件 18679 2014-08-02 00:10 STM32F4_GY-271\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f411xe.s
文件 26898 2014-08-02 00:12 STM32F4_GY-271\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f427_437xx.s
............此处省略316个文件信息
- 上一篇:PLuckyDraw抽奖软件内定版
- 下一篇:志汇超级外卖5.9.3+跑腿全套
相关资源
- stm32f407 IAP
- 基于STM32F4控制步进电机代码
- 基于stm32f4zgt6超声波模块测距.rar
- 基于STM32F4、VGUS的电子称制作
- MLX90614(GY906)___STM32F407ZGT6
- 嵌入式系统课程设计报告--多功能电子
- 嵌入式系统课程设计--多功能电子钟设
- STM32F407FreeRTOS开发手册V1_0
- STM32F401移植uCosIII
- STM32F4驱动人体红外传感器
- 基于STM32F407ZGT6库函数写的Modbus协议
- 基于STM32F407写的LoRa SX-1278源码
- 基于STM32F4的霍尔编码器解析程序
- STM32F4 EMWIN开发手册V3.0(正点原子)
- 全桥单极性带死区互补SPWM基于STM32F
- STM32F4xx Lib
- stm32F407从flash上播放mp3 flash是W25Q128
- STM32F429操作两片AD7689
- STM32F4xx_W25Q128_20200619_FLM项目.rar
- FreeRTOS和FreeMODBUS移植到STM32F407傻瓜教
- ADS1115的STM32F407的驱动
- STM32F429内部FLASH读写保护测试程序
- STM32F4读取ADS1262数据外部压力传感器
- 基于STM32F407的PS2遥控手柄代码
- STM32F407+OV7725+BMP+SD卡
- 示波器.rar
- STM32F407VET6_SMART_LCD1602显示
- stm32f407 矩阵键盘输入数字
- stm32f411-oled显示
- STM32f407驱动光栅尺
评论
共有 条评论