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

正文內容

單片機外文翻譯7-單片機-免費閱讀

2025-02-20 07:57 上一頁面

下一頁面
  

【正文】 處理 /數據 初始化 單線總線上的所有處理均從初始化序列開始。不管任何原因,如果執(zhí)行需要被掛起,那么,若要重新恢復執(zhí)行,總線必須保持在空閑狀態(tài)。然后可以讀留在計數器內的值。溫度讀數以 16位、符號擴展的二進制補碼讀數形式提供表 1 說明輸出數據對測量溫度的關系。 同時,計數器用鈄 率累加器電路所決定的值進行予置??偩€上主機通過發(fā)出跳過( Skip) ROM 的操作約定,然后發(fā)出讀電源命令,可以決定是否有需要強上拉的 DS1820 在總線上。如圖 2所示,通過使用一個 MOSFET 把 I/O 線直接拉到電源可達到這一點。 寄生電源 方框圖 (圖 1)示出寄生電源電路。在單線接口情況下,在 ROM 操作未定建立之前不能使用存貯器和控制操作。在 1秒(典型值)內把溫度變換為數字; 獨特的單線接口,只需 1 個接口引腳即可通信; C. At the same time, the counter is then preset with a value determined by the slope accumulator circuitry. This circuitry is needed to pensate for the parabolic behavior of the oscillators over temperature. The counter is then clocked again until it reaches zero. If the gate period is still not finished, then this process repeats. The slope accumulator is used to pensate for the non–linear behavior of the oscillators over temperature, yielding a high resolution temperature measurement. This is done by changing the number of counts necessary for the counter to go through for each incremental degree in temperature. To obtain the desired resolution, therefore, both the value of the counter and the number of counts per degree C (the value of the slope accumulator) at a given temperature must be known. Internally, this calculation is done inside the DS1820 to provide 176。C increments. Fahrenheit equivalent is –67176。F to +257176。C resolution. The temperature reading is provided in a 16–bit, sign–extended two’s plement reading. Table 1 describes the exact relationship of output data to measured temperature. The data is transmitted serially over the 1–Wire interface. The DS1820 can measure temperature over the range of –55176。多點( multidrop)能力使分布式溫度檢測應用得以簡化; 用戶可定義的,非易失性的溫度告警設置; 主機必須首先提供五種 ROM操作命令之一; 1) Read ROM(讀 ROM); 2)Match ROM(符合 ROM); 3)Search ROM(搜索 ROM); 4)Skip ROM(跳過 ROM); 5) Alarm Search(告警搜索 ); 這些命令對每一器件的 64位激光 ROM 部分進行操作,如果在單線上有許多器件,那么可以挑選出一個特定的器件,并給總線上的主機指示存在多少器件及其類型。當 I/O或 VDD 引腳為高電平時,這個電路便“取”得電源。當使用寄 生電源方式時 VDD 引腳必須連接到地。在此命令發(fā)出后,主機接著發(fā)出讀時間片。為了對遵循拋物線規(guī)律的振蕩器溫度特性進行補償,這種電路是必需的。數據在單線接口上串行發(fā)送。此值是門開通期停止之后計數剩余 ( COUNT_REMAIN)。如果不滿足這一點且總線保持在低電平時間大于 480us, 那么總線上所有器件均被復位。初始化序列包括總線主機發(fā)出一復位脈沖,接著由從屬器件送出存在脈沖。 Match ROM(“ 符合” ROM) [55h] “符合” ROM 命令。 ( 搜索 ROM) [F0h] 當系統(tǒng)開始工作時,總線主機可能不知道單線總線上的器件個數或者不知道其 64 位 ROM 編碼。如果在總線上存在多于一個的從屬器件而且在 Skip ROM 命令之后發(fā)出讀命令,那么由于多個從片同時發(fā)送數據,會在總線上發(fā)生數據沖突(漏極開路下拉會產生“線與”的效果)。如果總線上存在多于一個的從屬器件,那么當所有從片企圖同時發(fā)送時將發(fā)生數據沖突的現象(漏極開路會產生“線與”的結果)。存貯器操作命令 單線總線的空閑狀態(tài)是高電平。這個值便是 TEMP_READ。 此計算在 DS1820 內部完成以提供 ℃ 的分辯率。 DS1820 通過門開通期間內低溫度系數振蕩器經歷的時鐘周期個數計數來測量溫度,如果在門開通期結束前計數器達到零,那么溫度寄存器 — 它也被予置到 55℃ 的數值 — 將增量,指示溫度高于 55℃。 在總線上主機不知道總線上 DS1820 是寄生電源供電還是外部 VDD 供電的情況下,在 DS1820 內采取了措施來通知采用的供電方案。第一種方法是發(fā)生溫度變換時,在 I/O 線上提供一強的上拉。所有數據均以最低有效位在前的方式被讀寫。與 DS1820 的通信經過一個單線接口。以 9位數字值方式讀出溫度; it is important that each device on the bus be able to drive it at the appropriate time. To facilitate this, each device attached to the 1–Wire bus must have open drain or 3–state outputs. The 1–Wire port of the DS1820 (I/Opin) is open drain with an internal circuit equivalent to that shown in Figure 9. A multidrop bus consists of a 1–Wire bus with multiple slaves attached. The 1–Wire bus requires a pullup resistor of approximately 5KW. The idle state for the 1–Wire bus is high. If for any reason a transaction needs to be suspended, the bus MUST be left in the idle state if the transaction is to resume. Infinite recovery time can occur between bits so long as the 1–Wire bus is in the inactive (high) state during the recovery p
點擊復制文檔內容
教學課件相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1