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

#include <outputport.h>

Inheritance diagram for OutputPort:
GpioPort OutputShiftRegisterPort VirtualOutputPort PortA PortB PortC PortD OutputShiftRegisterPortWithLatch

Public Member Functions

virtual void setValue (uint8_t value, uint8_t mask=0xff)=0
 

Detailed Description

Interface for 8 bit output ports.

Member Function Documentation

◆ setValue()

virtual void OutputPort::setValue ( uint8_t  value,
uint8_t  mask = 0xff 
)
pure virtual

Set value being represented by a set of individual pins.

Parameters
valueValue to be set.
maskMask with pins to manipulate according to value.

Implemented in OutputShiftRegisterPort, VirtualOutputPort, PortA, PortB, PortC, and PortD.