Implementation of 1-Wire with added Alarm Search Functionality

Dependents:   Max32630_One_Wire_Interface

Revision:
32:bce180b544ed
Parent:
27:d5aaefa252f1
Child:
33:a4c015046956
diff -r 7c684e49fa8f -r bce180b544ed OneWire_Memory/Authenticators/DS28E15_22_25/DS28E15_22_25.cpp
--- a/OneWire_Memory/Authenticators/DS28E15_22_25/DS28E15_22_25.cpp	Tue Mar 29 16:36:12 2016 -0500
+++ b/OneWire_Memory/Authenticators/DS28E15_22_25/DS28E15_22_25.cpp	Wed Mar 30 16:50:29 2016 -0500
@@ -154,7 +154,7 @@
    wait_ms(SHA_COMPUTATION_DELAY);
 
    // disable strong pullup
-   m_OW_master.OWLevel(OneWireMaster::LEVEL_NORMAL);
+   m_OW_master.OWSetLevel(OneWireMaster::LEVEL_NORMAL);
    
    // check CRC16
    if (OneWireMaster::calculateCRC16(buf, 0, cnt) != 0xB001)
@@ -189,7 +189,7 @@
    wait_ms(EEPROM_WRITE_DELAY);
 
    // disable strong pullup
-   m_OW_master.OWLevel(OneWireMaster::LEVEL_NORMAL);
+   m_OW_master.OWSetLevel(OneWireMaster::LEVEL_NORMAL);
 
    // read the CS byte
    m_OW_master.OWReadByte(cs);
@@ -246,7 +246,7 @@
    wait_ms(EEPROM_WRITE_DELAY);
 
    // disable strong pullup
-   m_OW_master.OWLevel(OneWireMaster::LEVEL_NORMAL);
+   m_OW_master.OWSetLevel(OneWireMaster::LEVEL_NORMAL);
 
    // read the CS byte
    m_OW_master.OWReadByte(cs);
@@ -438,7 +438,7 @@
    wait_ms(SHA_COMPUTATION_DELAY * 2);
 
    // disable strong pullup
-   m_OW_master.OWLevel(OneWireMaster::LEVEL_NORMAL);
+   m_OW_master.OWSetLevel(OneWireMaster::LEVEL_NORMAL);
 
    // check CRC16
    if (OneWireMaster::calculateCRC16(buf, 0, cnt) != 0xB001)
@@ -499,7 +499,7 @@
   wait_ms(SHA_COMPUTATION_DELAY * 2 + SECRET_EEPROM_DELAY);
 
   // disable strong pullup
-  m_OW_master.OWLevel(OneWireMaster::LEVEL_NORMAL);
+  m_OW_master.OWSetLevel(OneWireMaster::LEVEL_NORMAL);
 
   // read the CS byte
   m_OW_master.OWReadByte(cs);
@@ -597,7 +597,7 @@
    wait_ms(SECRET_EEPROM_DELAY);
 
    // disable strong pullup
-   m_OW_master.OWLevel(OneWireMaster::LEVEL_NORMAL);
+   m_OW_master.OWSetLevel(OneWireMaster::LEVEL_NORMAL);
 
    // read the CS byte
    m_OW_master.OWReadByte(cs);
@@ -720,7 +720,7 @@
    wait_ms(SHA_COMPUTATION_DELAY);
 
    // disable strong pullup
-   m_OW_master.OWLevel(OneWireMaster::LEVEL_NORMAL);
+   m_OW_master.OWSetLevel(OneWireMaster::LEVEL_NORMAL);
 
    // check the first CRC16
    if (!continuing)
@@ -771,7 +771,7 @@
    wait_ms(EEPROM_WRITE_DELAY);
 
    // disable strong pullup
-   m_OW_master.OWLevel(OneWireMaster::LEVEL_NORMAL);
+   m_OW_master.OWSetLevel(OneWireMaster::LEVEL_NORMAL);
 
    // read the CS byte
    m_OW_master.OWReadByte(cs);
@@ -909,7 +909,7 @@
    wait_ms(SHA_COMPUTATION_DELAY);
 
    // disable strong pullup
-   m_OW_master.OWLevel(OneWireMaster::LEVEL_NORMAL);
+   m_OW_master.OWSetLevel(OneWireMaster::LEVEL_NORMAL);
 
    // check the first CRC16
    if (!continuing)
@@ -967,7 +967,7 @@
    wait_ms(EEPROM_WRITE_DELAY);
 
    // disable strong pullup
-   m_OW_master.OWLevel(OneWireMaster::LEVEL_NORMAL);
+   m_OW_master.OWSetLevel(OneWireMaster::LEVEL_NORMAL);
 
    // read the CS byte
    m_OW_master.OWReadByte(cs);
@@ -1070,7 +1070,7 @@
    wait_ms(EEPROM_WRITE_DELAY);
 
    // disable strong pullup
-   m_OW_master.OWLevel(OneWireMaster::LEVEL_NORMAL);
+   m_OW_master.OWSetLevel(OneWireMaster::LEVEL_NORMAL);
 
    // read the CS byte
    m_OW_master.OWReadByte(cs);