Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
Esp32ADCInput< Defs > Struct Template Reference

Defines an ADC input pin. More...

#include <Esp32AdcOneShot.hxx>

Inheritance diagram for Esp32ADCInput< Defs >:

Static Public Member Functions

static void hw_init ()
 
static void hw_set_to_safe ()
 NO-OP.
 
static void set (bool value)
 NO-OP.
 
static int sample ()
 

Detailed Description

template<class Defs>
struct Esp32ADCInput< Defs >

Defines an ADC input pin.

Do not use this class directly. Use ADC_PIN instead.

Definition at line 55 of file Esp32AdcOneShot.hxx.

Member Function Documentation

◆ hw_init()

template<class Defs >
static void Esp32ADCInput< Defs >::hw_init ( )
inlinestatic

Definition at line 64 of file Esp32AdcOneShot.hxx.

◆ hw_set_to_safe()

template<class Defs >
static void Esp32ADCInput< Defs >::hw_set_to_safe ( )
inlinestatic

NO-OP.

Definition at line 95 of file Esp32AdcOneShot.hxx.

◆ sample()

template<class Defs >
static int Esp32ADCInput< Defs >::sample ( )
inlinestatic

Definition at line 106 of file Esp32AdcOneShot.hxx.

◆ set()

template<class Defs >
static void Esp32ADCInput< Defs >::set ( bool  value)
inlinestatic

NO-OP.

Definition at line 101 of file Esp32AdcOneShot.hxx.


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