42#define AT24MAC_ID_ADDR 0x80
44#if defined(AT24MAC402)
45#define AT24MAC_EUI_ADDR 0x9A
46#elif defined(AT24MAC602)
47#define AT24MAC_EUI_ADDR 0x98
61size_t at24mac_read( uint8_t
id, uint16_t address, uint8_t *rx_data,
size_t buf_len, uint32_t timeout );
85size_t at24mac_read_eui( uint8_t
id, uint8_t *rx_data,
size_t buf_len, uint32_t timeout );
98size_t at24mac_write( uint8_t
id, uint16_t address, uint8_t *tx_data,
size_t buf_len, uint32_t timeout );
size_t at24mac_read(uint8_t id, uint16_t address, uint8_t *rx_data, size_t buf_len, uint32_t timeout)
Read serial data from AT24MAC EEPROM.
Definition at24mac.c:40
size_t at24mac_write(uint8_t id, uint16_t address, uint8_t *tx_data, size_t buf_len, uint32_t timeout)
Write serial data to EEPROM.
Definition at24mac.c:87
size_t at24mac_read_eui(uint8_t id, uint8_t *rx_data, size_t buf_len, uint32_t timeout)
Read EEPROM EUI number.
Definition at24mac.c:70
size_t at24mac_read_serial_num(uint8_t id, uint8_t *rx_data, size_t buf_len, uint32_t timeout)
Read EEPROM serial number.
Definition at24mac.c:54