Looking for some input on how to configure each ADC input.
I'd like to be able to set:
* voltage reference
* adc resolution
* averaging
I see the function analogReference(uint8_t type), but it does not look to be implemented yet. Same with analogReadRes(unsigned int bits).
I'm working with ADC0_SC2 = ADC_SC2_REFSEL(1); to set the analog referece to 1.2v, but am not sure how it should be used, and how to set each adc channel.
Anyone care to share?
I'd like to be able to set:
* voltage reference
* adc resolution
* averaging
I see the function analogReference(uint8_t type), but it does not look to be implemented yet. Same with analogReadRes(unsigned int bits).
I'm working with ADC0_SC2 = ADC_SC2_REFSEL(1); to set the analog referece to 1.2v, but am not sure how it should be used, and how to set each adc channel.
Anyone care to share?