• 大小: 4MB
    文件类型: .zip
    金币: 2
    下载: 1 次
    发布日期: 2023-08-12
  • 语言: 其他
  • 标签: 工程模板  

资源简介

国产32位嵌入式芯片GD32E103RB工程文件,基于MDK的uVision V 5.23.0.0

资源截图

代码片段和文件信息

/*!
    \file  system_gd32e10x.c
    \brief CMSIS Cortex-M4 Device Peripheral Access layer Source File for
           GD32E10x 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:

    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 the copyright holder 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 THE COPYRIGHT HOLDER OR 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 “gd32e10x.h“

/* system frequency define */
#define __IRC8M           (IRC8M_VALUE)            /* internal 8 MHz RC oscillator frequency */
#define __HXTAL           (HXTAL_VALUE)            /* high speed crystal oscillator frequency */
#define __SYS_OSC_CLK     (__IRC8M)                /* main oscillator frequency */

/* Vector Table base offset */
#define VECT_TAB_OFFSET  0x00                      /* This value must be a multiple of 0x200. */

/* select a system clock by uncommenting the following line */
/* use IRC8M */
//#define __SYSTEM_CLOCK_IRC8M                    (uint32_t)(__IRC8M)
//#define __SYSTEM_CLOCK_48M_PLL_IRC8M            (uint32_t)(48000000)
//#define __SYSTEM_CLOCK_72M_PLL_IRC8M            (uint32_t)(72000000)
//#define __SYSTEM_CLOCK_108M_PLL_IRC8M           (uint32_t)(108000000)
//#define __SYSTEM_CLOCK_120M_PLL_IRC8M           (uint32_t)(120000000)

/* use HXTAL(CK_HXTAL = 8M) */
//#define __SYSTEM_CLOCK_HXTAL                    (uint32_t)(__HXTAL)
//#define __SYSTEM_CLOCK_48M_PLL_HXTAL            (uint32_t)(48000000)
//#define __SYSTEM_CLOCK_72M_PLL_HXTAL            (uint32_t)(7200

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-07-01 15:32  Doc\
     文件           6  2019-05-30 16:56  Doc\readme.txt
     文件         399  2015-07-04 15:01  keilkill.bat
     目录           0  2019-07-01 15:32  Libraries\
     目录           0  2019-07-01 15:32  Libraries\CMSIS\
     文件      109878  2019-05-30 17:33  Libraries\CMSIS\core_cm4.h
     文件       22959  2018-02-02 15:21  Libraries\CMSIS\core_cm4_simd.h
     文件       15828  2018-02-02 15:21  Libraries\CMSIS\core_cmFunc.h
     文件       17205  2018-02-02 15:21  Libraries\CMSIS\core_cmInstr.h
     目录           0  2019-07-01 15:32  Libraries\CMSIS\GD\
     目录           0  2019-07-01 15:32  Libraries\CMSIS\GD\GD32E10x\
     目录           0  2019-07-01 15:32  Libraries\CMSIS\GD\GD32E10x\Include\
     文件       17632  2018-05-31 16:01  Libraries\CMSIS\GD\GD32E10x\Include\gd32e10x.h
     文件        2430  2018-02-02 15:21  Libraries\CMSIS\GD\GD32E10x\Include\system_gd32e10x.h
     目录           0  2019-07-01 15:32  Libraries\CMSIS\GD\GD32E10x\Source\
     目录           0  2019-07-01 15:32  Libraries\CMSIS\GD\GD32E10x\Source\ARM\
     文件       18859  2018-04-11 14:16  Libraries\CMSIS\GD\GD32E10x\Source\ARM\startup_gd32e10x.s
     目录           0  2019-07-01 15:32  Libraries\CMSIS\GD\GD32E10x\Source\IAR\
     文件       20925  2018-04-11 14:16  Libraries\CMSIS\GD\GD32E10x\Source\IAR\startup_gd32e10x.s
     文件       26676  2018-04-11 15:27  Libraries\CMSIS\GD\GD32E10x\Source\system_gd32e10x.c
     目录           0  2019-07-01 15:32  Libraries\GD32E10x_standard_peripheral\
     目录           0  2019-07-01 15:32  Libraries\GD32E10x_standard_peripheral\Include\
     文件       29392  2018-04-11 14:16  Libraries\GD32E10x_standard_peripheral\Include\gd32e10x_adc.h
     文件       15137  2018-04-11 14:16  Libraries\GD32E10x_standard_peripheral\Include\gd32e10x_bkp.h
     文件       59323  2018-04-11 14:16  Libraries\GD32E10x_standard_peripheral\Include\gd32e10x_can.h
     文件        3360  2018-04-03 15:30  Libraries\GD32E10x_standard_peripheral\Include\gd32e10x_crc.h
     文件       11654  2018-03-26 09:52  Libraries\GD32E10x_standard_peripheral\Include\gd32e10x_ctc.h
     文件       14655  2018-04-16 14:36  Libraries\GD32E10x_standard_peripheral\Include\gd32e10x_dac.h
     文件        8943  2018-04-11 14:16  Libraries\GD32E10x_standard_peripheral\Include\gd32e10x_dbg.h
     文件       19239  2018-04-19 16:19  Libraries\GD32E10x_standard_peripheral\Include\gd32e10x_dma.h
     文件       15313  2018-03-27 09:33  Libraries\GD32E10x_standard_peripheral\Include\gd32e10x_exmc.h
............此处省略161个文件信息

评论

共有 条评论