![]() |
LPCOpen Platform
v1.03
LPCOpen Platform for NXP LPC Microcontrollers
|
#include "i2c_001.h"Go to the source code of this file.
Macros | |
| #define | I2C_CON_FLAGS (I2C_CON_AA | I2C_CON_SI | I2C_CON_STO | I2C_CON_STA) |
Functions | |
| static int | IP_I2C_SlaveMatchAddr (uint8_t addr1, uint8_t addr2, uint8_t mask) |
| static I2C_SLAVE_ID | IP_I2C_SlaveIndexLookup (IP_I2C_001_T *pI2C, uint8_t slaveAddr) |
| int | IP_I2C_MasterXfer_StateHandler (IP_I2C_001_T *pI2C, I2C_XFER_T *xfer) |
| Master transfer state change handler. | |
| I2C_SLAVE_ID | IP_I2C_GetSlaveIndex (IP_I2C_001_T *pI2C) |
| Get the slave ID of the active slave. | |
| int | IP_I2C_SlaveXfer_StateHandler (IP_I2C_001_T *pI2C, I2C_XFER_T *xfer) |
| Slave transfer state change handler. | |
| #define I2C_CON_FLAGS (I2C_CON_AA | I2C_CON_SI | I2C_CON_STO | I2C_CON_STA) |
|
static |