fixed and implement adc testhal needs to be clean
made some cleanup will do more