nrf51-ADC-examples icon indicating copy to clipboard operation
nrf51-ADC-examples copied to clipboard

ADC conversion configuration : confusing comment

Open sdespont opened this issue 10 years ago • 0 comments

In the adc_init() function, it is specified that no prescaling is used which is wrong according to the parameter used to configure the ADC.

(ADC_CONFIG_INPSEL_AnalogInputOneThirdPrescaling << ADC_CONFIG_INPSEL_Pos) /*!< Analog input specified by PSEL with no prescaling used as input for the conversion. */

sdespont avatar Jun 04 '14 09:06 sdespont