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)
 Set the output pin.
 
void setPinHigh (void)
 Set the pin high.
 
void setPinLow (void)
 Set the pin low.
 
bool isValid (void) const
 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
inline

Is the pin set?

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

◆ setPin()

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

Set the output pin.

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

◆ setPinHigh()

void fastOutputPin_t::setPinHigh ( void  )

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  )

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 files: