Difficulty in understanding PINSEL0 of LPC2378

PINSEL0 |= 0x40000000; /* Enable TxD1 in P0.15 */ PINSEL1 |= 0x00000001; /* Enable RxD1 in P0.16 */

Howcome P0.15 is represented as 0x40000000 ?

I went through the user manual of LPC2378, still i didnt understand the code ....

Similarly I am unable to understand how to select pins of LPC2378 .....

Can anyone help me ?

More questions in this forum