Advertisement

STM32的FLASH模拟EEPROM(如基于STM32F103C8)

阅读量:

提前排坑:

本研究涉及的代码规模

在这里插入图片描述

地址区间问题

在这里插入图片描述

该程序的设计依据原子系列教程进行编写,其功能主要体现在能够保存两个菜单配置参数以及三个PID控制参数。

main.c代码如下:

复制代码
    #include "stdlib.h"
    #include "stm32f10x.h"
    #include "delay.h"
    #include "key.h"
    #include "sys.h"
    #include "oled.h"
    #include "adc.h"
    #include "usart.h"
    #include "stmflash.h"   
    #include "timer1.h"
    #include "timer2_int.h"
    #include "time

全部评论 (0)

还没有任何评论哟~