I2C_Private_Functions
[I2C]
Functions | |
void | I2C_MasterHandler (LPC_I2C_TypeDef *I2Cx) |
General Master Interrupt handler for I2C peripheral. | |
void | I2C_SlaveHandler (LPC_I2C_TypeDef *I2Cx) |
General Slave Interrupt handler for I2C peripheral. | |
void | I2C_IntCmd (LPC_I2C_TypeDef *I2Cx, Bool NewState) |
Enable/Disable interrupt for I2C peripheral. |
Function Documentation
void I2C_IntCmd | ( | LPC_I2C_TypeDef * | I2Cx, | |
Bool | NewState | |||
) |
Enable/Disable interrupt for I2C peripheral.
- Parameters:
-
[in] I2Cx I2C peripheral selected, should be I2C0, I2C1 or I2C2 [in] NewState New State of I2C peripheral interrupt in NVIC core should be: - ENABLE: enable interrupt for this I2C peripheral
- DISABLE: disable interrupt for this I2C peripheral
- Returns:
- None
Definition at line 211 of file lpc17xx_i2c.c.
void I2C_MasterHandler | ( | LPC_I2C_TypeDef * | I2Cx | ) |
General Master Interrupt handler for I2C peripheral.
- Parameters:
-
[in] I2Cx I2C peripheral selected, should be I2C0, I2C1 or I2C2
- Returns:
- None
Definition at line 252 of file lpc17xx_i2c.c.
void I2C_SlaveHandler | ( | LPC_I2C_TypeDef * | I2Cx | ) |
General Slave Interrupt handler for I2C peripheral.
- Parameters:
-
[in] I2Cx I2C peripheral selected, should be I2C0, I2C1 or I2C2
- Returns:
- None
Definition at line 459 of file lpc17xx_i2c.c.
Generated on Mon Feb 8 10:01:49 2010 for LPC1700CMSIS Standard Peripheral Firmware Library by 1.5.9