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

#include <bsp.hpp>

Inheritance diagram for satnogs::comms::sensor_bsp:
satnogs::comms::lib::bsp::sensor

Public Member Functions

 sensor_bsp (const struct device *dev)
float vbat ()
 Get the VBAT from SoCs designated internal ADC channel.
float vref ()
 Get the VREF from SoCs designated internal ADC channel.
Public Member Functions inherited from satnogs::comms::lib::bsp::sensor
 sensor ()
 Construct a new sensor object.
 ~sensor ()

Detailed Description

Definition at line 93 of file bsp.hpp.

Constructor & Destructor Documentation

◆ sensor_bsp()

satnogs::comms::sensor_bsp::sensor_bsp ( const struct device * dev)

Definition at line 210 of file bsp.cpp.

Member Function Documentation

◆ vbat()

float satnogs::comms::sensor_bsp::vbat ( )
virtual

Get the VBAT from SoCs designated internal ADC channel.

Returns
float VBAT voltage in Volts

Implements satnogs::comms::lib::bsp::sensor.

Definition at line 219 of file bsp.cpp.

◆ vref()

float satnogs::comms::sensor_bsp::vref ( )
virtual

Get the VREF from SoCs designated internal ADC channel.

Returns
float VBAT voltage in Volts

Implements satnogs::comms::lib::bsp::sensor.

Definition at line 239 of file bsp.cpp.


The documentation for this class was generated from the following files: