Loading...
Searching...
No Matches

Detailed Description

#include <stdint.h>
#include "net/eui48.h"
#include "net/eui64.h"
#include "periph/i2c.h"
+ Include dependency graph for at24mac.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  at24mac_params_t
 struct holding all params needed for device communication More...
 

Macros

#define AT24MAC_ID_LEN   (16)
 Length of ID128.
 

Typedefs

typedef uint_fast8_t at24mac_t
 Device handle type for AT24Mac devices.
 

Enumerations

enum  at24mac_type_t { AT24MAC4XX , AT24MAC6XX }
 Type of the AT24Mac device. More...
 

Functions

int at24mac_get_eui48 (at24mac_t dev, eui48_t *addr)
 Get the unique EUI48 address from a AT24MAC4xx chip.
 
int at24mac_get_eui64 (at24mac_t dev, eui64_t *addr)
 Get the unique EUI64 address from a AT24MAC6xx chip.
 
int at24mac_get_id128 (at24mac_t dev, void *dst)
 Get the unique ID from a AT24MACxxx chip.
 
at24mac_type_t at24mac_get_type (at24mac_t dev)
 Get the type of a AT24MACxxx chip.