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
上傳時間: 2013-10-31
上傳用戶:yy_cn
一款SmartPhone的驅動代碼,其中包括Camera, Video controller, LCD, I2C, KEYPAD, DMA等多種驅動的源代碼。
標簽: SmartPhone 驅動 代碼
上傳時間: 2015-03-14
上傳用戶:myworkpost
這是一個簡單的編輯器雛形,這里用到了屏幕開發庫 curses 和鍵盤函數 KEYPAD,程序可移動光標,輸入,刪除,增加代碼就可成為功能強大的編輯器了, 編譯程序:gcc -I/usr/include/ncurses edit.c -o edit -lncurses
標簽: 編輯器
上傳時間: 2014-01-13
上傳用戶:yyyyyyyyyy
一個動態可視化的MCS-51全功能模擬器,此模擬器可以讓您在PC機上模擬運行MCS-51程序就如同在硬體上一樣. 這模擬器提供8KB的程序空間,256字節的RAM,16KB的XRAM,2個16位的定時/計數器(T0與T1),一個實時時鐘,一個 5x6 的小鍵盤,一個 128x64 點陣的 LCD,一個音頻發生器,一個串口,一個打印口,和5個有兩個優先級的中斷源,并且程序以固定的 12MHz 時鐘運行.再附上四個 Keil C51 的例程,KEYPAD(演示KEYPAD使用),Music(模擬器演奏音樂),Picture(LCD圖形演示),Proc24c02(使用此模擬器從電腦打印口讀寫24C02)等.. 再附上取圖程序方便LCD圖片程序應用.
上傳時間: 2013-12-13
上傳用戶:葉山豪
說明: Virtual51是一個動態可視化的MCS-51全功能模擬程序,可以讓你在Virtual51上運行MCS-51程序就如同在硬體上一 樣。提供8KB的程序空間,256字節的RAM,16KB的XRAM,2個16位的定時/計數器(T0 和 T1),一個實時時鐘,一個 5X6的小鍵盤,一個128X64點陣的LCD,一個音頻發生器,一個串口(未連接至電腦串口),一個打印口(連接至電腦 打印口),和5個有兩個優先級的中斷源。 Virtual51不可以載入大于8KB的51程序和大于16KB的XRAM數據文件,并且程序以固定的12Mhz時鐘運行,編寫程序時留意。 XRAM載入數據文件的實際大小,可從XRAMSH 和 XRAMSL 寄存器中讀取。 例子說明: KEYPAD---------簡單演示KEYPAD的使用; Music----------Virtual51演奏音樂; Picture--------LCD圖形演示; Proc24c02------使用Virtual51從電腦打印口讀寫24C02A
上傳時間: 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.
標簽: the accessibility Manchester Validate
上傳時間: 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.
標簽: controller mechanism consist fireman
上傳時間: 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.
標簽: Open demonstrates application Example
上傳時間: 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.
標簽: microcontrollers implementing compiler Program
上傳時間: 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) //設置覆蓋模式 form_driver(form, REQ_OVL_MODE)
標簽: form cols rows scale_form
上傳時間: 2017-06-12
上傳用戶:wff