SatNOGS-COMMS  4.1.0
A COMMS subsystem for CubeSats
Loading...
Searching...
No Matches
satnogs::comms::lib::bsp::dummy_adc Class Reference

An ADC device that does not perform any operation at all. More...

#include <adc.hpp>

Inheritance diagram for satnogs::comms::lib::bsp::dummy_adc:
satnogs::comms::lib::bsp::adc

Additional Inherited Members

Public Member Functions inherited from satnogs::comms::lib::bsp::adc
 adc (uint16_t resolution, float vref)
 Construct a new ADC object.
virtual void start ()=0
 Starts the ADC.
virtual void stop ()=0
 Stops the ADC.
virtual uint32_t read ()=0
 Get the ADC value.
virtual float voltage ()
 Get the ADC voltage.
uint32_t resolution () const
 Get the ADC resolution.
float vref () const
 Get the ADC voltage reference.

Detailed Description

An ADC device that does not perform any operation at all.

This dummy device is used for CI testing and compilation, or if the ADC functionallity is not needed or not supported by the target platform.

Definition at line 118 of file adc.hpp.


The documentation for this class was generated from the following file:
  • libsatnogs-comms/include/satnogs-comms-lib/bsp/adc.hpp