Re: Joystick BRD8006A example code

I think an0021 is a good start point. but it may not include the example ti configure the VREF and VIN attenuation register. You could read the ADC section of the reference manual (EFM32PG1B) to know the meaning of these register. I hope it helps.