libkipr  1.0.0
kipr::analog::Analog Class Reference

#include <analog.hpp>

Inheritance diagram for kipr::analog::Analog:
Collaboration diagram for kipr::analog::Analog:

Public Member Functions

 Analog (unsigned char port)
 
virtual ~Analog ()
 
virtual unsigned short value () const
 
virtual void setPullup (bool pullup)
 
bool pullup () const
 
unsigned char port () const
 
- Public Member Functions inherited from kipr::sensor::Sensor< unsigned short >
virtual ~Sensor ()
 

Constructor & Destructor Documentation

◆ Analog()

kipr::analog::Analog::Analog ( unsigned char  port)

◆ ~Analog()

virtual kipr::analog::Analog::~Analog ( )
virtual

Member Function Documentation

◆ port()

unsigned char kipr::analog::Analog::port ( ) const

◆ pullup()

bool kipr::analog::Analog::pullup ( ) const

◆ setPullup()

virtual void kipr::analog::Analog::setPullup ( bool  pullup)
virtual

◆ value()

virtual unsigned short kipr::analog::Analog::value ( ) const
virtual

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