I am looking for an example to proper initialize an input channel for the ADC (LPC54628).
The usual way is to enable the appropriate GPIO pin, and assign the proper function (analog mode).
All of the SDK examples use the internal temperature sensor - and cleverly circumvent a proper how-to.
Can any one show me the proper SDK calls, and sequence ?
I want to use ADC0 and ADC0IN4..6, but an example for one pin/channel would suffice.