|
| enum | Flag : uint8_t { IsSet = 1 << 0
, PullUp = 1 << 1
, ActiveHigh = 1 << 2
} |
|
|
| IoPin (int pin, Base *io=nullptr) |
|
bool | isSet () const |
|
void | setIsSet (bool value) |
|
int | getPin () const |
|
void | setPin (int value) |
|
bool | isPullUp () const |
|
void | setPullUp (bool value) |
|
bool | isActiveHigh () const |
|
void | setActiveHigh (bool value) |
|
void | setMode (uint8_t value) |
|
uint8_t | getMode () const |
|
void | setAnalogOutputResolutionBits (uint8_t resolutionBits) |
|
void | setAnalogOutputFrequency (uint32_t frequencyHz) |
|
void | configureAnalogOutput (int channelNumber=-1) const |
|
void | pinMode (int channelNumber=-1) const |
|
int | digitalRead (int channelNumber=-1) const |
|
void | digitalWrite (uint8_t value, int channelNumber=-1) const |
|
void | analogWrite (int value, int channelNumber=-1) const |
|
uint8_t | analogWriteResolutionBits () const |
|
uint32_t | analogWriteMaxValue () const |
|
void | writeActive (int channelNumber=-1) const |
|
void | writeInactive (int channelNumber=-1) const |
|
bool | readActive (int channelNumber=-1) const |
|
|
uint8_t | pin = 0 |
|
uint8_t | flags = ActiveHigh |
|
uint8_t | mode = 0 |
|
uint8_t | analogWriteResolutionBitsValue = 0 |
|
Base * | io = nullptr |
The documentation for this struct was generated from the following files:
- src/supla/io.h
- src/supla/io.cpp