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

资源简介

GD32f407电路图包括最小系统电路和下载电路,代码部分包括例程和库

资源截图

代码片段和文件信息

/*!
    \file  system_gd32f4xx.c
    \brief CMSIS Cortex-M4 Device Peripheral Access layer Source File for
           GD32F4xx Device Series
*/

/* Copyright (c) 2012 ARM LIMITED

   All rights reserved.
   Redistribution and use in source and binary forms with or without
   modification are permitted provided that the following conditions are met:
   - Redistributions of source code must retain the above copyright
     notice this list of conditions and the following disclaimer.
   - 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.
   - Neither the name of ARM 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 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE
   LIABLE FOR ANY DIRECT INDIRECT INCIDENTAL SPECIAL EXEMPLARY OR
   CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT LIMITED TO PROCUREMENT OF
   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE DATA OR PROFITS; OR BUSINESS
   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY WHETHER IN
   CONTRACT STRICT LIABILITY OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE
   POSSIBILITY OF SUCH DAMAGE.
   ---------------------------------------------------------------------------*/

/* This file refers the CMSIS standard some adjustments are made according to GigaDevice chips */

#include “gd32f4xx.h“

/* system frequency define */
#define __IRC16M          (IRC16M_VALUE)            /* internal 16 MHz RC oscillator frequency */
#define __HXTAL           (HXTAL_VALUE)             /* high speed crystal oscillator frequency */
#define __SYS_OSC_CLK     (__IRC16M)                /* main oscillator frequency */

/* select a system clock by uncommenting the following line */
//#define __SYSTEM_CLOCK_IRC16M                   (uint32_t)(__IRC16M)
//#define __SYSTEM_CLOCK_HXTAL                    (uint32_t)(__HXTAL)
//#define __SYSTEM_CLOCK_120M_PLL_IRC16M          (uint32_t)(120000000)
//#define __SYSTEM_CLOCK_120M_PLL_8M_HXTAL        (uint32_t)(120000000)
//#define __SYSTEM_CLOCK_120M_PLL_25M_HXTAL       (uint32_t)(120000000)
//#define __SYSTEM_CLOCK_168M_PLL_IRC16M          (uint32_t)(168000000)
//#define __SYSTEM_CLOCK_168M_PLL_8M_HXTAL        (uint32_t)(168000000)
#define __SYSTEM_CLOCK_168M_PLL_25M_HXTAL       (uint32_t)(168000000)
//#define __SYSTEM_CLOCK_200M_PLL_IRC16M          (uint32_t)(200000000)
//#define __SYSTEM_CLOCK_200M_PLL_8M_HXTAL

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

     文件    1301519  2017-11-11 17:37  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V-START.pdf

     文件     109878  2016-12-05 11:01  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\Library\Firmware\CMSIS\core_cm4.h

     文件      22959  2016-12-05 11:01  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\Library\Firmware\CMSIS\core_cm4_simd.h

     文件      26757  2016-12-05 11:01  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\Library\Firmware\CMSIS\GD\GD32F4xx\Include\gd32f4xx.h

     文件       2430  2016-12-05 11:01  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\Library\Firmware\CMSIS\GD\GD32F4xx\Include\system_gd32f4xx.h

     文件      19707  2016-12-05 11:01  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\Library\Firmware\CMSIS\GD\GD32F4xx\Source\ARM\startup_gd32f405.s

     文件      20278  2016-12-05 11:01  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\Library\Firmware\CMSIS\GD\GD32F4xx\Source\ARM\startup_gd32f407.s

     文件      21762  2016-12-05 11:01  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\Library\Firmware\CMSIS\GD\GD32F4xx\Source\ARM\startup_gd32f450.s

     文件      23107  2016-12-05 11:01  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\Library\Firmware\CMSIS\GD\GD32F4xx\Source\IAR\startup_gd32f405.s

     文件      23895  2016-12-05 11:01  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\Library\Firmware\CMSIS\GD\GD32F4xx\Source\IAR\startup_gd32f407.s

     文件      25914  2016-12-05 11:01  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\Library\Firmware\CMSIS\GD\GD32F4xx\Source\IAR\startup_gd32f450.s

     文件      28256  2016-12-05 11:01  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\Library\Firmware\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c

     文件    2284090  2016-12-27 13:56  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\Library\Firmware\GD32F4xx_Addon.1.0.1.exe

     文件      37168  2016-12-05 11:01  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\Library\Firmware\GD32F4xx_standard_peripheral\Include\gd32f4xx_adc.h

     文件      45201  2016-12-05 11:01  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\Library\Firmware\GD32F4xx_standard_peripheral\Include\gd32f4xx_can.h

     文件       1721  2016-12-05 11:01  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\Library\Firmware\GD32F4xx_standard_peripheral\Include\gd32f4xx_crc.h

     文件      10592  2016-12-05 11:01  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\Library\Firmware\GD32F4xx_standard_peripheral\Include\gd32f4xx_ctc.h

     文件      13692  2016-12-05 11:01  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\Library\Firmware\GD32F4xx_standard_peripheral\Include\gd32f4xx_dac.h

     文件       7959  2016-12-05 11:01  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\Library\Firmware\GD32F4xx_standard_peripheral\Include\gd32f4xx_dbg.h

     文件      11320  2016-12-05 11:01  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\Library\Firmware\GD32F4xx_standard_peripheral\Include\gd32f4xx_dci.h

     文件      28028  2016-12-27 13:56  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\Library\Firmware\GD32F4xx_standard_peripheral\Include\gd32f4xx_dma.h

     文件     142688  2016-12-05 11:01  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\Library\Firmware\GD32F4xx_standard_peripheral\Include\gd32f4xx_enet.h

     文件      60207  2016-12-08 10:37  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\Library\Firmware\GD32F4xx_standard_peripheral\Include\gd32f4xx_exmc.h

     文件      18893  2016-12-27 13:56  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\Library\Firmware\GD32F4xx_standard_peripheral\Include\gd32f4xx_exti.h

     文件      25317  2016-12-05 11:01  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\Library\Firmware\GD32F4xx_standard_peripheral\Include\gd32f4xx_fmc.h

     文件       3541  2016-12-05 11:01  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\Library\Firmware\GD32F4xx_standard_peripheral\Include\gd32f4xx_fwdgt.h

     文件      26446  2016-12-05 11:01  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\Library\Firmware\GD32F4xx_standard_peripheral\Include\gd32f4xx_gpio.h

     文件      21470  2016-12-05 11:01  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\Library\Firmware\GD32F4xx_standard_peripheral\Include\gd32f4xx_i2c.h

     文件      20807  2016-12-05 11:01  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\Library\Firmware\GD32F4xx_standard_peripheral\Include\gd32f4xx_ipa.h

     文件      11889  2016-12-05 11:01  GD32407V_START_GD32F4xx_Firmware_Library_Routine\GD32407V_START_GD32F4xx_Firmware_Library_Routine\Library\Firmware\GD32F4xx_standard_peripheral\Include\gd32f4xx_iref.h

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

评论

共有 条评论