periph_low_power
Low Power Modes (sleep, deep sleep, power-down) 
This example allows the user to enter the low power modes and wake-up using general purpose port pin. 

Compile the libraries (lib_lpc_chip_8xx, lib_lpc_boards_8xx) first and then compile the periph_low_power project

Please see application note for further details