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