资源简介
GD32450Z(F407)平台100M以太网PHYSR8201F驱动补丁,北京兆易创新GD系列*07和450系列原厂发布的SR8201F驱动代码,分享给大家!
代码片段和文件信息
/*!
\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_H
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-03-01 14:52 NEW_450Z_SR8201F\
目录 0 2019-03-01 14:51 NEW_450Z_SR8201F\Library\
目录 0 2019-03-01 14:51 NEW_450Z_SR8201F\Library\Firmware\
目录 0 2019-03-01 14:51 NEW_450Z_SR8201F\Library\Firmware\CMSIS\
文件 109878 2018-07-26 14:41 NEW_450Z_SR8201F\Library\Firmware\CMSIS\core_cm4.h
文件 22959 2018-07-26 14:41 NEW_450Z_SR8201F\Library\Firmware\CMSIS\core_cm4_simd.h
文件 15828 2018-07-26 14:41 NEW_450Z_SR8201F\Library\Firmware\CMSIS\core_cmFunc.h
文件 17205 2018-07-26 14:41 NEW_450Z_SR8201F\Library\Firmware\CMSIS\core_cmInstr.h
目录 0 2019-03-01 14:51 NEW_450Z_SR8201F\Library\Firmware\CMSIS\GD\
目录 0 2019-03-01 14:51 NEW_450Z_SR8201F\Library\Firmware\CMSIS\GD\GD32F4xx\
目录 0 2019-03-01 14:51 NEW_450Z_SR8201F\Library\Firmware\CMSIS\GD\GD32F4xx\Include\
文件 26757 2018-07-26 14:41 NEW_450Z_SR8201F\Library\Firmware\CMSIS\GD\GD32F4xx\Include\gd32f4xx.h
文件 2430 2018-07-26 14:41 NEW_450Z_SR8201F\Library\Firmware\CMSIS\GD\GD32F4xx\Include\system_gd32f4xx.h
目录 0 2019-03-01 14:51 NEW_450Z_SR8201F\Library\Firmware\CMSIS\GD\GD32F4xx\Source\
目录 0 2019-03-01 14:51 NEW_450Z_SR8201F\Library\Firmware\CMSIS\GD\GD32F4xx\Source\ARM\
文件 19926 2018-07-26 14:41 NEW_450Z_SR8201F\Library\Firmware\CMSIS\GD\GD32F4xx\Source\ARM\startup_gd32f405.s
文件 20278 2018-07-26 14:41 NEW_450Z_SR8201F\Library\Firmware\CMSIS\GD\GD32F4xx\Source\ARM\startup_gd32f407.s
文件 21836 2018-07-26 14:41 NEW_450Z_SR8201F\Library\Firmware\CMSIS\GD\GD32F4xx\Source\ARM\startup_gd32f450.s
目录 0 2019-03-01 14:51 NEW_450Z_SR8201F\Library\Firmware\CMSIS\GD\GD32F4xx\Source\IAR\
文件 23326 2018-07-26 14:41 NEW_450Z_SR8201F\Library\Firmware\CMSIS\GD\GD32F4xx\Source\IAR\startup_gd32f405.s
文件 23895 2018-07-26 14:41 NEW_450Z_SR8201F\Library\Firmware\CMSIS\GD\GD32F4xx\Source\IAR\startup_gd32f407.s
文件 25988 2018-07-26 14:41 NEW_450Z_SR8201F\Library\Firmware\CMSIS\GD\GD32F4xx\Source\IAR\startup_gd32f450.s
文件 28320 2018-07-26 14:41 NEW_450Z_SR8201F\Library\Firmware\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c
文件 2284090 2018-07-26 14:41 NEW_450Z_SR8201F\Library\Firmware\GD32F4xx_Addon.1.0.1.exe
目录 0 2019-03-01 14:51 NEW_450Z_SR8201F\Library\Firmware\GD32F4xx_standard_peripheral\
目录 0 2019-03-01 14:59 NEW_450Z_SR8201F\Library\Firmware\GD32F4xx_standard_peripheral\Include\
文件 37168 2018-07-26 14:41 NEW_450Z_SR8201F\Library\Firmware\GD32F4xx_standard_peripheral\Include\gd32f4xx_adc.h
文件 45219 2018-07-26 14:41 NEW_450Z_SR8201F\Library\Firmware\GD32F4xx_standard_peripheral\Include\gd32f4xx_can.h
文件 1721 2018-07-26 14:41 NEW_450Z_SR8201F\Library\Firmware\GD32F4xx_standard_peripheral\Include\gd32f4xx_crc.h
文件 10592 2018-07-26 14:41 NEW_450Z_SR8201F\Library\Firmware\GD32F4xx_standard_peripheral\Include\gd32f4xx_ctc.h
文件 13691 2018-07-26 14:41 NEW_450Z_SR8201F\Library\Firmware\GD32F4xx_standard_peripheral\Include\gd32f4xx_dac.h
............此处省略369个文件信息
评论
共有 条评论