Hola Carlos,
Lo que hice fue lo siguiente:
Introducir código aquí...
#include "chip.h"
#define GPIO0_SCU_PORT 6
#define GPIO0_SCU_PIN 1
#define GPIO0_PORT 3
#define GPIO0_PIN 0
#define OUTPUT 1
/* FUNCION PRINCIPAL, PUNTO DE ENTRADA AL PROGRAMA LUEGO DE RESET. */
int main(void)
{
/* ------------- INICIALIZACIONES ------------- */
/* Inicializar la placa */
boardConfig();
/* Inicializar DigitalIO */
digitalConfig( 0, INITIALIZE );
/* Configuración de pines de salida para
GPIO de la CIAA-NXP */
/*Configuracion para GPIO0*/
uint16_t modoGPIO0 = SCU_MODE_INACT | SCU_MODE_INBUFF_EN | SCU_MODE_ZIF_DIS;
/*SCU PORT*/ /*SCU PIN*/ /* MODO*/ /*FUNC*/
Chip_SCU_PinMux(GPIO0_SCU_PORT, GPIO0_SCU_PIN, modoGPIO0, FUNC0);
/*GPIO PORT*/ /*GPIO PIN*/ /*Salida o Entrada*/
Chip_GPIO_SetDir(LPC_GPIO_PORT, GPIO0_PORT, (1 << GPIO0_PIN), OUTPUT);
/* Variable de retardo no bloqueante */
delay_t delayBase;
/*Inicializar Retardo no bloqueante con tiempo en ms
* 500 ms = 0,5 s*/
delayConfig( &delayBase, 500 );
while (1) {
Chip_GPIO_SetPinState( LPC_GPIO_PORT, GPIO0_PORT, GPIO0_PIN, 1);
delay(500);
Chip_GPIO_SetPinState( LPC_GPIO_PORT, GPIO0_PORT, GPIO0_PIN, 0);
}