Fix some code comments
Make sure we set all four power settings in the DTB.
Rwerite register lookup in parts: introduce register types for better error handling
Move "register" address for deser160phase setting by one.
Replace all single calls to stringToRegister and registerRangeCheck with one unified
function: verifyRegister - which checks everything.
Remove last logDEBUG remnant from HAL, logDEBUG is reserved for user space
(I just decided that right now...)
Remove trimming of the whole chip from startup procedure. This doesn't make
sense, pixel have to be trimmen in the moment they are unmasked.
And we start over with a completely masked chip now.
Remove unneeded pixelConfig parameter from initROC routine.
Mask pixels by default, do not add them to test range by default.
Compare size of ROC vector with DACs and ROC vector with pixel configs at init
Protect API calls from calling them without the HAL and DUT being ready
API CHANGE: Beginning to rework the Mask/Test/Enable stuff. Pixels are now turned on/off
tested/not tested/masked/unmasked with two commands:
maskPixel(bool) will set the PUC mask bit to the value entered
testPixel(bool) will set the PUC mask bit to the value entered AND add the pixel to the test
range.
Really set the TBM register, not only pretend to...