/* Perform write operation on memory array. 
Write single byte into memory array using m_addr as a write pointer.  */
static void ees_write(uint8_t data)
/* Perform write operation on memory array. 
Write single byte into memory array using m_addr as a write pointer.  */
static void ees_write(uint8_t data)
{
        if (m_addr >= sizeof(m_memory))
            m_addr = 0;
        m_memory[m_addr++] = data;
    }