检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:高瑞丽[1] 张爱荣[1] 刘霞 GAO Ruili;ZHANG Airong;LIU Xia(Binzhou Polytechinc,College of Mechanical and Electrical Engineering,Binzhou Shandong 256603)
机构地区:[1]滨州职业学院机电工程学院,山东滨州256603
出 处:《软件》2022年第4期158-161,共4页Software
摘 要:STM32嵌入式系统一般采用固件库函数编程,虽然有利于处理复杂问题,但不易被学生理解,将简单问题复杂化,STM32嵌入式系统可以直接操作寄存器来编写程序,处理简单问题更直观方便。本文探究用经典寄存器直接操作、库函数操作和库函数与寄存器混合操作等四种编程方法实现任务要求,并且采用Proteus 8.6软件仿真。给出了利用不同编程方法的特点处理适合任务的编程策略,实现程序的简化或优化,使得学生易于接受和理解的目的。STM32 embedded system generally adopts firmware library function programming.Although it is helpful to deal with complex problems,it is not easy to be understood by students,which complicates simple problems.STM32 embedded system can directly operate registers to write programs,which makes it more intuitive and convenient to deal with simple problems.This paper explores four programming methods to achieve the task requirements,including classical register direct operation,library function operation and library function and register mixed operation,and uses Proteus 8.6 software for simulation.In this paper,the author gives some programming strategies that make use of the characteristics of different programming methods to deal with the tasks,so as to simplify or optimize the program and make it easy for students to accept and understand.
关 键 词:固件库 寄存器 PROTEUS仿真 流水灯控制 STM32嵌入式系统
分 类 号:TP368.1[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.7