资源简介
最近工作需要检测磁场,然后买了个三轴磁场模块 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上的两个can发送和接收例程
- 基于STM32F4x9的LCD显示
- stm32F4+w5300
- FreeModbus_Slave+STM32F407+USART2代码亲测可
- STM32F407 串口配置 串口1~6 六串口同时
- STM32F407_6个串口同时使用的代码
- STM32F407实时时钟_DS1302实时时钟模块和
- STM32F429内部FLASH读写程序
- stm32f407读写flash的demo,基于正点原子
- STM32F4x7_ETH_LwIP_V1.0.0
- 基于STM32F407的视频采集与传输系统设
- W5500Test-20180314.7z
- STM32F407ZG_ESP8266例程
- Keil5下的STM32F407程序
- zw_OLED-STM32F4-IIC.zip
- USART基于hal库stm32f407串口通讯.rar
- STM32F4基于HAL库的LCD显示实验
- stm32f4+ov5640颜色识别.zip
- 完整的STM32F407_MODBUS通信工程代码。
- STM32指针式时钟工程项目
- stm32f4简易声音存储录放3秒存放
- stm32f407和摇杆制作的控制手柄代码
- STM32F407. 基于PID速度环的步进电机速度
- STM32F407 基于232或485的57&42;步进电机旋
- stm32f4 摄像头颜色识别
- 基于stm32F4的tcs3200程序
- stm32f4控制步进电机程序
- STM32F407与OV2640的二维码识别实验
- PCA9685驱动16舵机电机调速STM32F4代码
- stm32f407+ov5640颜色识别与追踪
评论
共有 条评论