libyggdrasil
v1.0.0
|
ADC abstraction implementation for Midgard. More...
#include <yggdrasil.h>
#include <cpp/common/attributes.hpp>
#include <cpp/common/types.hpp>
#include <cpp/common/utils.hpp>
#include <c/midgard/driver/adc.h>
#include <math.h>
Functions | |
bool | yggdrasil_ADC_Init (adc_t adc) |
ADC init function. More... | |
bool | yggdrasil_ADC_Deinit (adc_t adc) |
ADC deinit function. More... | |
float | yggdrasil_ADC_Read (adc_t adc) |
Get the adc value from the channel specified in the ADC handle. More... | |
ADC abstraction implementation for Midgard.
bool yggdrasil_ADC_Deinit | ( | adc_t | adc | ) |
ADC deinit function.
adc | ADC handle |
bool yggdrasil_ADC_Init | ( | adc_t | adc | ) |
ADC init function.
adc | ADC handle |
float yggdrasil_ADC_Read | ( | adc_t | adc | ) |
Get the adc value from the channel specified in the ADC handle.
adc | ADC handle |