ADS7843 read 13bit with SPI

Locked
etmatrix
Posts: 46
Joined: Sun Oct 21, 2012 10:05 pm

ADS7843 read 13bit with SPI

Post by etmatrix »

I trying to understand better the code for read_value in ginput_lld.
Initially I have used ginput_lld_mouse_board_example.h with some changes and all worked without problems.
Why in read_value function for all ginput_lld_mouse_board_* in ADS7843 the return value is 13 bits wide? ADS7843 return only 8 o 12 bits.
I ask only for understand :)
Now is working and I don't want to change it.
Locked