Expand description
Implementation of the SAM4L ADCIFE.
This is an implementation of the SAM4L analog to digital converter. It is bare-bones because it provides little flexibility on how samples are taken. Currently, all samples:
- are 12 bits
- use the ground pad as the negative reference
- use a VCC/2 positive reference
- use a gain of 0.5x
- are left justified
Samples can either be collected individually or continuously at a specified frequency.
- Author: Philip Levis pal@cs.stanford.edu, Branden Ghena brghena@umich.edu
- Updated: May 1, 2017
Structs§
- Adc
- ADC driver code for the SAM4L.
- AdcChannel
- Representation of an ADC channel on the SAM4L.
- AdcRegisters
- Memory mapped registers for the ADC.
Enums§
- Channel
- SAM4L ADC channels.