#include <AdcReal.hpp>
◆ AdcReal()
zct::AdcReal::AdcReal |
( |
const char * |
name, |
|
|
const struct adc_dt_spec * |
adcSpec |
|
) |
| |
◆ ~AdcReal()
zct::AdcReal::~AdcReal |
( |
| ) |
|
◆ readMv()
int32_t zct::AdcReal::readMv |
( |
| ) |
|
|
overridevirtual |
Perform a single ADC conversion on the channel and return the result in mV.
- Returns
- The result of the ADC conversion in mV.
Implements zct::IAdc.
◆ m_adcSpec
const struct adc_dt_spec* zct::AdcReal::m_adcSpec |
|
protected |
The documentation for this class was generated from the following files:
- /home/runner/work/ZephyrCppToolkit/ZephyrCppToolkit/include/ZephyrCppToolkit/Peripherals/AdcReal.hpp
- /home/runner/work/ZephyrCppToolkit/ZephyrCppToolkit/src/Peripherals/AdcReal.cpp