avr-classes
Public Member Functions | List of all members
InputPort Class Referenceabstract

#include <inputport.h>

Inheritance diagram for InputPort:
GpioPort VirtualInputPort PortA PortB PortC PortD

Public Member Functions

virtual uint8_t getValue (void) const =0
 

Detailed Description

Interface for 8 bit input ports.

Member Function Documentation

◆ getValue()

virtual uint8_t InputPort::getValue ( void  ) const
pure virtual

Get value being represented by a set of individual pins.

Returns
Value read from port.

Implemented in VirtualInputPort, PortA, PortB, PortC, and PortD.