APM:Libraries
Public Member Functions | List of all members
AP_HAL::AnalogIn Class Referenceabstract

#include <AnalogIn.h>

Inheritance diagram for AP_HAL::AnalogIn:
[legend]

Public Member Functions

virtual void init ()=0
 
virtual AP_HAL::AnalogSourcechannel (int16_t n)=0
 
virtual float board_voltage (void)=0
 
virtual float servorail_voltage (void)
 
virtual uint16_t power_status_flags (void)
 

Detailed Description

Definition at line 40 of file AnalogIn.h.

Member Function Documentation

◆ board_voltage()

virtual float AP_HAL::AnalogIn::board_voltage ( void  )
pure virtual

◆ channel()

virtual AP_HAL::AnalogSource* AP_HAL::AnalogIn::channel ( int16_t  n)
pure virtual

◆ init()

virtual void AP_HAL::AnalogIn::init ( )
pure virtual

Implemented in F4Light::AnalogIn, ChibiOS::AnalogIn, AnalogIn_IIO, VRBRAIN::VRBRAINAnalogIn, PX4::PX4AnalogIn, HALSITL::AnalogIn, AnalogIn_Navio2, AnalogIn_ADS1115, and Empty::AnalogIn.

Referenced by AP_BoardConfig::px4_setup_peripherals(), HAL_Linux::run(), HAL_SITL::run(), HAL_F4Light::run(), and THD_FUNCTION().

Here is the caller graph for this function:

◆ power_status_flags()

virtual uint16_t AP_HAL::AnalogIn::power_status_flags ( void  )
inlinevirtual

Reimplemented in F4Light::AnalogIn, ChibiOS::AnalogIn, VRBRAIN::VRBRAINAnalogIn, and PX4::PX4AnalogIn.

Definition at line 52 of file AnalogIn.h.

Referenced by DataFlash_Class::Log_Write_Power(), and GCS_MAVLINK::send_power_status().

Here is the caller graph for this function:

◆ servorail_voltage()

virtual float AP_HAL::AnalogIn::servorail_voltage ( void  )
inlinevirtual

Reimplemented in F4Light::AnalogIn, ChibiOS::AnalogIn, VRBRAIN::VRBRAINAnalogIn, PX4::PX4AnalogIn, and AnalogIn_Navio2.

Definition at line 49 of file AnalogIn.h.

Referenced by DataFlash_Class::Log_Write_Power(), and GCS_MAVLINK::send_power_status().

Here is the caller graph for this function:

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