1. 首页
  2. 课程学习
  3. 嵌入式
  4. Using 1-Wire APIs for Data Sheet Commands

Using 1-Wire APIs for Data Sheet Commands

上传者: 2022-09-27 06:52:43上传 PDF文件 31.63 KB 热度 8次

Abstract:All1-Wire®devicedatasheetsdescribetwosetsofcommands.ThefirstsetreferredtoasROMFunctionCommandsareusedfordeviceidentificationandselection.ThesecondsetisoftencalledMemoryFunctionCommandsbutmaycontainothernon-memoryoperations.AROMFunctionCommandmustbecompletedeachtimeadeviceisselectedtogetitreadyforaMemoryFunctionCommand.The1-WireAPIscreatedbyDallasSemiconductorutilizethesecommandstodooperationswith1-Wiredevices.Sometimesitisnotalwaysobviouswhatcommandsarebeingcalled.ThisdocumentwillmapthecommandspresentedinthedatasheetstotheAPIfunctions.WherespecificAPIfunctionsarenotavailable,atechniquewillbepresentedtotranslatethecommandsusingthegenericcommunicationsAPIfunctions.WhitePaper5:Using1-WireAPIsforDataSheetCommandsJun07,2002Abstract:All1-Wiredevicedatasheetsdescribetwosetsofcommands.ThefirstsetreferredtoasROMFunctionCommandsareusedfordeviceidentificationandselection.ThesecondsetisoftencalledMemoryFunctionCommandsbutmaycontainothernon-memoryoperations.AROMFunctionCommandmustbecompletedeachtimeadeviceisselectedtogetitreadyforaMemoryFunctionCommand.The1-WireAPIscreatedbyDallasSemiconductorutilizethesecommandstodooperationswith1-Wiredevices.Sometimesitisnotalwaysobviouswhatcommandsarebeingcalled.ThisdocumentwillmapthecommandspresentedinthedatasheetstotheAPIfunctions.WherespecificAPIfunctionsarenotavailable,atechniquewillbeprese

用户评论