onewiredevs revision 1.3
11.3Smacallan$NetBSD: onewiredevs,v 1.3 2020/04/14 13:32:26 macallan Exp $
21.1Sriz/* $OpenBSD: onewiredevs,v 1.1 2006/03/04 16:27:03 grange Exp $ */
31.1Sriz
41.1Sriz/*
51.1Sriz * Copyright (c) 2006 Alexander Yurchenko <grange@openbsd.org>
61.1Sriz *
71.1Sriz * Permission to use, copy, modify, and distribute this software for any
81.1Sriz * purpose with or without fee is hereby granted, provided that the above
91.1Sriz * copyright notice and this permission notice appear in all copies.
101.1Sriz *
111.1Sriz * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
121.1Sriz * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
131.1Sriz * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
141.1Sriz * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
151.1Sriz * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
161.1Sriz * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
171.1Sriz * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
181.1Sriz */
191.1Sriz
201.1Sriz/*
211.2Sjnemeth * Use "make -f Makefile.onewiredevs" to regenerate onewiredevs.h and
221.2Sjnemeth * onewiredevs_data.h
231.2Sjnemeth */
241.2Sjnemeth
251.2Sjnemeth/*
261.1Sriz * List of known 1-Wire family types.
271.1Sriz */
281.1Sriz
291.1Srizfamily	DS1990		0x01	ID
301.1Srizfamily	DS1991		0x02	MultiKey
311.1Srizfamily	DS1994		0x04	4kb NVRAM + RTC
321.1Srizfamily	DS1993		0x06	4kb NVRAM
331.1Srizfamily	DS1992		0x08	1kb NVRAM
341.1Srizfamily	DS1982		0x09	1kb EPROM
351.1Srizfamily	DS1995		0x0a	16kb NVRAM
361.1Srizfamily	DS1996		0x0c	64kb NVRAM
371.1Srizfamily	DS1920		0x10	Temperature
381.3Smacallanfamily	DS2430		0x14	256bit EEPROM
391.1Srizfamily	DS1822		0x22	Temperature
401.1Srizfamily	DS18B20		0x28	Temperature
41