A class for input pin operations.
More...
#include <digitalPin.h>
A class for input pin operations.
Call setPin() to initialize the pin, then call isPinHigh() to check if the pin is set high.
- Note
- Must have same signature as fastInputPin_t to allow for interchangeable use.
◆ isPinHigh()
| bool digitalPin_t::isPinHigh |
( |
void |
| ) |
const |
|
noexcept |
Check if the pin is set high.
◆ isPinLow()
| bool digitalPin_t::isPinLow |
( |
void |
| ) |
const |
|
inlinenoexcept |
Check if the pin is set low.
◆ isValid()
| bool digitalPin_t::isValid |
( |
void |
| ) |
const |
|
inline |
◆ setPin()
| void digitalPin_t::setPin |
( |
uint8_t |
pin, |
|
|
uint8_t |
mode |
|
) |
| |
|
noexcept |
◆ setPinHigh()
| void digitalPin_t::setPinHigh |
( |
void |
| ) |
|
|
noexcept |
◆ setPinLow()
| void digitalPin_t::setPinLow |
( |
void |
| ) |
|
|
noexcept |
The documentation for this class was generated from the following files: