I2C_Public_Macros
[I2C]
Defines | |
#define | PARAM_I2C_SLAVEADDR_CH(n) ((n>=0) && (n<=3)) |
#define | PARAM_I2Cx(n) |
#define | I2C_SETUP_STATUS_ARBF (1<<8) |
#define | I2C_SETUP_STATUS_NOACKF (1<<9) |
#define | I2C_SETUP_STATUS_DONE (1<<10) |
#define | I2C_MONITOR_CFG_SCL_OUTPUT I2C_I2MMCTRL_ENA_SCL |
#define | I2C_MONITOR_CFG_MATCHALL I2C_I2MMCTRL_MATCH_ALL |
#define | PARAM_I2C_MONITOR_CFG(n) ((n==I2C_MONITOR_CFG_SCL_OUTPUT) || (I2C_MONITOR_CFG_MATCHALL)) |
Define Documentation
#define I2C_MONITOR_CFG_MATCHALL I2C_I2MMCTRL_MATCH_ALL |
Select interrupt register match
Definition at line 335 of file lpc17xx_i2c.h.
#define I2C_MONITOR_CFG_SCL_OUTPUT I2C_I2MMCTRL_ENA_SCL |
I2C monitor control configuration defines SCL output enable
Definition at line 334 of file lpc17xx_i2c.h.
#define I2C_SETUP_STATUS_ARBF (1<<8) |
Arbitration false
Definition at line 326 of file lpc17xx_i2c.h.
#define I2C_SETUP_STATUS_DONE (1<<10) |
Status DONE
Definition at line 328 of file lpc17xx_i2c.h.
#define I2C_SETUP_STATUS_NOACKF (1<<9) |
No ACK returned
Definition at line 327 of file lpc17xx_i2c.h.
#define PARAM_I2C_MONITOR_CFG | ( | n | ) | ((n==I2C_MONITOR_CFG_SCL_OUTPUT) || (I2C_MONITOR_CFG_MATCHALL)) |
Definition at line 337 of file lpc17xx_i2c.h.
#define PARAM_I2C_SLAVEADDR_CH | ( | n | ) | ((n>=0) && (n<=3)) |
Definition at line 318 of file lpc17xx_i2c.h.
#define PARAM_I2Cx | ( | n | ) |
Value:
((((uint32_t *)n)==((uint32_t *)LPC_I2C0)) \ || (((uint32_t *)n)==((uint32_t *)LPC_I2C1)) \ || (((uint32_t *)n)==((uint32_t *)LPC_I2C2)))
Definition at line 321 of file lpc17xx_i2c.h.
Generated on Mon Feb 8 10:01:44 2010 for LPC1700CMSIS Standard Peripheral Firmware Library by 1.5.9