C8051F040 12-bit ADC use