I become very confused when all three (sensor adc and spi )combined. I know sensor detect the physical property such as temperature and convert it into voltage signal. ADC is device that convert analog signal into digital signal. SPI is serial protocol.
ADT7307 is temperature sensor, It has inbuilt adc it work on SPI protocol.
I assume sensor store the temperature data at register 0x02 Microcontroller has one 8 bit register who can store 8 bit data
0x02 - sensor register X
0x09 - micro register Y
I assume that sensor detect the physical property and gives analog signal and ADC convert it into digital signal we called it ADC value for example if it is X = 1100 1100, we are sending data via SPI so after 8 clock micro controller will hold same value so Y = 1100 1100
X = 1111 0000 -> after 8 clock = Y = 1111 0000 // 32 * c
X = 0000 1111 -> after 8 clock = Y = 0000 1111 // 36 *c
X = 0000 1111 -> after 8 clock = Y = 0000 1111 // 42 *c
Assumed value is a temporary value Which is taken for example only, I think this process happen when we interface the ADT7307 sensor to the microcontroller
Is this really happen I do not have so deep understanding about overall process?