1-Wire® library for mbed. Complete 1-Wire library that supports our silicon masters along with a bit-bang master on the MAX32600MBED platform with one common interface for mbed. Slave support has also been included and more slaves will be added as time permits.
Dependents: MAXREFDES131_Qt_Demo MAX32630FTHR_iButton_uSD_Logger MAX32630FTHR_DS18B20_uSD_Logger MAXREFDES130_131_Demo ... more
Superseded by MaximInterface.
OneWire.h@142:85b71cfd617e, 2019-08-13 (annotated)
- Committer:
- mfruge
- Date:
- Tue Aug 13 14:42:37 2019 +0000
- Revision:
- 142:85b71cfd617e
- Parent:
- 131:8c8c888164d8
Added functions to ROMCommands to add Alarm Search functionality
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
j3 | 97:942c2d6f6d62 | 1 | /********************************************************************** |
j3 | 97:942c2d6f6d62 | 2 | * Copyright (C) 2016 Maxim Integrated Products, Inc., All Rights Reserved. |
j3 | 97:942c2d6f6d62 | 3 | * |
j3 | 97:942c2d6f6d62 | 4 | * Permission is hereby granted, free of charge, to any person obtaining a |
j3 | 97:942c2d6f6d62 | 5 | * copy of this software and associated documentation files (the "Software"), |
j3 | 97:942c2d6f6d62 | 6 | * to deal in the Software without restriction, including without limitation |
j3 | 97:942c2d6f6d62 | 7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
j3 | 97:942c2d6f6d62 | 8 | * and/or sell copies of the Software, and to permit persons to whom the |
j3 | 97:942c2d6f6d62 | 9 | * Software is furnished to do so, subject to the following conditions: |
j3 | 97:942c2d6f6d62 | 10 | * |
j3 | 97:942c2d6f6d62 | 11 | * The above copyright notice and this permission notice shall be included |
j3 | 97:942c2d6f6d62 | 12 | * in all copies or substantial portions of the Software. |
j3 | 97:942c2d6f6d62 | 13 | * |
j3 | 97:942c2d6f6d62 | 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
j3 | 97:942c2d6f6d62 | 15 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
j3 | 97:942c2d6f6d62 | 16 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
j3 | 97:942c2d6f6d62 | 17 | * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES |
j3 | 97:942c2d6f6d62 | 18 | * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
j3 | 97:942c2d6f6d62 | 19 | * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
j3 | 97:942c2d6f6d62 | 20 | * OTHER DEALINGS IN THE SOFTWARE. |
j3 | 97:942c2d6f6d62 | 21 | * |
j3 | 97:942c2d6f6d62 | 22 | * Except as contained in this notice, the name of Maxim Integrated |
j3 | 97:942c2d6f6d62 | 23 | * Products, Inc. shall not be used except as stated in the Maxim Integrated |
j3 | 97:942c2d6f6d62 | 24 | * Products, Inc. Branding Policy. |
j3 | 97:942c2d6f6d62 | 25 | * |
j3 | 97:942c2d6f6d62 | 26 | * The mere transfer of this software does not imply any licenses |
j3 | 97:942c2d6f6d62 | 27 | * of trade secrets, proprietary technology, copyrights, patents, |
j3 | 97:942c2d6f6d62 | 28 | * trademarks, maskwork rights, or any other form of intellectual |
j3 | 97:942c2d6f6d62 | 29 | * property whatsoever. Maxim Integrated Products, Inc. retains all |
j3 | 97:942c2d6f6d62 | 30 | * ownership rights. |
j3 | 97:942c2d6f6d62 | 31 | **********************************************************************/ |
j3 | 97:942c2d6f6d62 | 32 | |
j3 | 97:942c2d6f6d62 | 33 | |
j3 | 97:942c2d6f6d62 | 34 | #ifndef MBED_OneWire |
j3 | 97:942c2d6f6d62 | 35 | #define MBED_OneWire |
j3 | 97:942c2d6f6d62 | 36 | |
j3 | 104:3f48daed532b | 37 | #include "Masters/Masters.h" |
j3 | 115:a1ca2f3bf46d | 38 | #include "RomId/RomCommands.h" |
j3 | 104:3f48daed532b | 39 | #include "Slaves/Slaves.h" |
j3 | 97:942c2d6f6d62 | 40 | |
j3 | 97:942c2d6f6d62 | 41 | #endif /* MBED_OneWire */ |