APM:Libraries
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
HALSITL::AnalogIn Class Reference

#include <AnalogIn.h>

Inheritance diagram for HALSITL::AnalogIn:
[legend]
Collaboration diagram for HALSITL::AnalogIn:
[legend]

Public Member Functions

 AnalogIn (SITL_State *sitlState)
 
void init ()
 
AP_HAL::AnalogSourcechannel (int16_t n)
 
float board_voltage (void)
 
- Public Member Functions inherited from AP_HAL::AnalogIn
virtual float servorail_voltage (void)
 
virtual uint16_t power_status_flags (void)
 

Private Attributes

SITL_State_sitlState
 

Static Private Attributes

static ADCSource_channels [SITL_INPUT_MAX_CHANNELS]
 

Detailed Description

Definition at line 33 of file AnalogIn.h.

Constructor & Destructor Documentation

◆ AnalogIn()

HALSITL::AnalogIn::AnalogIn ( SITL_State sitlState)
inlineexplicit

Definition at line 35 of file AnalogIn.h.

Here is the call graph for this function:

Member Function Documentation

◆ board_voltage()

float HALSITL::AnalogIn::board_voltage ( void  )
inlinevirtual

Implements AP_HAL::AnalogIn.

Definition at line 38 of file AnalogIn.h.

◆ channel()

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

Implements AP_HAL::AnalogIn.

Referenced by HALSITL::ADCSource::set_pin().

Here is the caller graph for this function:

◆ init()

void HALSITL::AnalogIn::init ( )
virtual

Implements AP_HAL::AnalogIn.

Referenced by HALSITL::ADCSource::set_pin().

Here is the caller graph for this function:

Member Data Documentation

◆ _channels

ADCSource* HALSITL::AnalogIn::_channels[SITL_INPUT_MAX_CHANNELS]
staticprivate

Definition at line 42 of file AnalogIn.h.

◆ _sitlState

SITL_State* HALSITL::AnalogIn::_sitlState
private

Definition at line 43 of file AnalogIn.h.


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