• 大小: 15.24MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-06-19
  • 语言: 其他
  • 标签: freemodbus  stm32  

资源简介

freemodbus 1.5 移植modbusRTU到stm32f429igt6,使用串口232

资源截图

代码片段和文件信息

/**
  ******************************************************************************
  * @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-12-10 11:06  USART2—RS232modbus\
     目录           0  2018-12-10 15:09  USART2—RS232modbus\Doc\
     目录           0  2018-12-10 11:06  USART2—RS232modbus\Libraries\
     目录           0  2018-12-10 11:06  USART2—RS232modbus\Libraries\CMSIS\
     目录           0  2018-12-10 11:06  USART2—RS232modbus\Libraries\CMSIS\Device\
     目录           0  2018-12-10 11:06  USART2—RS232modbus\Libraries\CMSIS\Device\ST\
     目录           0  2018-12-10 11:06  USART2—RS232modbus\Libraries\CMSIS\Device\ST\STM32F4xx\
     目录           0  2018-12-10 11:06  USART2—RS232modbus\Libraries\CMSIS\Device\ST\STM32F4xx\Include\
     文件      767942  2015-05-18 22:16  USART2—RS232modbus\Libraries\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h
     文件        2232  2015-05-18 22:16  USART2—RS232modbus\Libraries\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h
     目录           0  2018-12-10 11:06  USART2—RS232modbus\Libraries\CMSIS\Device\ST\STM32F4xx\Source\
     目录           0  2018-12-10 11:06  USART2—RS232modbus\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\
     目录           0  2018-12-10 11:06  USART2—RS232modbus\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\
     文件       31133  2015-05-18 22:16  USART2—RS232modbus\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429_439xx.s
     文件         135  2015-10-31 11:52  USART2—RS232modbus\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\说明.txt
     文件       53272  2015-05-18 22:16  USART2—RS232modbus\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
     文件         141  2015-10-31 11:51  USART2—RS232modbus\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\说明.txt
     目录           0  2018-12-10 11:06  USART2—RS232modbus\Libraries\CMSIS\Include\
     文件        7251  2015-12-03 10:59  USART2—RS232modbus\Libraries\CMSIS\Include\arm_common_tables.h
     文件        3940  2015-12-03 10:59  USART2—RS232modbus\Libraries\CMSIS\Include\arm_const_structs.h
     文件      251190  2015-12-03 10:59  USART2—RS232modbus\Libraries\CMSIS\Include\arm_math.h
     文件       34051  2015-12-03 10:59  USART2—RS232modbus\Libraries\CMSIS\Include\core_cm0.h
     文件       41438  2015-12-03 10:59  USART2—RS232modbus\Libraries\CMSIS\Include\core_cm0plus.h
     文件      100475  2015-12-03 10:59  USART2—RS232modbus\Libraries\CMSIS\Include\core_cm3.h
     文件      109951  2015-12-03 10:59  USART2—RS232modbus\Libraries\CMSIS\Include\core_cm4.h
     文件      130351  2015-12-03 10:59  USART2—RS232modbus\Libraries\CMSIS\Include\core_cm7.h
     文件       17427  2015-12-03 10:59  USART2—RS232modbus\Libraries\CMSIS\Include\core_cmFunc.h
     文件       26854  2015-12-03 10:59  USART2—RS232modbus\Libraries\CMSIS\Include\core_cmInstr.h
     文件       22948  2015-12-03 10:59  USART2—RS232modbus\Libraries\CMSIS\Include\core_cmSimd.h
     文件       42756  2015-12-03 10:59  USART2—RS232modbus\Libraries\CMSIS\Include\core_sc000.h
     文件       99227  2015-12-03 10:59  USART2—RS232modbus\Libraries\CMSIS\Include\core_sc300.h
............此处省略341个文件信息

评论

共有 条评论