#define MIOS32_IIC0_BUS_FREQUENCY 400000 |
#define MIOS32_IIC1_BUS_FREQUENCY 400000 |
#define MIOS32_IIC2_BUS_FREQUENCY 400000 |
#define MIOS32_IIC_ERROR_ARBITRATION_LOST -5 |
#define MIOS32_IIC_ERROR_BUS -6 |
#define MIOS32_IIC_ERROR_GENERAL -2 |
#define MIOS32_IIC_ERROR_INVALID_PORT -1 |
#define MIOS32_IIC_ERROR_PREV_OFFSET -128 |
#define MIOS32_IIC_ERROR_RX_BUFFER_OVERRUN -9 |
#define MIOS32_IIC_ERROR_SLAVE_NOT_CONNECTED -7 |
#define MIOS32_IIC_ERROR_TIMEOUT -4 |
#define MIOS32_IIC_ERROR_UNEXPECTED_EVENT -8 |
#define MIOS32_IIC_ERROR_UNSUPPORTED_TRANSFER_TYPE -3 |
#define MIOS32_IIC_NUM 1 |
#define MIOS32_IIC_TIMEOUT_VALUE 5000 |