I am hoping someone has done this before and can give me the code necessary.
I need to turn off all other clocks except the ADC clock while the ADC is running then turn all of the clocks back on after the ADC read command is done so I can work with the data collected.
I have read that the basic way is to set SM to 01 in the MCUCR register but don't know how to change these bits for a ADC read only clock or reset them to re enable the MCU and other clocks.