summaryrefslogtreecommitdiff
path: root/src/config.h
blob: e4a6590a6db936a965663c7f3d4d135ed99cd400 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Enable debug mode */
/* #define DEBUG_ENABLE 1 */

/* Enable testing mode */
/* #define TESTING_ENABLE 1 */

/* Buffer size for routing */
#define ROUTING_BUFSIZE 128

/**
 * \def   MASTER_I2C_BUS_INTERVAL
 * \brief General interval value used by master in milliseconds
 *
 * Master uses this value to introduce delays on the I2C bus in order to reduce I2C timeout values.
 * The optimum interval is usually dependent on I2C bus configuration on the hardware. Testing and debug UART 
 * operations will also affect this value.
 * If unforeseen I2C timeout issues are encountered on master side, this value should be increased to suit the
 * hardware.
 *
*/
#define MASTER_I2C_BUS_INTERVAL 5