Implementation of 1-Wire with added Alarm Search Functionality
Dependents: Max32630_One_Wire_Interface
Diff: Bridge/DS28E17/DS28E17.h
- Revision:
- 78:0cbbac7f2016
- Parent:
- 77:529edb329ee0
diff -r 529edb329ee0 -r 0cbbac7f2016 Bridge/DS28E17/DS28E17.h --- a/Bridge/DS28E17/DS28E17.h Mon May 16 10:36:30 2016 -0500 +++ b/Bridge/DS28E17/DS28E17.h Mon May 16 15:18:09 2016 -0500 @@ -379,6 +379,7 @@ CmdResult ReadDeviceRevision(uint8_t & rev); private: + static const size_t pollLimit = 10000; CmdResult send_packet(const uint8_t * data, uint8_t data_length, uint8_t & status, uint8_t & wr_status); @@ -386,14 +387,6 @@ //overloaded function for I2C read only command CmdResult send_packet(const uint8_t * data, uint8_t data_length, uint8_t & status); - - uint16_t _crc16; - uint8_t _i2c_speed; - - static const size_t pollLimit = 10000; - static const uint16_t _oddparity[16]; - - uint16_t docrc16(uint16_t data); }; }