STM32F3: Comp: Finished converting to shifted enums.

For details, see previous commit.