Posted on May 17, 2011 at 15:08I've solved my problem: If I want to set High Treshold to 900d using ((u16)900); it will set 12d. How is it posible. Well 900d is 0000001110000100b and the ADC_HTR register is left alignght. The Function ADC1_SetHighTr...