Hello, I have a problem with the LPC3250. I want to use the Analog to Digital Converter, but I don't can find in the user manuel (Rev. 1 February 2009) the register description from ADSEL or ADCON. Can someone help me where I can find these? I have also surch by google but without a result.
With best regards Jochen
Hello I have found it. You must show in the lpc325x.h and under the AD/Converter you find:
/* A/D Converter */ #define ADC_BASE_ADDR 0x40048000 #define ADSTAT (*(volatile unsigned long *)(ADC_BASE_ADDR + 0x00)) #define ADSEL (*(volatile unsigned long *)(ADC_BASE_ADDR + 0x04)) #define ADCON (*(volatile unsigned long *)(ADC_BASE_ADDR + 0x08)) #define ADDAT (*(volatile unsigned long *)(ADC_BASE_ADDR + 0x48))