Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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, FunctionalState NewState) |
| Enable/Disable interrupt for I2C peripheral. | |
| static int32_t | I2C_getNum (LPC_I2C_TypeDef *I2Cx) |
| Convert from I2C peripheral to number. | |
Function Documentation
| static int32_t I2C_getNum | ( | LPC_I2C_TypeDef * | I2Cx ) | [static] |
Convert from I2C peripheral to number.
Definition at line 103 of file lpc17xx_i2c.c.
| void I2C_IntCmd | ( | LPC_I2C_TypeDef * | I2Cx, |
| FunctionalState | 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 455 of file lpc17xx_i2c.c.
Generated on Tue Jul 12 2022 17:06:03 by
1.7.2