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

资源简介

工教教育高级课程项目,实现迪文串口屏与STM32F429的RS232通信,并包含指令处理函数,发送指令的函数封装,因为迪文官方没有提供串口屏与stm32通信的相关例程,此程序根据大采屏的相关例程改编而来

资源截图

代码片段和文件信息

/**
  ******************************************************************************
  * @file    system_stm32f4xx.c
  * @author  MCD Application Team
  * @version V1.5.0
  * @date    06-March-2015
  * @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-02-26 14:47  HMI_DWIN\
     目录           0  2015-10-31 16:44  HMI_DWIN\Doc\
     文件         401  2016-06-29 15:48  HMI_DWIN\keilkill.bat
     目录           0  2018-01-25 12:36  HMI_DWIN\Libraries\
     目录           0  2018-01-25 12:36  HMI_DWIN\Libraries\CMSIS\
     目录           0  2018-01-25 12:36  HMI_DWIN\Libraries\CMSIS\Device\
     目录           0  2018-01-25 12:36  HMI_DWIN\Libraries\CMSIS\Device\ST\
     目录           0  2018-01-25 12:36  HMI_DWIN\Libraries\CMSIS\Device\ST\STM32F4xx\
     目录           0  2018-01-25 12:36  HMI_DWIN\Libraries\CMSIS\Device\ST\STM32F4xx\Include\
     文件      767942  2015-05-18 22:16  HMI_DWIN\Libraries\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h
     文件        2232  2015-05-18 22:16  HMI_DWIN\Libraries\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h
     目录           0  2018-01-25 12:36  HMI_DWIN\Libraries\CMSIS\Device\ST\STM32F4xx\Source\
     目录           0  2018-01-25 12:36  HMI_DWIN\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\
     目录           0  2018-01-25 12:36  HMI_DWIN\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\
     文件       31133  2015-05-18 22:16  HMI_DWIN\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429_439xx.s
     文件         135  2015-10-31 11:52  HMI_DWIN\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\说明.txt
     文件       53272  2015-05-18 22:16  HMI_DWIN\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
     文件         141  2015-10-31 11:51  HMI_DWIN\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\说明.txt
     目录           0  2018-01-25 12:36  HMI_DWIN\Libraries\CMSIS\Include\
     文件        7251  2015-12-03 10:59  HMI_DWIN\Libraries\CMSIS\Include\arm_common_tables.h
     文件        3940  2015-12-03 10:59  HMI_DWIN\Libraries\CMSIS\Include\arm_const_structs.h
     文件      251190  2015-12-03 10:59  HMI_DWIN\Libraries\CMSIS\Include\arm_math.h
     文件       34051  2015-12-03 10:59  HMI_DWIN\Libraries\CMSIS\Include\core_cm0.h
     文件       41438  2015-12-03 10:59  HMI_DWIN\Libraries\CMSIS\Include\core_cm0plus.h
     文件      100475  2015-12-03 10:59  HMI_DWIN\Libraries\CMSIS\Include\core_cm3.h
     文件      109951  2015-12-03 10:59  HMI_DWIN\Libraries\CMSIS\Include\core_cm4.h
     文件      130351  2015-12-03 10:59  HMI_DWIN\Libraries\CMSIS\Include\core_cm7.h
     文件       17427  2015-12-03 10:59  HMI_DWIN\Libraries\CMSIS\Include\core_cmFunc.h
     文件       26854  2015-12-03 10:59  HMI_DWIN\Libraries\CMSIS\Include\core_cmInstr.h
     文件       22948  2015-12-03 10:59  HMI_DWIN\Libraries\CMSIS\Include\core_cmSimd.h
     文件       42756  2015-12-03 10:59  HMI_DWIN\Libraries\CMSIS\Include\core_sc000.h
............此处省略277个文件信息

评论

共有 条评论

相关资源