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 Static Functions

static inline result<inert_adc> create(read_t p_result)#

Factory function to create inert_adc object.

Parameters:

p_result – - read_t object to return when reading the inert_adc

Returns:

result<inert_adc> - Constructed inert_adc object