Added some comments and simplified the ADC definitions