期刊文献+

基于STM32的μC/GUI外置spi flash字库研究与实现 被引量:6

Research and realization of μC/GUI external word stock on spi flash based on STM32
下载PDF
导出
摘要 为了解决μC/GUI中文字库占用空间大与MCU内部存储空间有限的矛盾,实现μC/GUI对中文更全面完整的支持,对μC/GUI外置汉字字库的实现方法进行研究,提出了将汉字字库存储于外置spi flash芯片的解决方案。首先对汉字存储相关的数据结构进行研究,编写spi flash芯片驱动程序,之后利用PC串口编写软件和串口中断处理函数将字库文件写入到外置flash芯片中。然后在中文字库成功写入flash芯片内部的基础上,对μC/GUI中与字符显示相关的内核函数进行修改,完成对所有显示字符属性的判断,从而实现μC/GUI对外部中文字库的支持。试验结果表明,外置字库中的汉字成功地在液晶屏上显示出来。存储于外置spi flash芯片中的字库能被μC/GUI正常的调用和显示。外置spi flash字库节省了MCU内部有限的存储空间,具有较好的通用性和灵活性。 The word stock ofμC/GUI takes up too much space but the storage space of MCU is limited.In order to solve this contradiction,the method to realize the external Chinese word stock ofμC/GUI is explored.The scheme storing the word stock in the external spi flash chip is put forward.And this scheme supports the Chinese forμC/GUI more comprehensive and more complete.First,the data structure related to Chinese character's storage are studied.The driver program of the spi flash is written and the word stock file is stored in the external flash chip through the PC serial port software and serial port interrupt handler.Then,the kernel functions related to the character display is modified to judge the character properties,thus makingμC/GUI support the external Chinese word stock based on storing the word stock in the flash chip successfully.Results of the trial indicates that the Chinese character stored in the external chip can be displayed on the ILI9320 LCD and the word stock stored in the external chip can be called and displayed by theμC/GUI normally.Storing the word stock in the external spi flash chip saves the MCU space and possesses favorable commonality and flexibility.
出处 《液晶与显示》 CAS CSCD 北大核心 2015年第2期290-295,共6页 Chinese Journal of Liquid Crystals and Displays
基金 河南省重点科技攻关项目(No.122102210117)
关键词 ΜC/GUI 图形界面 SPI FLASH 外置字库 μC/GUI graphical interface spi flash external word stock
  • 相关文献

参考文献13

二级参考文献80

共引文献76

同被引文献60

引证文献6

二级引证文献9

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部