initial commit, reads dev id

Revision:
3:ad8f1059a0c5
Parent:
2:11e0b5b86e1e
Child:
4:6ec3bc44f055
--- a/MAX8614X.h	Sat Aug 11 10:25:54 2018 +0000
+++ b/MAX8614X.h	Sat Aug 11 22:03:35 2018 +0000
@@ -186,13 +186,14 @@
 
     /*SHA256 Control*/
     static const uint8_t MAX8614X_IE_SHA_DONE_EN          = (0x01 << 0);
-    static const uint8_t MAX8614X_SHACMD_SHA_START        = (0x01 << 0);
-    static const uint8_t MAX8614X_SHACMD_SHA_EN           = (0x01 << 1);
+    static const uint8_t MAX8614X_SHACFG_SHA_START        = (0x01 << 0);
+    static const uint8_t MAX8614X_SHACFG_SHA_EN           = (0x01 << 1);
     static const uint8_t MAX8614X_MEMCNTRL_BANK0_MASK     = (0);
     static const uint8_t MAX8614X_MEMCNTRL_BANK1_MASK     = (1);
     static const uint8_t MAX8614X_MEMCNTRL_WR_DIS_MASK    = (0x01 << 0);
     static const uint8_t MAX8614X_MEMCNTRL_WR_EN_MASK     = (0x01 << 1);
-    
+    static const uint8_t MAX8614X_SHACMD_MAC_ROM_ID       = (0x35);
+    static const uint8_t MAX8614X_SHACMD_MAC_NO_ROM_ID    = (0x36);
     /* PUBLIC TYPE DEFINITIONS */
     typedef struct RegisterMap {
         uint8_t addr;