LPC23xx: Several fixes for typos from Lizhuoyi

This commit is contained in:
Gregory Nutt 2014-06-06 11:06:19 -06:00
parent 2e08560fa0
commit 39cf9e248b
3 changed files with 780 additions and 728 deletions
arch/arm/src/lpc2378

@ -130,22 +130,27 @@ config LPC2378_UART2
default n
select ARCH_HAVE_UART2
config LPC2378_UART3
bool "UART3"
default n
select ARCH_HAVE_UART3
config LPC2378_USBDEV
bool "USB Device"
default n
depends on USBDEV
config LPC2378_IC0
config LPC2378_I2C0
bool "I2C0"
default n
select I2C
config LPC2378_IC1
config LPC2378_I2C1
bool "I2C1"
default n
select I2C
config LPC2378_IC2
config LPC2378_I2C2
bool "I2C2"
default n
select I2C

File diff suppressed because it is too large Load Diff

@ -377,7 +377,7 @@ static int i2c_interrupt (int irq, FAR void *context)
/* Reference UM10360 19.10.5 */
uint32_t state = getreg32(priv->base + I2C_STAT_OFFSET);
putreg32(I2C_CONCLR_SIC, priv->base + 2C_CONCLR_OFFSET);
putreg32(I2C_CONCLR_SIC, priv->base + I2C_CONCLR_OFFSET);
priv->state = state;
state &= 0xf8;