Speeduino
Loading...
Searching...
No Matches
Public Member Functions | List of all members
invertableOutputPinAdaper_t< TPin > Class Template Reference

An output pin that, optionally, can be have it's state inverted. More...

#include <invertableOutputPin.h>

Inheritance diagram for invertableOutputPinAdaper_t< TPin >:

Public Member Functions

void setInverted (bool isInverted)
 Set the inversion behavior.
 
void setPinHigh (void) noexcept
 Set the pin high.
 
void setPinLow (void) noexcept
 Set the pin low.
 

Detailed Description

template<class TPin>
class invertableOutputPinAdaper_t< TPin >

An output pin that, optionally, can be have it's state inverted.

Convention is that setting the pin high is the "on" state. This class inverts that convention.

Member Function Documentation

◆ setInverted()

template<class TPin >
void invertableOutputPinAdaper_t< TPin >::setInverted ( bool  isInverted)
inline

Set the inversion behavior.

◆ setPinHigh()

template<class TPin >
void invertableOutputPinAdaper_t< TPin >::setPinHigh ( void  )
inlinenoexcept

Set the pin high.

◆ setPinLow()

template<class TPin >
void invertableOutputPinAdaper_t< TPin >::setPinLow ( void  )
inlinenoexcept

Set the pin low.


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