The common interface for obtaining voltage samples in microvolts. This interface represents a single voltage input or channel. Users will need to supply their own ADC driver implementation in order to provide the reference voltages and to configure and enable the ADC peripheral where needed. Users are responsible for managing multi-threaded access to the ADC driver if the ADC services multiple channels.
Classes | |
struct | References |
Public Member Functions | |
Result< int32_t > | TryReadMicrovoltsFor (chrono::SystemClock::duration timeout) |
Result< int32_t > | TryReadMicrovoltsUntil (chrono::SystemClock::time_point deadline) |
![]() | |
Result< int32_t > | TryReadFor (chrono::SystemClock::duration timeout) |
virtual Result< int32_t > | TryReadUntil (chrono::SystemClock::time_point deadline)=0 |
virtual Limits | GetLimits () const =0 |