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

A class for output pin operations. Must have same signature as fastOutputPin_t to allow for interchangeable use. More...

#include <outputPin.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. Must have same signature as fastOutputPin_t to allow for interchangeable use.

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

Member Function Documentation

◆ isValid()

bool outputPin_t::isValid ( void  ) const
inline

Is the pin set?

Here is the caller graph for this function:

◆ setPin()

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

Set the output pin.

Here is the call graph for this function:

◆ setPinHigh()

void outputPin_t::setPinHigh ( void  )

Set the pin high.

Here is the call graph for this function:

◆ setPinLow()

void outputPin_t::setPinLow ( void  )

Set the pin low.

Here is the call graph for this function:

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