summaryrefslogtreecommitdiff
path: root/src/config.h
blob: ad035c9db48a3edd4f3bfcbfbb0c4b2c1f695cab (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 150