We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91b175d commit e96f286Copy full SHA for e96f286
src/MB85_FRAM.h
@@ -63,7 +63,11 @@ Version| Date | Developer | Comments
63
*****************************************************************************************************************/
64
#ifndef FRAM_I2C_MODES
65
/** @brief Guard code to prevent multiple definitions of I2C modes */
66
- #define FRAM_I2C_MODES
+#define FRAM_I2C_MODES
67
+#ifndef BUFFER_LENGTH
68
+ /** @brief Define I2C Buffer length if not specified in library */
69
+ #define BUFFER_LENGTH 32
70
+#endif
71
const uint32_t I2C_STANDARD_MODE = 100000; ///< Default normal I2C 100KHz speed
72
const uint32_t I2C_FAST_MODE = 400000; ///< Fast mode
73
const uint32_t I2C_FAST_MODE_PLUS_MODE = 1000000; ///< Really fast mode
0 commit comments