AEM
guid_24AA025UID.h
Go to the documentation of this file.
1 #ifndef AA025UID_H
2 #define AA025UID_H
3 
4 #if defined(ARDUINO) && ARDUINO >= 100
5 #include <Arduino.h>
6 #else
7 #include <WProgram.h>
8 #endif
9 
10 #include "I2C.h"
11 
12 #define AA025UID_GUID_ADDR (0xFA)
13 #define GUID_I2C_ADR (0x50)
14 #define GUID_ID_LEN (6)
15 #define GUID_SERIAL_NB_START (2)
16 
17 
20 class AA025UID {
21  protected:
22  uint32_t guidID; //<! the gunique GUID value on 4 bytes, not including manufacturer etc.
23  const int8_t I2C_addr; //<! I2C address of the chip
24 
25  public:
28  AA025UID();
32  const uint32_t& getGuidID() const;
33 };
34 
35 #endif
const uint32_t & getGuidID() const
Definition: guid_24AA025UID.cpp:21
Definition: guid_24AA025UID.h:20
AA025UID()
Definition: guid_24AA025UID.cpp:3
const int8_t I2C_addr
Definition: guid_24AA025UID.h:23
uint32_t guidID
Definition: guid_24AA025UID.h:22