Hello Peter,

I personally would prefer a LPC2xxx specific version of the ADC driver because of the hardware differences - but it is a matter of taste. Personally I'do not like a lot of #if #endif in the code. The LPC24xx differs in pin configuration, number of interrupt priorities and ADC hardware layout. I suggest to copy the existing code to a new location and to create a LPC2xxx specific ADC driver (should work for LPC21xx and LPC22xx varaiants ?)

Regards, Uwe

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Reply via email to