LPC2214 C/C++ Questions

Hey, I just got a LPC2214 dev board from work and just finished reading the datasheet.

I come from the world of pic’s and use c/c++ for everything and I notice through some examples their quite simple except their init setup.

Where can I download a datasheet that explains their ASM and control register setup?

        PINSEL0 = 0;
	PINSEL1 = 0;
	PINSEL2 &= 0x0000000C;
	PINSEL2 |= 0x00000030;

I assume their setting up something but the philips official datasheet on page.19 the description of what bit4:5 does is utterly confusing…

Also does anyone know a good tutorial site?[/code][/quote]

You also need the user manual, available from the NXP web site.

You should join my LPC2000 Yahoo group:

http://tech.groups.yahoo.com/group/lpc2000/

Leon