These are the examples provided for [[/users/frank26080115/libraries/LPC1700CMSIS_Lib/]] Note, the entire "program" is not compilable!

Embed: (wiki syntax)

« Back to documentation index

i2c_interrupt_test.c File Reference

i2c_interrupt_test.c File Reference

An example of I2C using interrupt mode to test the I2C driver. More...

Go to the source code of this file.

Functions

void I2C0_IRQHandler (void)
 Main I2C0 interrupt handler sub-routine.
void I2C2_IRQHandler (void)
 Main I2C2 interrupt handler sub-routine.
void print_menu (void)
 Print Welcome menu.
void Error_Loop (uint8_t ErrorCode)
 A subroutine that will be called if there's any error on I2C operation.
int c_entry (void)
 c_entry: Main program body

Detailed Description

An example of I2C using interrupt mode to test the I2C driver.

Using I2C at mode I2C master/8bit on LPC1766 to communicate with SC16IS750/760 Demo Board

Version:
2.0
Date:
21. May. 2010
Author:
NXP MCU SW Application Team --------------------------------------------------------------------- Software that is described herein is for illustrative purposes only which provides customers with programming information regarding the products. This software is supplied "AS IS" without any warranties. NXP Semiconductors assumes no responsibility or liability for the use of the software, conveys no license or title under any patent, copyright, or mask work right to the product. NXP Semiconductors reserves the right to make changes in the software without notification. NXP Semiconductors also make no representation or warranty that such application will be suitable for the specified use without further testing or modification.

Definition in file i2c_interrupt_test.c.