Add support for setting analog sampling frequency