Microchip® Advanced Software Framework

edbg-eui.c File Reference
#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include "contiki.h"
#include "asf.h"

Macros

#define LEN_EUI   256
 
#define PRINTF(...)
 
#define SLAVE_ADDRESS   0x28
 
#define SLAVE_WAIT_TIMEOUT   10
 
#define TIMEOUT   1000
 

Functions

uint8_t * edbg_eui_read_eui64 (void)
 

Variables

struct i2c_master_module i2c_master_instance
 
uint8_t readbuf [LEN_EUI]
 
static uint8_t write_buffer [2]
 

#define LEN_EUI   256
#define PRINTF (   ...)

Referenced by edbg_eui_read_eui64().

#define SLAVE_ADDRESS   0x28

Referenced by edbg_eui_read_eui64().

#define SLAVE_WAIT_TIMEOUT   10

Referenced by edbg_eui_read_eui64().

#define TIMEOUT   1000

Referenced by edbg_eui_read_eui64().

struct i2c_master_module i2c_master_instance
uint8_t write_buffer[2]
static
Initial value:
= {
0x51, 0xd2,
}