Revision ef078306 include/alld_at24c01bn-sh-b.h
include/alld_at24c01bn-sh-b.h | ||
---|---|---|
31 | 31 |
|
32 | 32 |
#if defined(AMIROLLD_CFG_USE_AT24C01BN) || defined(__DOXYGEN__) |
33 | 33 |
|
34 |
/******************************************************************************/ |
|
35 |
/* CONSTANTS */ |
|
36 |
/******************************************************************************/ |
|
37 |
|
|
34 | 38 |
/** |
35 | 39 |
* @brief Memory size of the EEPROM in bits. |
36 | 40 |
*/ |
... | ... | |
63 | 67 |
*/ |
64 | 68 |
#define AT24C01BN_LLD_I2C_MAXFREQUENCY_5V 1000000 |
65 | 69 |
|
70 |
|
|
71 |
/******************************************************************************/ |
|
72 |
/* SETTINGS */ |
|
73 |
/******************************************************************************/ |
|
74 |
|
|
75 |
/******************************************************************************/ |
|
76 |
/* CHECKS */ |
|
77 |
/******************************************************************************/ |
|
78 |
|
|
79 |
/******************************************************************************/ |
|
80 |
/* DATA STRUCTURES AND TYPES */ |
|
81 |
/******************************************************************************/ |
|
82 |
|
|
66 | 83 |
/** |
67 | 84 |
* @brief The AT24C01BN driver struct |
68 | 85 |
*/ |
... | ... | |
81 | 98 |
AT24C01BN_LLD_I2C_ADDR_A2 = 0x0004u, |
82 | 99 |
}; |
83 | 100 |
|
101 |
/******************************************************************************/ |
|
102 |
/* MACROS */ |
|
103 |
/******************************************************************************/ |
|
104 |
|
|
105 |
/******************************************************************************/ |
|
106 |
/* EXTERN DECLARATIONS */ |
|
107 |
/******************************************************************************/ |
|
108 |
|
|
84 | 109 |
#ifdef __cplusplus |
85 | 110 |
extern "C" { |
86 | 111 |
#endif |
... | ... | |
93 | 118 |
} |
94 | 119 |
#endif |
95 | 120 |
|
121 |
/******************************************************************************/ |
|
122 |
/* INLINE FUNCTIONS */ |
|
123 |
/******************************************************************************/ |
|
124 |
|
|
96 | 125 |
#endif /* defined(AMIROLLD_CFG_USE_AT24C01BN) */ |
97 | 126 |
|
98 | 127 |
#endif /* AMIROLLD_AT24C01BN_H */ |
Also available in: Unified diff