SPI - ADC function added