This example program shows how to configure and use the A/D Converter of the following microcontroller: STMicroelectronics ST10F166 After configuring the A/D, the program reads the A/D result and outputs the converted value using the serial port. To run this program... Build the project (Project Menu, Build Target) Start the debugger (Debug Menu, Start/Stop Debug Session) View the Serial Window (View Menu, Serial Window #1) View the A/D converter peripheral (Peripheral Menu, A/D Converter) Run the program (Debug Menu, Go) A debug script (debug.ini) creates buttons that set different analog values in A/D channels. As the program runs, you will see the A/D input and output change. Other buttons create signals that generate sine wave or sawtooth patterns as analog inputs. µ Vision3 users may enable the built-in Logic Analyzer to view, measure and compare these input signals graphically.
標簽: microcontroll Converter configure following
上傳時間: 2014-12-01
上傳用戶:獨孤求源
Details for How to develop an OAL .Step-by-step to develop an OAL. An OEM adaptation layer (OAL) is a layer of code between the Windows CE kernel and the hardware of your target device. You develop an OAL to communicate data between your operating system (OS) and your target device and include code to handle interrupts, timers, and so on.
標簽: develop OAL Step-by-step adaptation
上傳時間: 2014-01-07
上傳用戶:songnanhua
這個例子如果運行,將在仿真的PC窗口中的第1,2,3行顯示一些信息后,在隨機位置顯示 1 ~ 5 .由于keil c51默認不支持重入函數(shù),它的重入函數(shù)使用仿真的重入棧而不使用系統(tǒng)棧,而Small RTOS 51沒有進行重入棧管理,所以在TaskA~TaskE雖然及其相似,但不能合并. 注意:(1)在KEIL C51 工程中,我已經把輸出文件目錄設在e:\temp中,您可以在Project->Options for Target "Target 1"的output頁點擊Select Folder for Objects...和Listing頁點擊Select Folder for Listing...改變. (2)編譯時會有5個警告,其中一個是因為沒有使用一個系統(tǒng)函數(shù)OSSendSignal引起,它可以忽略.另4個是禁止任務間變量覆蓋分析引起,必須忽略.感謝網友John X. Liu,在這個例子中我使用了他編寫的仿真(dllPc51Emu.dll),這個dll原來是為他移植的Ucos-ii for keil c51的例子編寫. (3)Pc51Emu.dll在KEIL C51 V6.23 V7.00工作不正常.
上傳時間: 2015-05-29
上傳用戶:無聊來刷下
這個例子是例子2的另一種寫法(但任務數(shù)量不同),它使用了最高優(yōu)先級任務作為顯示任務,全局變量ShowChar作為參數(shù).函數(shù)TaskB是優(yōu)先級1~10的任務函數(shù),因為沒有使用局部變量,這些任務可以用一個函數(shù). 注意:(1)在KEIL C51 工程中,我已經把輸出文件目錄設在e:\temp中,您可以在Project->Options for Target "Target 1"的output頁點擊Select Folder for Objects...和Listing頁點擊Select Folder for Listing...改變. 感謝網友John X. Liu,在這個例子中我使用了他編寫的仿真dll(Pc51Emu.dll),這個dll原來是為他移植的Ucos-ii for keil c51的例子編寫. (2)Pc51Emu.dll在KEIL C51 V6.23 V7.00工作不正常.
上傳時間: 2015-05-29
上傳用戶:asddsd
a non-sharing smart pointer class that can be used with STL containers such as std::map, vector, list, set, and deque. The smart pointer has an assignment operator and greater than operator that call the target object s operator.
標簽: non-sharing containers pointer vector
上傳時間: 2015-06-15
上傳用戶:Late_Li
? Java函數(shù)速查 你能很快的查到你要的函數(shù) DataBinding類 代表數(shù)據源字段和組件屬性之間一個單獨的綁定。 package com.ms.wfc.data.ui public class DataBinding implements IConstructable 說明 DataBinder控件使用該類來表示數(shù)據源中的每一個綁定。 請參閱:《Microsoft Visual J++ 6.0 程序員指南》第18章“WFC中的數(shù)據綁定”。 構造器 DataBinding.DataBinding 創(chuàng)建一個DataBinding對象。 語法 public DataBinding () public DataBinding ( IComponent target, String propertyName,String fieldName ) public DataBinding ( IComponent target, String propertyName,String fieldName, IDataFormat format )
標簽: DataBinding package Java data
上傳時間: 2013-12-20
上傳用戶:TRIFCT
PCI Hot-Plug Specification Revision 1.0 The primary objective of this specification is to enable higher availability of file and application servers by standardizing key aspects of the process of removing and installing PCI adapter cards while the system is running. Although these same principles can be applied to desktop and portable systems using PCI buses, the operations described here target server platforms.
標簽: Specification specification objective Hot-Plug
上傳時間: 2013-12-09
上傳用戶:zyt
這是Small RTOS 51 在DP-51下載仿真實驗儀上使用CAT24WC02驅動程序的例子。本例程序按照相應的的通訊協(xié)議接收一個數(shù)據,并將接收到的數(shù)據顯示到LED數(shù)碼顯示器上。然后將接收到的數(shù)據寫入Cat24Wc02中,再在同一位置將數(shù)據讀出,并將讀出的數(shù)據通過串口發(fā)送回來。通訊協(xié)議參考rtos隨想曲和test.ini。 注意:(1)在KEIL C51 工程中,我已經把輸出文件目錄設在e:\temp中,您可以在Project->Options for Target "Target 1"的output頁點擊Select Folder for Objects...和Listing頁點擊Select Folder for Listing...改變. (2)編譯時會有4個警告,可以忽略. (3)DP-51下載仿真實驗儀的所有跳線選取默認值。
上傳時間: 2015-09-03
上傳用戶:wweqas
這是Small RTOS 51 DP-51下載仿真實驗儀上實現(xiàn)一個鬧鐘的源代碼。它可以使用k1~k4調整時間,使用串口設置一個報警時間。由于僅僅是一個例子而非產品,有一些細節(jié)沒有完善。如調整完時間后第一次顯示的時間是錯誤的(由于共享TimeData引起);沒有使用串行eeprom存儲多個報警時間等;刪除報警代碼沒有編寫。不過,程序已經可以使用,讀者可以自行完善它。通訊協(xié)議參考rtos隨想曲和test.ini。 注意:(1)在KEIL C51 工程中,我已經把輸出文件目錄設在e:\temp中,您可以在Project->Options for Target "Target 1"的output頁點擊Select Folder for Objects...和Listing頁點擊Select Folder for Listing...改變. (2)編譯時會有6個警告,可以忽略. (3)除與pcf8563相關的跳線和蜂鳴器的跳線外,DP-51下載仿真實驗儀的所有跳線選取默認值。
上傳時間: 2015-09-03
上傳用戶:jyycc
這是Small RTOS 51 DP-51下載仿真實驗儀上編寫的一個鍵盤驅動例子。在DP-51下載仿真實驗儀上運行本程序后,有兩個發(fā)光二極管每秒閃動一次。當按下某個按鍵時,LED數(shù)碼顯示器會顯示相應的鍵值。 注意:(1)在KEIL C51 工程中,我已經把輸出文件目錄設在e:\temp中,您可以在Project->Options for Target "Target 1"的output頁點擊Select Folder for Objects...和Listing頁點擊Select Folder for Listing...改變. (2)編譯時會有4個警告,可以忽略. (3)DP-51下載仿真實驗儀的所有跳線選取默認值。
上傳時間: 2014-11-30
上傳用戶:561596