A namespace with alternatives to the standard Arduino IO functions that can be used with extended IO pin numbers. More...
Functions | |
template<class T > | |
bool | inRange (T target, T start, T end) |
ExtendedIOElement & | getIOElementOfPin (pin_t pin) |
Find the IO element of a given extended IO pin number. More... | |
void | pinMode (pin_t pin, uint8_t mode) |
An ExtIO version of the Arduino function. More... | |
void | pinMode (int pin, uint8_t mode) |
An ExtIO version of the Arduino function. More... | |
void | digitalWrite (pin_t pin, uint8_t val) |
An ExtIO version of the Arduino function. More... | |
void | digitalWrite (int pin, uint8_t val) |
An ExtIO version of the Arduino function. More... | |
int | digitalRead (pin_t pin) |
An ExtIO version of the Arduino function. More... | |
int | digitalRead (int pin) |
An ExtIO version of the Arduino function. More... | |
void | shiftOut (pin_t dataPin, pin_t clockPin, uint8_t bitOrder, uint8_t val) |
An ExtIO version of the Arduino function. More... | |
void | shiftOut (int dataPin, int clockPin, uint8_t bitOrder, uint8_t val) |
An ExtIO version of the Arduino function. More... | |
analog_t | analogRead (pin_t pin) |
An ExtIO version of the Arduino function. More... | |
analog_t | analogRead (int pin) |
An ExtIO version of the Arduino function. More... | |
void | analogWrite (pin_t pin, analog_t val) |
An ExtIO version of the Arduino function. More... | |
void | analogWrite (int pin, analog_t val) |
An ExtIO version of the Arduino function. More... | |
void | analogWrite (int pin, int val) |
An ExtIO version of the Arduino function. More... | |
void | analogWrite (pin_t pin, int val) |
An ExtIO version of the Arduino function. More... | |
A namespace with alternatives to the standard Arduino IO functions that can be used with extended IO pin numbers.
bool AH::ExtIO::inRange | ( | T | target, |
T | start, | ||
T | end | ||
) |
Definition at line 13 of file ExtendedInputOutput.cpp.
ExtendedIOElement & getIOElementOfPin | ( | pin_t | pin | ) |
Find the IO element of a given extended IO pin number.
pin | The extended IO pin number to find the IO element of. |
Definition at line 17 of file ExtendedInputOutput.cpp.
void pinMode | ( | pin_t | pin, |
uint8_t | mode | ||
) |
An ExtIO version of the Arduino function.
Definition at line 36 of file ExtendedInputOutput.cpp.
void pinMode | ( | int | pin, |
uint8_t | mode | ||
) |
An ExtIO version of the Arduino function.
Definition at line 46 of file ExtendedInputOutput.cpp.
void digitalWrite | ( | pin_t | pin, |
uint8_t | val | ||
) |
An ExtIO version of the Arduino function.
Definition at line 48 of file ExtendedInputOutput.cpp.
void digitalWrite | ( | int | pin, |
uint8_t | val | ||
) |
An ExtIO version of the Arduino function.
Definition at line 58 of file ExtendedInputOutput.cpp.
int digitalRead | ( | pin_t | pin | ) |
An ExtIO version of the Arduino function.
Definition at line 60 of file ExtendedInputOutput.cpp.
int digitalRead | ( | int | pin | ) |
An ExtIO version of the Arduino function.
Definition at line 71 of file ExtendedInputOutput.cpp.
An ExtIO version of the Arduino function.
Definition at line 73 of file ExtendedInputOutput.cpp.
void shiftOut | ( | int | dataPin, |
int | clockPin, | ||
uint8_t | bitOrder, | ||
uint8_t | val | ||
) |
An ExtIO version of the Arduino function.
Definition at line 86 of file ExtendedInputOutput.cpp.
An ExtIO version of the Arduino function.
Definition at line 90 of file ExtendedInputOutput.cpp.
analog_t analogRead | ( | int | pin | ) |
An ExtIO version of the Arduino function.
Definition at line 101 of file ExtendedInputOutput.cpp.
An ExtIO version of the Arduino function.
Definition at line 103 of file ExtendedInputOutput.cpp.
void analogWrite | ( | int | pin, |
analog_t | val | ||
) |
An ExtIO version of the Arduino function.
Definition at line 116 of file ExtendedInputOutput.cpp.
void analogWrite | ( | int | pin, |
int | val | ||
) |
An ExtIO version of the Arduino function.
Definition at line 117 of file ExtendedInputOutput.cpp.
void analogWrite | ( | pin_t | pin, |
int | val | ||
) |
An ExtIO version of the Arduino function.
Definition at line 118 of file ExtendedInputOutput.cpp.