• 大小: 44.56MB
    文件类型: .zip
    金币: 2
    下载: 1 次
    发布日期: 2023-07-01
  • 语言: 其他
  • 标签: stm32f  

资源简介

STM32f0 程序,包含调光,串口,ADC亮度采集,绝对可用,自己写的。下载了那么多别人的东西,今天自己也搞一个分享给别人,酷,感谢以前的大神。

资源截图

代码片段和文件信息

/**
  ******************************************************************************
  * @file    system_stm32f0xx.c
  * @author  MCD Application Team
  * @brief   CMSIS Cortex-M0 Device Peripheral Access layer System Source File.
  *
  * 1. This file provides two functions and one global variable to be called from
  *    user application:
  *      - SystemInit(): 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) 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. This file configures the system clock as follows:
  *=============================================================================
  *                         Supported STM32F0xx device
  *-----------------------------------------------------------------------------
  *        System Clock source                    | HSI
  *-----------------------------------------------------------------------------
  *        SYSCLK(Hz)                             | 8000000
  *-----------------------------------------------------------------------------
  *        HCLK(Hz)                               | 8000000
  *-----------------------------------------------------------------------------
  *        AHB Prescaler                          | 1
  *-----------------------------------------------------------------------------
  *        APB1 Prescaler                         | 1
  *-----------------------------------------------------------------------------
  *=============================================================================
  ******************************************************************************
  * @attention
  *
  * 

© COPYRIGHT(c) 2016 STMicroelectronics


  *
  * Redistribution and use in source and binary forms with or without modification
  * are permitted provided that the following conditions are met:
  *   1. Redistributions of source code must retain the above copyright notice
  *      this list of conditions and the following disclaimer.
  *   2. Redistributions in binary form must reproduce the above copyright notice
  *      this list of conditions and the following disclaimer in the documentation

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-03-20 13:37  LED-030f4-V10 - OK&PWM&USART&LIGHT\
     文件        5569  2019-03-18 13:45  LED-030f4-V10 - OK&PWM&USART&LIGHT\.mxproject
     目录           0  2019-03-20 13:37  LED-030f4-V10 - OK&PWM&USART&LIGHT\Drivers\
     目录           0  2019-03-20 13:37  LED-030f4-V10 - OK&PWM&USART&LIGHT\Drivers\CMSIS\
     目录           0  2019-03-20 13:37  LED-030f4-V10 - OK&PWM&USART&LIGHT\Drivers\CMSIS\DSP_Lib\
     目录           0  2019-03-20 13:37  LED-030f4-V10 - OK&PWM&USART&LIGHT\Drivers\CMSIS\DSP_Lib\Source\
     目录           0  2019-03-20 13:37  LED-030f4-V10 - OK&PWM&USART&LIGHT\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\
     文件        5114  2018-11-15 17:32  LED-030f4-V10 - OK&PWM&USART&LIGHT\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_abs_f32.c
     文件        5458  2018-11-15 17:32  LED-030f4-V10 - OK&PWM&USART&LIGHT\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_abs_q15.c
     文件        4431  2018-11-15 17:32  LED-030f4-V10 - OK&PWM&USART&LIGHT\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_abs_q31.c
     文件        5090  2018-11-15 17:32  LED-030f4-V10 - OK&PWM&USART&LIGHT\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_abs_q7.c
     文件        4891  2018-11-15 17:32  LED-030f4-V10 - OK&PWM&USART&LIGHT\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_add_f32.c
     文件        4423  2018-11-15 17:32  LED-030f4-V10 - OK&PWM&USART&LIGHT\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_add_q15.c
     文件        4553  2018-11-15 17:32  LED-030f4-V10 - OK&PWM&USART&LIGHT\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_add_q31.c
     文件        4226  2018-11-15 17:32  LED-030f4-V10 - OK&PWM&USART&LIGHT\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_add_q7.c
     文件        4613  2018-11-15 17:32  LED-030f4-V10 - OK&PWM&USART&LIGHT\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_dot_prod_f32.c
     文件        4912  2018-11-15 17:32  LED-030f4-V10 - OK&PWM&USART&LIGHT\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_dot_prod_q15.c
     文件        5000  2018-11-15 17:32  LED-030f4-V10 - OK&PWM&USART&LIGHT\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_dot_prod_q31.c
     文件        5408  2018-11-15 17:32  LED-030f4-V10 - OK&PWM&USART&LIGHT\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_dot_prod_q7.c
     文件        5582  2018-11-15 17:32  LED-030f4-V10 - OK&PWM&USART&LIGHT\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_mult_f32.c
     文件        5306  2018-11-15 17:32  LED-030f4-V10 - OK&PWM&USART&LIGHT\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_mult_q15.c
     文件        5201  2018-11-15 17:32  LED-030f4-V10 - OK&PWM&USART&LIGHT\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_mult_q31.c
     文件        4530  2018-11-15 17:32  LED-030f4-V10 - OK&PWM&USART&LIGHT\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_mult_q7.c
     文件        4574  2018-11-15 17:32  LED-030f4-V10 - OK&PWM&USART&LIGHT\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_negate_f32.c
     文件        4621  2018-11-15 17:32  LED-030f4-V10 - OK&PWM&USART&LIGHT\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_negate_q15.c
     文件        4178  2018-11-15 17:32  LED-030f4-V10 - OK&PWM&USART&LIGHT\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_negate_q31.c
     文件        4104  2018-11-15 17:32  LED-030f4-V10 - OK&PWM&USART&LIGHT\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_negate_q7.c
     文件        5095  2018-11-15 17:32  LED-030f4-V10 - OK&PWM&USART&LIGHT\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_offset_f32.c
     文件        4534  2018-11-15 17:32  LED-030f4-V10 - OK&PWM&USART&LIGHT\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_offset_q15.c
     文件        4425  2018-11-15 17:32  LED-030f4-V10 - OK&PWM&USART&LIGHT\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_offset_q31.c
     文件        4462  2018-11-15 17:32  LED-030f4-V10 - OK&PWM&USART&LIGHT\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_offset_q7.c
............此处省略763个文件信息

评论

共有 条评论