基于STM32F1的OLED7线例程


这是一个基于STM32F1的OLED屏幕7线的例程,HAL库开发,测试成功。
资源截图
代码片段和文件信息
/**
  ******************************************************************************
  * @file    system_stm32f1xx.c
  * @author  MCD Application Team
  * @version V4.2.0
  * @date    31-March-2017
  * @brief   CMSIS Cortex-M3 Device Peripheral Access layer System Source File.
  * 
  * 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
  *                      factors AHB/APBx prescalers and Flash settings). 
  *                      This function is called at startup just after reset and 
  *                      before branch to main program. This call is made inside
  *                      the “startup_stm32f1xx_xx.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_stm32f1xx_xx.s“ file to
  *    configure the system clock before to branch to main program.
  *
  * 4. The default value of HSE crystal is set to 8 MHz (or 25 MHz depending on
  *    the product used) refer to “HSE_VALUE“. 
  *    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.
  *        
  ******************************************************************************
  * @attention
  *
  * 

© COPYRIGHT(c) 2017 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
  *      and/or other materials provided with the distribution.
  *   3. Neither the name of STMicroelectronics nor the names of its contributors
  *      may be used to endorse or promote products derived from this software
  *      without specific prior written permission.
  *
  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS“
  * AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE
  * IMPLIED WARRANTIE

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       3683  2018-04-05 11:14  OLED7线.mxproject

     文件     499383  2018-03-29 10:23  OLED7线DriversCMSISDeviceSTSTM32F1xxIncludestm32f100xb.h

     文件     544592  2018-03-29 10:23  OLED7线DriversCMSISDeviceSTSTM32F1xxIncludestm32f100xe.h

     文件     450054  2018-03-29 10:23  OLED7线DriversCMSISDeviceSTSTM32F1xxIncludestm32f101x6.h

     文件     460427  2018-03-29 10:23  OLED7线DriversCMSISDeviceSTSTM32F1xxIncludestm32f101xb.h

     文件     538241  2018-03-29 10:23  OLED7线DriversCMSISDeviceSTSTM32F1xxIncludestm32f101xe.h

     文件     553283  2018-03-29 10:23  OLED7线DriversCMSISDeviceSTSTM32F1xxIncludestm32f101xg.h

     文件     542782  2018-03-29 10:23  OLED7线DriversCMSISDeviceSTSTM32F1xxIncludestm32f102x6.h

     文件     552388  2018-03-29 10:23  OLED7线DriversCMSISDeviceSTSTM32F1xxIncludestm32f102xb.h

     文件     874443  2018-03-29 10:23  OLED7线DriversCMSISDeviceSTSTM32F1xxIncludestm32f103x6.h

     文件     884820  2018-03-29 10:23  OLED7线DriversCMSISDeviceSTSTM32F1xxIncludestm32f103xb.h

     文件     971857  2018-03-29 10:23  OLED7线DriversCMSISDeviceSTSTM32F1xxIncludestm32f103xe.h

     文件     985951  2018-03-29 10:23  OLED7线DriversCMSISDeviceSTSTM32F1xxIncludestm32f103xg.h

     文件    1261488  2018-03-29 10:23  OLED7线DriversCMSISDeviceSTSTM32F1xxIncludestm32f105xc.h

     文件    1342323  2018-03-29 10:23  OLED7线DriversCMSISDeviceSTSTM32F1xxIncludestm32f107xc.h

     文件       8788  2018-03-29 10:23  OLED7线DriversCMSISDeviceSTSTM32F1xxIncludestm32f1xx.h

     文件       3337  2018-03-29 10:23  OLED7线DriversCMSISDeviceSTSTM32F1xxIncludesystem_stm32f1xx.h

     文件      15127  2018-03-29 10:23  OLED7线DriversCMSISDeviceSTSTM32F1xxSourceTemplatesarmstartup_stm32f100xb.s

     文件      16715  2018-03-29 10:23  OLED7线DriversCMSISDeviceSTSTM32F1xxSourceTemplatesarmstartup_stm32f100xe.s

     文件      12564  2018-03-29 10:23  OLED7线DriversCMSISDeviceSTSTM32F1xxSourceTemplatesarmstartup_stm32f101x6.s

     文件      12937  2018-03-29 10:23  OLED7线DriversCMSISDeviceSTSTM32F1xxSourceTemplatesarmstartup_stm32f101xb.s

     文件      15049  2018-03-29 10:23  OLED7线DriversCMSISDeviceSTSTM32F1xxSourceTemplatesarmstartup_stm32f101xe.s

     文件      15808  2018-03-29 10:23  OLED7线DriversCMSISDeviceSTSTM32F1xxSourceTemplatesarmstartup_stm32f101xg.s

     文件      12886  2018-03-29 10:23  OLED7线DriversCMSISDeviceSTSTM32F1xxSourceTemplatesarmstartup_stm32f102x6.s

     文件      13271  2018-03-29 10:23  OLED7线DriversCMSISDeviceSTSTM32F1xxSourceTemplatesarmstartup_stm32f102xb.s

     文件      13449  2018-03-29 10:23  OLED7线DriversCMSISDeviceSTSTM32F1xxSourceTemplatesarmstartup_stm32f103x6.s

     文件      13834  2018-03-29 10:23  OLED7线DriversCMSISDeviceSTSTM32F1xxSourceTemplatesarmstartup_stm32f103xb.s

     文件      16391  2018-03-29 10:23  OLED7线DriversCMSISDeviceSTSTM32F1xxSourceTemplatesarmstartup_stm32f103xe.s

     文件      16845  2018-03-29 10:23  OLED7线DriversCMSISDeviceSTSTM32F1xxSourceTemplatesarmstartup_stm32f103xg.s

     文件      16653  2018-03-29 10:23  OLED7线DriversCMSISDeviceSTSTM32F1xxSourceTemplatesarmstartup_stm32f105xc.s

............此处省略597个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)