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: Authenticators/DS28E15_22_25/DS28E15_22_25.cpp
- Revision:
- 79:7f22823a5a2d
- Parent:
- 78:0cbbac7f2016
- Child:
- 82:c11090a32471
--- a/Authenticators/DS28E15_22_25/DS28E15_22_25.cpp Mon May 16 15:18:09 2016 -0500 +++ b/Authenticators/DS28E15_22_25/DS28E15_22_25.cpp Mon May 23 18:57:12 2016 -0500 @@ -864,7 +864,7 @@ } // check the second CRC16 - unsigned short CRC16 = 0; + uint16_t CRC16 = 0; // DS28E25/DS28E22, crc gets calculagted with CS byte if ((romId.familyCode() == DS28E25_Family) || (romId.familyCode() == DS28E22_Family)) @@ -1036,7 +1036,7 @@ } // check the second CRC16 - unsigned short CRC16 = 0; + uint16_t CRC16 = 0; // DS28E25/DS28E22, crc gets calculagted with CS byte if ((romId.familyCode() == DS28E25_Family) || (romId.familyCode() == DS28E22_Family))