This example provides a description of how to use the USART with hardware flowcontrol and communicate with the Hyperterminal.First, the USART2 sends the TxBuffer to the hyperterminal and still waiting fora string from the hyperterminal that you must enter which must end by '\r'character (KEYPAD ENTER button). Each byte received is retransmitted to theHyperterminal. The string that you have entered is stored in the RxBuffer array. The receivebuffer have a RxBufferSize bytes as maximum. The USART2 is configured as follow: - BaudRate = 115200 baud - Word Length = 8 Bits - One Stop Bit - No parity - Hardware flow control enabled (RTS and CTS signals) - Receive and transmit enabled - USART Clock disabled - USART CPOL: Clock is active low - USART CPHA: Data is captured on the second edge - USART LastBit: The clock pulse of the last data bit is not output to the SCLK pin
上傳時(shí)間: 2013-10-31
上傳用戶:yy_cn
一款SmartPhone的驅(qū)動代碼,其中包括Camera, Video controller, LCD, I2C, KEYPAD, DMA等多種驅(qū)動的源代碼。
標(biāo)簽: SmartPhone 驅(qū)動 代碼
上傳時(shí)間: 2015-03-14
上傳用戶:myworkpost
這是一個(gè)簡單的編輯器雛形,這里用到了屏幕開發(fā)庫 curses 和鍵盤函數(shù) KEYPAD,程序可移動光標(biāo),輸入,刪除,增加代碼就可成為功能強(qiáng)大的編輯器了, 編譯程序:gcc -I/usr/include/ncurses edit.c -o edit -lncurses
標(biāo)簽: 編輯器
上傳時(shí)間: 2014-01-13
上傳用戶:yyyyyyyyyy
一個(gè)動態(tài)可視化的MCS-51全功能模擬器,此模擬器可以讓您在PC機(jī)上模擬運(yùn)行MCS-51程序就如同在硬體上一樣. 這模擬器提供8KB的程序空間,256字節(jié)的RAM,16KB的XRAM,2個(gè)16位的定時(shí)/計(jì)數(shù)器(T0與T1),一個(gè)實(shí)時(shí)時(shí)鐘,一個(gè) 5x6 的小鍵盤,一個(gè) 128x64 點(diǎn)陣的 LCD,一個(gè)音頻發(fā)生器,一個(gè)串口,一個(gè)打印口,和5個(gè)有兩個(gè)優(yōu)先級的中斷源,并且程序以固定的 12MHz 時(shí)鐘運(yùn)行.再附上四個(gè) Keil C51 的例程,KEYPAD(演示KEYPAD使用),Music(模擬器演奏音樂),Picture(LCD圖形演示),Proc24c02(使用此模擬器從電腦打印口讀寫24C02)等.. 再附上取圖程序方便LCD圖片程序應(yīng)用.
上傳時(shí)間: 2013-12-13
上傳用戶:葉山豪
說明: Virtual51是一個(gè)動態(tài)可視化的MCS-51全功能模擬程序,可以讓你在Virtual51上運(yùn)行MCS-51程序就如同在硬體上一 樣。提供8KB的程序空間,256字節(jié)的RAM,16KB的XRAM,2個(gè)16位的定時(shí)/計(jì)數(shù)器(T0 和 T1),一個(gè)實(shí)時(shí)時(shí)鐘,一個(gè) 5X6的小鍵盤,一個(gè)128X64點(diǎn)陣的LCD,一個(gè)音頻發(fā)生器,一個(gè)串口(未連接至電腦串口),一個(gè)打印口(連接至電腦 打印口),和5個(gè)有兩個(gè)優(yōu)先級的中斷源。 Virtual51不可以載入大于8KB的51程序和大于16KB的XRAM數(shù)據(jù)文件,并且程序以固定的12Mhz時(shí)鐘運(yùn)行,編寫程序時(shí)留意。 XRAM載入數(shù)據(jù)文件的實(shí)際大小,可從XRAMSH 和 XRAMSL 寄存器中讀取。 例子說明: KEYPAD---------簡單演示KEYPAD的使用; Music----------Virtual51演奏音樂; Picture--------LCD圖形演示; Proc24c02------使用Virtual51從電腦打印口讀寫24C02A
標(biāo)簽: Virtual 51 MCS 動態(tài)
上傳時(shí)間: 2016-05-18
上傳用戶:wfeel
Use this program to decode the Manchester Code of the RFID. Validate the accessibility of detected card. Including a KEYPAD controller, generally a all in one card access reader.
標(biāo)簽: the accessibility Manchester Validate
上傳時(shí)間: 2013-12-19
上傳用戶:yoleeson
A huge program that consist of polling mechanism of a main controller to 32 slave in a fireman intercom environment. Including the handset condition detection, LCD controller, KEYPAD controller, interrupt handling and ADC.
標(biāo)簽: controller mechanism consist fireman
上傳時(shí)間: 2016-06-19
上傳用戶:璇珠官人
Open C++: Memory Game Example This Open C++ example application demonstrates a simple memory game. The game engine part has been written in Open C++ and the UI part has been written in Symbian C++. The application supports S60 3rd Edition and S60 5th Edition devices. KEYPAD and Touch UI are supported depending on the device.
標(biāo)簽: Open demonstrates application Example
上傳時(shí)間: 2013-12-20
上傳用戶:lunshaomo
Program for implementing AES on 8051 based microcontrollers. SDCC is used as the C compiler. Microcontroller used is P89V51RD2. There are 2 programs included. One program will accept string via UART and accept key via a 4x4 KEYPAD and display decrypted text on 16x2 LCD. The other program will accept plaintext from UART and show encrypted text on 16x2 LCD after receiving key from 4x4 membrane KEYPAD. Schematics and screenshots are included.
標(biāo)簽: microcontrollers implementing compiler Program
上傳時(shí)間: 2017-04-07
上傳用戶:wanghui2438
form = new_form(fields) scale_form(form, &rows, &cols) win = newwin(rows+3, cols+4, 3, 20) subwin = derwin(win, rows, cols, 1, 2) set_form_sub(form, subwin) box(win, 0, 0) KEYPAD(win, TRUE) post_form(form) refresh() wrefresh(win) wrefresh(subwin) //設(shè)置覆蓋模式 form_driver(form, REQ_OVL_MODE)
標(biāo)簽: form cols rows scale_form
上傳時(shí)間: 2017-06-12
上傳用戶:wff
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1