General analog exercises




ADC configuration

Write a function that configures the ADC. The input parameters are: start of conversion mode, repeat count, justification. Note, that in the repeat count is greater than one the data must be right justified.