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) 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. 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
inlinenoexcept

Is the pin set?

Here is the call graph for this function:

◆ setPin()

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

Set the output pin.

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

◆ setPinHigh()

void outputPin_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 outputPin_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: