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.
Diff: OneWire_Memory/Authenticators/DS28E15_22_25/DS28E15_22_25.hpp
- Revision:
- 60:e8244cbc7946
- Parent:
- 51:a65f031e997b
- Child:
- 62:43039aeca2ab
diff -r f35aa61c59dd -r e8244cbc7946 OneWire_Memory/Authenticators/DS28E15_22_25/DS28E15_22_25.hpp --- a/OneWire_Memory/Authenticators/DS28E15_22_25/DS28E15_22_25.hpp Thu Apr 14 13:30:52 2016 +0000 +++ b/OneWire_Memory/Authenticators/DS28E15_22_25/DS28E15_22_25.hpp Thu Apr 14 10:20:42 2016 -0500 @@ -97,7 +97,7 @@ class BlockProtection { private: - static const std::uint8_t readProtectionMask = 0x80, writeProtectionMask = 0x40, eepromEmulationMask = 0x20, authProtectionMask = 0x10, blockNumMask = 0x03; + static const std::uint8_t readProtectionMask = 0x80, writeProtectionMask = 0x40, eepromEmulationMask = 0x20, authProtectionMask = 0x10, blockNumMask = 0x0F; std::uint8_t m_status; public: