單片機作為一種微型計算機,其內(nèi)部具有一定的存儲單元(8031除外),但由于其內(nèi)部存儲單元及端口有限,很多情況下難以滿足實際需求。為此介紹一種新的擴展方法,將數(shù)據(jù)線與地址線合并使用,通過軟件控制的方法實現(xiàn)數(shù)據(jù)線與地址線功能的分時轉(zhuǎn)換,數(shù)據(jù)線不僅用于傳送數(shù)據(jù)信號,還可作為地址線、控制線,用于傳送地址信號和控制信號,從而實現(xiàn)單片機與存儲器件的有效連接。以單片機片外256KB數(shù)據(jù)存儲空間的擴展為例,通過該擴展方法,僅用10個I/O端口便可實現(xiàn),與傳統(tǒng)的擴展方法相比,可節(jié)約8個I/O端口。
Abstract:
As a micro-computer,the SCM internal memory has a certain units(except8031),but because of its internal storage units and the ports are limited,in many cases it can not meet the actual demand.So we introduced a new extension method,the data line and address lines combined through software-controlled approach to realize the time-conversion functions of data lines and address lines,so the data lines not only transmited data signals,but also served as address lines and control lines to transmit address signals and control signals,in order to achieve an effective connection of microcontroller and memory chips.Take microcontroller chip with256KB of data storage space expansion as example,through this extension method,with only10I/O ports it was achieved,compared with the traditional extension methods,this method saves8I/O ports.
在需要實時大量輸入漢字的顯示控制處理應用中,利用傳統(tǒng)單片機實現(xiàn)顯示控制的設(shè)計方法是較難實現(xiàn)的。帶漢字字庫的液晶模塊的使用使得小容量ROM單片機的大量漢字信息輸入與顯示成為可能。提出了針對漢字字庫編碼的二級索引拼音輸入檢索方法,介紹了以ST7920作為控制器的帶漢字字庫的液晶顯示模塊的接口方法及漢字顯示和控制原理,給出了通用計算機鍵盤在單片機中的串行接口,采用該技術(shù)可大大增強單片機的漢字輸入功能。為小容量ROM單片機的大批量漢字信息處理提供了一種漢字輸入解決方案。
Abstract:
It is difficult to realize Chinese characters input method based on the embedded system by using the traditional design method of display control. It is possible to input and display Chinese characters based on the embedded system with the ROM of small content by using the LCD module with Chinese characters.Chinese characters input method of the quadric index recall in allusion to Chinese characters code is brought forward.The interface and the principle of Chinese characters display control based on the LCD module controlled with the ST7920 is introduced too.The serial interface of the computer keyboard in common use and the embedded system is given at the same time. It can enhance the embedded system function of Chinese characters input by using this technology, and provide a kind of Chinese characters input scheme for the embedded system with small capacity ROM.
lwIP是瑞士計算機科學院(Swedish Institute of Computer Science)的Adam Dunkels等開發(fā)的一套用于嵌入式系統(tǒng)的開放源代碼TCP/IP協(xié)議棧。Lwip既可以移植到操作系統(tǒng)上,又可以 在無操作系統(tǒng)的情況下獨立運行.