Copypasta from f4 rcc code was only modified to shift the result, but not clear the existing settings properly. Add mask/shift definitions and use them properly.
Copypasta from f4 rcc code was only modified to shift the result, but not clear the existing settings properly. Add mask/shift definitions and use them properly.