lib-lpc2k is an open-source hardware library in C for the LPC2000 series microprocessors from NXP. It allows access to onboard peripherals (e.g. GPIO, UARTs, I2C, ADC, timers, PWM), and also offers project templates for Eclipse and other environments.