Tool/software: Linux
Hi
From the document on OPT9221, I understand that phase data is 12 bits whether
it is sent by TFC (to Voxel SDK running at host application) in either 4 byte mode (Ref : 7.3.4.1.1 4-Byte Mode (default)) or 2 byte mode (Ref : 7.3.4.1.2 2-Byte Mode)..
I see that a virtual function named _getDataToReplace is used below -
virtual bool _getDataToReplace(uint32_t &dataToReplace); // phase data replaces either ambient or phase data in 16 bit mode. This parameter defines that data
Can you explain the purpose of the above function ?
How is it used in the TinTin camera in a 2 byte mode operation ?