Using 1-Wire APIs for Data Sheet Commands
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