I have been trying to interface an ADC with raspberry Pi namely AD7193 via SPI .
For that I have enabled my SPI and installed spidev on my pi.
but i dont know what to do next in order to get the output from my ADC on terminal. how should i proceed further?
I have luckily found a driver (in C) for the ADC i am trying to interface https://drive.google.com/open?id=1W30J_SZN0c4Ap4oEjAwbs9y3p9YlRG1w, but I don't know what to do with the it.
I also tried to understand this https://ez.analog.com/message/323497-ad7193-driver-with-raspberry-pi but i could not understand what is going on.
How can i start writing a code in c by using the drivers and where do i need to put these(drivers , if i even have to!?) files in the linux kernel system files(i am using raspbian on my pi3) in order to get it working from scratch?