Pico-Arduino
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
pico_arduino::PinSetupADC Class Reference

Pin Initialization for ADC. More...

#include <PicoPinFunction.h>

Inheritance diagram for pico_arduino::PinSetupADC:
pico_arduino::PinSetup

Public Member Functions

bool adcSelect (int adc)
 select the ADC if it has been changed
 
bool initADC ()
 calls adc_init() if necessary - returns true if it has been intialized (the first time)
 
virtual void setupPin (PinInfo *info, pin_size_t pinNumber)
 
virtual bool usePin (PinInfo *info, pin_size_t pinNumber)
 

Static Public Member Functions

static PinSetupADCinstance ()
 

Protected Attributes

bool adc_init_flag = false
 
int current_adc
 

Detailed Description

Pin Initialization for ADC.

Author
Phil Schatzmann

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