Name a couple of I2C related variables more intuitively.

This commit is contained in:
László Monda
2016-09-26 20:33:03 +02:00
parent b280fde8a5
commit 2dd9aa87b0
4 changed files with 9 additions and 9 deletions

View File

@@ -1,9 +1,10 @@
#ifndef __MAIN_H__
#define __MAIN_H__
#define EXAMPLE_I2C_MASTER_BASEADDR I2C0
#define I2C_BASEADDR_MAIN_BUS I2C0
#define I2C_BASEADDR_EEPROM_BUS I2C1
#define I2C_BAUD_RATE 100000
#define I2C_MASTER_CLK_SRC I2C0_CLK_SRC
#define I2C_DATA_LENGTH 2
#endif