Far too many programmers and software designers consider efficient C++ to be an
oxymoron. They regard C++ as inherently slow and inappropriate for performancecritical
applications. Consequently, C++ has had little success penetrating domains such
as networking, operating system kernels, device Drivers, and others.
This example program is the source code for the FT232BM Test Application from our Utilities page.
It can be used to test the handshaking lines on FT232BM based RS232/RS485/RS422 designs. This program can also be used for programming the external EEPROM over USB in a manufacturing environment. The test features require the test cable shown on ST_232_245.pdf to be connected.
Our D2XX direct Drivers should be installed for this application. The code can be modified to fit your requirements.
To download the application source code , click here.
To download the test cable specification, click here.
在大多2440開發板BSP中的SMDK2440\Drivers\backlite目錄下一般都有背光驅動。在注冊表中添加如下函數的時候,開機時確實可以打印"!!!!!!!!!!!! BACKLIGHT ON !!!!!!!!!!!!,如果沒有操作大概1分鐘后也可以打印!!!!!!!!!!!! BACKLIGHT OFF !!!!!!!!!!!!。但打印("!!!!!!!!!!!! BACKLIGHT OFF !!!!!!!!!!!!后,就算有觸發事件(在觸摸屏上點擊,或者移動鼠標)也不會打印"!!!!!!!!!!!! BACKLIGHT ON !!!!!!!!!!!!。
其實這個驅動大體是正確的,只是當鍵盤鼠標或觸摸屏輸入時候gwes 發送“PowerManager/ActivityTimer/UserActivity” event,而不是原驅動中的“("UserInputEvent") ”修改后的源程序如下(SMDK2440\Drivers\backlite目錄下bak_hw.cpp文件)。
C++ is widely used in the software industry. Some of its application domains include systems software, application software, device Drivers, embedded software, high-performance server and client applications, and entertainment software such as video games. Several groups provide both free and proprietary C++ compiler software, including the GNU Project, Microsoft, Intel, Borland and others.
Introduction to I/O Kit Device Driver Design Guidelines
Chapter 1 The libkern C++ Runtime
Chapter 2 libkern Collection and Container Classes
Chapter 3 The IOService API
Chapter 4 Making Hardware Accessible to Applications
Chapter 5 Kernel-User Notification
Chapter 6 Displaying Localized Information About Drivers
Chapter 7 Debugging Drivers
Chapter 8 Testing and Deploying Drivers
Chapter 9 Developing a Device Driver to Run on an Intel-Based Macintosh
CFE contains the following important features:
* Easy to port to new SB1250/BCM1480 designs
* Initializes CPUs, caches, memory controllers, and peripherals
* Built-in device Drivers for SB1250 SOC peripherals
* Several console choices, including serial ports, ROM
emulators, JTAG, etc.
* Environment storage in NV EEPROM, flash, etc.
* Supports big or little endian operation
* Supports 32-bit and 64-bit processors
* Support for network bootstrap. Network protocols supported
include IP,ARP,ICMP,UDP,DHCP,TFTP.
* Support for disk bootstrap.
* Provides an external API for boot loaders and startup programs
* Simple user interface. UI is easy to remove for embedded apps.
大名鼎鼎的嵌入式操作系統vxworks的完整的源代碼,支持多種體系結構的嵌入式處理器,如arm,x86,i960,mc68k,mips,ppc,sparc等,包含完整的實時多任務處理及網絡tcpip,dhcp,rip等協議,tffs文件系統,以及各種硬件驅動程序如usb--All the source code of Famous vxwork Embedded operating system , it supports the Embedded processor of many kinds of systems architecture, such as arm,x86,I9600,mc68k,Mips,ppc,sparc etc, it includes entire Real-Time & multi_tasks processing and some network protocols of tcpip,dhcp,rip, tfffs file system,and various kinds of hardware Drivers (eg usb) etc