Inert ADC#

Inert Driver#

Defined in namespace hal::soft

#include <libhal-soft/inert/inert_adc.hpp>

class inert_adc : public hal::adc#

Inert implementation of Analog to Digital Converter (ADC) hardware.

Public Functions

inline constexpr inert_adc(float p_result)#

Create inert_adc object.

Parameters:

p_result – - What will be returned from inert_adc’s read function, clamped to -1.0f to 1.0f.