基于简化Cortex-M核微控制器嵌入式软件的开发步骤,增强软件可移植性的目的,对微控制器软件接口标准(CMSIS)、ST公司标准外设库V3.5的文件结构、相互联系、功能作用进行了简要介绍,并以具有Cortex-M3内核的STM32F103VET6为例,给出了IAR FOR ARM6.30编程环境下的开发步骤。结合具体应用,本文对数据端口、中断进行设置,缩短了开发时间,提高了代码效率。
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.015152s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.154240s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.001250s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001645s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.001117s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.004049s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000958s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.004957s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.019446s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001558s ]
UPDATE `jrk_articles` SET `hits` = 1 WHERE `id` = 580807 [ RunTime:0.026179s ]