![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
GD32
yekui009
这个作者很懒,什么都没留下…
展开
-
GD32F407RTC备份寄存器BKP的使用
在GD官网例程中没有给出GD32F407 BKP的示例代码,在网友提供的代码基础上重新使用了GD官网pmu库文件,按照流程重写了读和写的方法,供大家在使用中参考。。。#include "gd32f4xx_rtc.h"#include "gd32f4xx_pmu.h"//初始化void BKPSRAM_int(void){ //BKPSRAM_BASE //*(__IO uint16_t *) (BKPSRAM_BASE + offset) = 0 ...原创 2022-02-14 16:28:54 · 2823 阅读 · 0 评论 -
GD32 SPI0 REMAP设置
GD32 SPI0 REMAP 配置转载 2021-12-23 21:43:36 · 2815 阅读 · 0 评论 -
GD32F407VET6配置系统时钟的方法
1.外部晶振使用8M2.修改例程gd32f4xx.h/* define value of high speed crystal oscillator (HXTAL) in Hz */#if !defined (HXTAL_VALUE)#define HXTAL_VALUE ((uint32_t)8000000)将系统默认的25000000改为80000002.在system_gd32f4xx.c中修改为如下代码#include "gd32f4xx.h"/* system freq原创 2021-12-08 21:47:04 · 2860 阅读 · 4 评论