libyggdrasil
v1.0.0
|
ADC Channel implementation for Asgard. More...
#include <adc.hpp>
Public Member Functions | |
ADCChannel (const ADCChannel &)=delete | |
auto | operator= (const ADCChannel &)=delete |
operator float () const noexcept | |
Get the current ADC value. More... | |
ADCChannel (const ADCChannel &)=delete | |
auto | operator= (const ADCChannel &)=delete |
operator float () const noexcept | |
Get the current ADC value. More... | |
Static Public Member Functions | |
static bool | init () |
Init function. More... | |
static bool | deinit () |
Deinit function. More... | |
static bool | init () |
Init function. More... | |
static bool | deinit () |
Deinit function. More... | |
Static Public Attributes | |
constexpr static auto | ReferenceVoltage = 3.3 |
Friends | |
template<auto , template< auto, u8, u32, u32 > typename> | |
struct | bsp::drv::ADConverter |
Declare ADConverter frontend as friend. More... | |
template<auto , template< auto, u8, u32, u32 > typename> | |
struct | bsp::drv::ADConverter |
Declare ADConverter frontend as friend. More... | |
ADC Channel implementation for Asgard.
ADC Channel implementation for Midgard.
Context | ADC Context |
Index | Channel ID |
Offset | Calibration offset |
MaxValue | Maximum value reported |
|
delete |
|
delete |
|
inlinestatic |
Deinit function.
|
inlinestatic |
Deinit function.
|
inlinestatic |
Init function.
|
inlinestatic |
Init function.
|
inlinenoexcept |
Get the current ADC value.
|
inlinenoexcept |
Get the current ADC value.
|
delete |
|
delete |
|
friend |
Declare ADConverter frontend as friend.
|
friend |
Declare ADConverter frontend as friend.
|
staticconstexpr |