The maximum clock frequency for the LPC2138 is 60 MHz, but it can be overclocked up to 70 MHz with some limitations.
The pin multiplexing on the LPC2138 can be configured using the PINSEL registers. Each peripheral function has a corresponding PINSEL register that determines which pins are used for that function.
The bootloader in the LPC2138 is used to load the application code into the flash memory. It can be used to update the firmware in the field or to load a new application code.
The ADC on the LPC2138 can be used by configuring the ADC registers, selecting the analog input channel, and starting the conversion. The ADC result can be read from the ADCR register.
The power consumption of the LPC2138 depends on the clock frequency, voltage, and operating mode. In active mode, the typical current consumption is around 10 mA at 3.3V and 48 MHz.