freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

外文文獻及翻譯----ds1820_單總線數(shù)字溫度計-文庫吧

2025-04-17 12:24 本頁面


【正文】 he value stored within the DS18B20 to determine if the ROM data has been received errorfree by the bus master. The equivalent polynomial function of this CRC is:DS1820 有一存貯在64 位ROM 的最高有效字節(jié)內(nèi)的8 位CRC??偩€上的主機可以根據(jù)64 位ROM 的前56 位計算機CRC 的值并把它與存貯在DS1820 內(nèi)的值進行比較以決定ROM 的數(shù)據(jù)是否已被主機正確地接收。CRC 的等效多項式函數(shù)為:CRC = X 8 + X 5 + X 4 + 1The DS18B20 also generates an 8bit CRC value using the same polynomial function shown above and provides this value to the bus master to validate the transfer of data 也利用與上述相同的多項式函數(shù)產(chǎn)生一個8 位CRC值并把此值提供給總線的主機以確認數(shù)據(jù)字節(jié)的傳送,在使用CRC來確認數(shù)據(jù)傳送的每一種情況中,總線主機必須使用上面給出的多項式函數(shù)計算CRC的值并把計算所得的值,或者與存貯在DS1820的64位ROM部分中的8位CRC值(ROM讀數(shù)),或者與DS1820 中計算得到的8位CRC值(在讀暫存存貯器中時它作,為第九個字節(jié)被讀出),進行比較。CRC 值的比較和是否繼續(xù)操作都由總線主機來決定,當存貯在DS1820 內(nèi)或由DS1820 計算得到的CRC 值與總線主機產(chǎn)生的值不相符合時,在DS1820 內(nèi)沒有電路來阻止命令序列的繼續(xù)執(zhí)行。(which is read as a ninth byte when the scratchpad is read).。總線CRC 可以使用一個移位寄存器和“異或”(XOR)門組成的多項式產(chǎn)生器來產(chǎn)生,其它有關(guān)Dallas 公司單線循環(huán)冗余校驗的信息可參見標題為“理解和使用Dallas 半導(dǎo)體公司接觸式存貯器產(chǎn)品”的應(yīng)用注釋移。位寄存器的所有位被初始化為零,然后從產(chǎn)品系列編碼的最低有效位開始,每次移入一位。當產(chǎn)品系列編碼的8 位移入以后,接著移入序列號。在序列號的第48 位進入之后,移位寄存器便包含了CRC值。移入CRC的8 位應(yīng)該使移位寄存器返回至全零。6 MEMO存儲器溫度傳感器DS1820 的存貯器由一個高速暫存便箋式RAM和一個非易失性電可擦除E2RAM組成,后者存貯高溫度和低溫度和觸發(fā)器TH和TL。暫存存貯器有助于在單線通信時確保數(shù)據(jù)的完整性,數(shù)據(jù)首先寫入暫存存貯器,在那里它可以被讀回。當數(shù)據(jù)被校驗之后,復(fù)制暫存存貯器的命令把數(shù)據(jù)傳送到非易失性E2RAM。這一過程確保了更改存貯器的時候保持數(shù)據(jù)的完整性。The scratchpad is organized as eight bytes of memory.。。暫存存貯器是按8位字節(jié)存儲器來組織的,頭兩個字節(jié)包含測得溫度信息,第三和第四個字節(jié)是TH和TL的易失性拷貝,在每一次上電復(fù)位時被刷新。接著的兩個字節(jié)沒有使用,但是在讀回時,它們呈現(xiàn)為邏輯全1。第七字節(jié)和第八個字節(jié)是計數(shù)寄存器,它們可用于獲得較高的溫度分辨率。還有第九個字節(jié)它可用Read Scratchpad(讀暫存存貯器)命令讀出,該字節(jié)包含一個循環(huán)冗余校驗(CRC)字節(jié),它是前面所有8個字節(jié)的CRC值,此CRC值以(CRC產(chǎn)生)一節(jié)中所述的方式產(chǎn)生。7 READ/WRITE TIME SLO7讀/寫時隙 Time Slots寫時隙 當主機把數(shù)據(jù)線從高邏輯電平拉至低邏輯電平時,產(chǎn)生寫時間片。有兩種類型的寫時間片:寫1時間片和寫0時間片,所有時間片必須有最短為60 us的持續(xù)期,在各寫周期之間必須有最短為1us的恢復(fù)時間。在I/O 線片由高電平變?yōu)榈碗娖街?,DS1820 在15us 至60us 的窗口之間對I/O 線采樣。如果線為高電平,寫1就發(fā)生。如果線為低電平,便發(fā)生寫0。對于主機產(chǎn)生寫1時間片的情況,數(shù)據(jù)線必須先被拉至邏輯低電平,然后就被釋放,使數(shù)據(jù)線在寫時間片開始之后的15 us之內(nèi)拉至高電平。對于主機產(chǎn)生寫0時間片的情況,數(shù)據(jù)線必須被拉至邏輯低電平且至少保持低電平60 us。 Time Slots讀時隙 當從DS1820 讀數(shù)據(jù)時,主機產(chǎn)生讀時間片段。當主機把數(shù)據(jù)線從邏輯高電平拉至低電平時,產(chǎn)生讀時間片,數(shù)據(jù)線必須保持在低邏輯電平至少1 us;來自DS1820 的輸出數(shù)據(jù)在讀時序下降沿后15us有效。因此,為了讀出從讀時間片開始算起15us的狀態(tài)主機必須停止把I/O引腳驅(qū)動至低電平。在讀時間片結(jié)束時,I/O 引腳經(jīng)過外部的上拉電阻拉回至高電平。所有讀時間片的最短持續(xù)期限為60us,各個讀時間片之間必須有最短為1us的恢復(fù)時間。TINRT,TRC 和TSAMPLE 之和必須小于15us。通過使TINRT和TRC盡可能小且把主機采樣時間定在15us期間的末尾,系統(tǒng)時序關(guān)系就有最大的余地。 DS18B20 Programmable Resolution 1Wire Digital ThermometerThe DS18B20 Digital Thermometer provides 9 to 12bit (configurable) temperature readings which indicate the temperature of the device. Information is sent to/from the DS18B20 over a 1Wire interface, so that only one wire (and ground) needs to be connected from a central microprocessor to a DS18B20. Power for reading, writing, and performing temperature conversions can be derived from the data line itself with no need for an external power source. Because each DS18B20 contains a unique silicon serial number, multiple DS18B20s can exist on the same 1Wire bus. This allows for placing temperature sensors in many different places. Applications where this feature is useful include HVAC environmental controls, sensing temperatures inside buildings, equipment or machinery, and process monitoring and control.1 OVERVIEWThe block diagram of Figure 1 shows the major ponents of the DS18B20. The DS18B20 has four main data ponents: 1) 64bit laser ROM, 2) temperature sensor, 3) nonvolatile temperature alarm triggers TH and TL, and 4) a configuration register. The device derives its power from the 1Wire munication line by storing energy on an internal capacitor during periods of time when the signal line is high and continues to operate off this power source during the low times of the 1Wire line until it returns high to replenish the parasite (capacitor) supply. As an alternative, the DS18B20 may also be powered from an external 3V supply.Communication to the DS18B20 is via a 1Wire port. With the 1Wire port, the memory and control functions will not be available before the ROM function protocol has been established. The master must first provide one
點擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1