MTD wrapper for AT24cxxx family of I2C-EEPROMs

MTD wrapper for AT24XXX I2C based EEPROMs. More...

Detailed Description

MTD wrapper for AT24XXX I2C based EEPROMs.

Files

file  mtd_at24cxxx.h
 Interface definition for at24cxxx MTD wrapper.
 

Data Structures

struct  mtd_at24cxxx_t
 Device descriptor for mtd at24cxxx device. More...
 

Macros

#define MTD_AT24CXXX_INIT(dev_p, params_p)
 Shortcut initializer for mtd_at24cxxx_t. More...
 

Variables

const mtd_desc_t mtd_at24cxxx_driver
 MTD EEPROM driver for at24cxxx EEPROM.
 

Macro Definition Documentation

◆ MTD_AT24CXXX_INIT

#define MTD_AT24CXXX_INIT (   dev_p,
  params_p 
)
Value:
.base = { \
.driver = &mtd_at24cxxx_driver \
}, \
.at24cxxx_eeprom = (dev_p), \
.params = (params_p) \
}

Shortcut initializer for mtd_at24cxxx_t.

Definition at line 48 of file mtd_at24cxxx.h.

mtd_at24cxxx_driver
const mtd_desc_t mtd_at24cxxx_driver
MTD EEPROM driver for at24cxxx EEPROM.
mtd_at24cxxx_t
Device descriptor for mtd at24cxxx device.
Definition: mtd_at24cxxx.h:39