亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲蟲首頁(yè)| 資源下載| 資源專輯| 精品軟件
登錄| 注冊(cè)

單片機(jī)<b>串</b>口

  • 14個(gè)DSP的實(shí)驗(yàn)測(cè)試程序

    14個(gè)DSP的實(shí)驗(yàn)測(cè)試程序,匯編語(yǔ)言實(shí)現(xiàn),類型分別為:濾波器,正弦波發(fā)生器,步進(jìn)電機(jī),直流電機(jī),交通燈,語(yǔ)音錄放,指令實(shí)驗(yàn),存儲(chǔ)器,串行口,定時(shí)器,顯示屏,硬件中斷,同步串口,exam-c。

    標(biāo)簽: DSP 實(shí)驗(yàn) 測(cè)試程序

    上傳時(shí)間: 2015-04-10

    上傳用戶:181992417

  • W78E51B 規(guī)格書 W78E51B 是寬頻率范圍、低功耗的8 位微控制器。它的指令集同標(biāo)準(zhǔn)8051 指令集完全兼容。W78E51B 包含4K 字節(jié)的Flash EPROM;128 字節(jié)的RAM

    W78E51B 規(guī)格書 W78E51B 是寬頻率范圍、低功耗的8 位微控制器。它的指令集同標(biāo)準(zhǔn)8051 指令集完全兼容。W78E51B 包含4K 字節(jié)的Flash EPROM;128 字節(jié)的RAM;4 個(gè)8 位雙向、可位尋址的I/O 口;一個(gè)附加的4 位 I/O 口P4;2 個(gè)16 位定時(shí)/計(jì)數(shù)器;一個(gè)硬件Watchdog 定時(shí)器及一個(gè)串行口。這些外圍設(shè)備都由有7 個(gè)中斷源和2 級(jí)中斷能力的中斷系統(tǒng)支持。為了方便用戶進(jìn)行編程和驗(yàn)證,W78E51B 內(nèi)含的Flash EPROM 允許電編程和電讀寫。一旦代碼確定后,用戶就可以對(duì)代碼進(jìn)行保護(hù)。 W78E51B 有2 種節(jié)電模式,空閑模式和掉電模式,2 種模式均可由軟件來(lái)控制選擇。空閑模式下,處理 器時(shí)鐘被關(guān)閉,但外設(shè)仍繼續(xù)工作。在掉電模式下晶體振蕩器停止工作,以將功耗降至最低。外部時(shí)鐘 可以在任何時(shí)間及狀態(tài)下被關(guān)閉,而不影響處理器運(yùn)行。

    標(biāo)簽: W78E51B Flash EPROM 8051

    上傳時(shí)間: 2014-11-29

    上傳用戶:klin3139

  • 數(shù)字運(yùn)算

    數(shù)字運(yùn)算,判斷一個(gè)數(shù)是否接近素?cái)?shù) A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number because the sum of its digits is 3, which divides 111. We can also specify a number in another base b, and a number in base b is a Niven number if the sum of its digits divides its value. Given b (2 <= b <= 10) and a number in base b, determine whether it is a Niven number or not. Input Each line of input contains the base b, followed by a string of digits representing a positive integer in that base. There are no leading zeroes. The input is terminated by a line consisting of 0 alone. Output For each case, print "yes" on a line if the given number is a Niven number, and "no" otherwise. Sample Input 10 111 2 110 10 123 6 1000 8 2314 0 Sample Output yes yes no yes no

    標(biāo)簽: 數(shù)字 運(yùn)算

    上傳時(shí)間: 2015-05-21

    上傳用戶:daguda

  • 在通訊中

    在通訊中,為了保證行運(yùn)安全可靠,標(biāo)準(zhǔn)的串行口必須具有許多握手信號(hào)和 狀態(tài)信息。這是因?yàn)橥ǘ的各更w撲慊鶦PU速度不一樣(這會(huì)導(dǎo)致“錯(cuò)幀”)以 及發(fā)送機(jī)發(fā)送數(shù)據(jù)速度比接收機(jī)接收速度快(這會(huì)導(dǎo)致“過(guò)沖”)。為解決這個(gè) 問(wèn)題,我們采用一個(gè)簡(jiǎn)單的握手信號(hào),即發(fā)送機(jī)每次僅發(fā)送半個(gè)字節(jié)(低4位) 的數(shù)據(jù),而另外半個(gè)字節(jié)(高4位)則用來(lái)傳送信息。我們可以對(duì)信息位(高4位) 進(jìn)行如下簡(jiǎn)單的編碼: 0H:發(fā)送的是新的半個(gè)字節(jié)數(shù)據(jù) 1H:重新發(fā)送上次傳送錯(cuò)誤的數(shù)據(jù) 2H:文件名結(jié)束 3H:文件結(jié)束 這樣,每當(dāng)發(fā)送機(jī)發(fā)送一個(gè)字節(jié)以后,就等待接受機(jī)發(fā)回送信號(hào),這回送信號(hào)就 是發(fā)送機(jī)發(fā)送過(guò)來(lái)的那個(gè)字節(jié)。發(fā)送機(jī)接收到回送信號(hào)后,把它與剛發(fā)送的字節(jié) 相比較,如果相同,就發(fā)送新的半個(gè)字節(jié),否則就重新發(fā)送。新數(shù)據(jù)與舊數(shù)據(jù)通 過(guò)信息位來(lái)區(qū)分。下面就是用C語(yǔ)言編寫控制串行口的程序。

    標(biāo)簽: 通訊

    上傳時(shí)間: 2015-05-22

    上傳用戶:黑漆漆

  • 有14個(gè)DSP的實(shí)驗(yàn)測(cè)試程序

    有14個(gè)DSP的實(shí)驗(yàn)測(cè)試程序,可以與大家分享。類型分別為:濾波器,正弦波發(fā)生器,步進(jìn)電機(jī),直流電機(jī),交通燈,語(yǔ)音錄放,指令實(shí)驗(yàn),存儲(chǔ)器,串行口,定時(shí)器,顯示屏,硬件中斷,同步串口,exam-c

    標(biāo)簽: DSP 實(shí)驗(yàn) 測(cè)試程序

    上傳時(shí)間: 2013-12-20

    上傳用戶:heart520beat

  • 源代碼用動(dòng)態(tài)規(guī)劃算法計(jì)算序列關(guān)系個(gè)數(shù) 用關(guān)系"<"和"="將3個(gè)數(shù)a

    源代碼\用動(dòng)態(tài)規(guī)劃算法計(jì)算序列關(guān)系個(gè)數(shù) 用關(guān)系"<"和"="將3個(gè)數(shù)a,b,c依次序排列時(shí),有13種不同的序列關(guān)系: a=b=c,a=b<c,a<b=v,a<b<c,a<c<b a=c<b,b<a=c,b<a<c,b<c<a,b=c<a c<a=b,c<a<b,c<b<a 若要將n個(gè)數(shù)依序列,設(shè)計(jì)一個(gè)動(dòng)態(tài)規(guī)劃算法,計(jì)算出有多少種不同的序列關(guān)系, 要求算法只占用O(n),只耗時(shí)O(n*n).

    標(biāo)簽: lt 源代碼 動(dòng)態(tài)規(guī)劃 序列

    上傳時(shí)間: 2013-12-26

    上傳用戶:siguazgb

  • The government of a small but important country has decided that the alphabet needs to be streamline

    The government of a small but important country has decided that the alphabet needs to be streamlined and reordered. Uppercase letters will be eliminated. They will issue a royal decree in the form of a String of B and A characters. The first character in the decree specifies whether a must come ( B )Before b in the new alphabet or ( A )After b . The second character determines the relative placement of b and c , etc. So, for example, "BAA" means that a must come Before b , b must come After c , and c must come After d . Any letters beyond these requirements are to be excluded, so if the decree specifies k comparisons then the new alphabet will contain the first k+1 lowercase letters of the current alphabet. Create a class Alphabet that contains the method choices that takes the decree as input and returns the number of possible new alphabets that conform to the decree. If more than 1,000,000,000 are possible, return -1. Definition

    標(biāo)簽: government streamline important alphabet

    上傳時(shí)間: 2015-06-09

    上傳用戶:weixiao99

  • 這是一個(gè)用A51編寫的89C51匯編語(yǔ)言程序

    這是一個(gè)用A51編寫的89C51匯編語(yǔ)言程序,程序中實(shí)現(xiàn)了對(duì)89C51串行口的控制,可以用來(lái)和X86進(jìn)行通迅實(shí)驗(yàn)。從程序中還可以學(xué)到各種中斷程序的編程技術(shù)。

    標(biāo)簽: 89C51 A51 編寫 匯編語(yǔ)言程序

    上傳時(shí)間: 2014-01-19

    上傳用戶:frank1234

  • 電力系統(tǒng)在臺(tái)穩(wěn)定計(jì)算式電力系統(tǒng)不正常運(yùn)行方式的一種計(jì)算。它的任務(wù)是已知電力系統(tǒng)某一正常運(yùn)行狀態(tài)和受到某種擾動(dòng)

    電力系統(tǒng)在臺(tái)穩(wěn)定計(jì)算式電力系統(tǒng)不正常運(yùn)行方式的一種計(jì)算。它的任務(wù)是已知電力系統(tǒng)某一正常運(yùn)行狀態(tài)和受到某種擾動(dòng),計(jì)算電力系統(tǒng)所有發(fā)電機(jī)能否同步運(yùn)行 1運(yùn)行說(shuō)明: 請(qǐng)輸入初始功率S0,形如a+bi 請(qǐng)輸入無(wú)限大系統(tǒng)母線電壓V0 請(qǐng)輸入系統(tǒng)等值電抗矩陣B 矩陣B有以下元素組成的行矩陣 1正常運(yùn)行時(shí)的系統(tǒng)直軸等值電抗Xd 2故障運(yùn)行時(shí)的系統(tǒng)直軸等值電抗X d 3故障切除后的系統(tǒng)直軸等值電抗 請(qǐng)輸入慣性時(shí)間常數(shù)Tj 請(qǐng)輸入時(shí)段數(shù)N 請(qǐng)輸入哪個(gè)時(shí)段發(fā)生故障Ni 請(qǐng)輸入每時(shí)段間隔的時(shí)間dt

    標(biāo)簽: 電力系統(tǒng) 計(jì)算 運(yùn)行

    上傳時(shí)間: 2015-06-13

    上傳用戶:it男一枚

  • 一個(gè)解碼器程序

    一個(gè)解碼器程序,內(nèi)含派爾高-D協(xié)議,自已寫的,只寫了一個(gè)協(xié)議.同時(shí)增加了一個(gè)串口,用51單片機(jī)的一個(gè)腳進(jìn)行模擬串行口.有興趣可以看一下.

    標(biāo)簽: 解碼器 程序

    上傳時(shí)間: 2015-07-24

    上傳用戶:許小華

主站蜘蛛池模板: 日照市| 肃北| 垣曲县| 阜新市| 新昌县| 库伦旗| 扬中市| 客服| 从江县| 岑溪市| 清丰县| 滦平县| 井冈山市| 永吉县| 平江县| 密山市| 金阳县| 绥中县| 新宁县| 城口县| 长武县| 广宗县| 乌兰察布市| 阿克苏市| 旌德县| 崇仁县| 岱山县| 乐清市| 遂平县| 浙江省| 锡林郭勒盟| 武宁县| 仙游县| 韩城市| 蓬溪县| 综艺| 交城县| 都匀市| 班戈县| 水富县| 体育|