[Code] Add some code for knock ADC handling.