Speeduino
Loading...
Searching...
No Matches
Public Member Functions | List of all members
fastOutputPin_t Class Reference

A class for output pin operations that is faster than standard Arduino digitalWrite() More...

#include <fastOutputPin.h>

Public Member Functions

void setPin (uint8_t pin, uint8_t mode=OUTPUT) noexcept
 Set the output pin.
 
void setPinHigh (void) noexcept
 Set the pin high.
 
void setPinLow (void) noexcept
 Set the pin low.
 
bool isValid (void) const noexcept
 Is the pin set?
 

Detailed Description

A class for output pin operations that is faster than standard Arduino digitalWrite()

Call setPin() to initialize the pin, then call setPinHigh() to set the pin high.

Member Function Documentation

◆ isValid()

bool fastOutputPin_t::isValid ( void  ) const
inlinenoexcept

Is the pin set?

Here is the call graph for this function:

◆ setPin()

void fastOutputPin_t::setPin ( uint8_t  pin,
uint8_t  mode = OUTPUT 
)
inlinenoexcept

Set the output pin.

Here is the caller graph for this function:

◆ setPinHigh()

void fastOutputPin_t::setPinHigh ( void  )
inlinenoexcept

Set the pin high.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPinLow()

void fastOutputPin_t::setPinLow ( void  )
inlinenoexcept

Set the pin low.

Here is the call graph for this function:
Here is the caller graph for this function:

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