#include "ExtendedIOElement.hpp"
#include <Arduino.h>
Go to the source code of this file.
|
| ExtIO |
| A namespace with alternatives to the standard Arduino IO functions that can be used with extended IO pin numbers.
|
|
|
#define | EXT_PIN(x) (x + NUM_DIGITAL_PINS + NUM_ANALOG_INPUTS) |
|
|
ExtendedIOElement & | ExtIO::getIOElementOfPin (pin_t pin) |
| Find the IO element of a given extended IO pin number. More...
|
|
void | ExtIO::pinMode (pin_t pin, uint8_t mode) |
| An ExtIO version of the Arduino function. More...
|
|
void | ExtIO::pinMode (int pin, uint8_t mode) |
| An ExtIO version of the Arduino function. More...
|
|
void | ExtIO::digitalWrite (pin_t pin, uint8_t val) |
| An ExtIO version of the Arduino function. More...
|
|
void | ExtIO::digitalWrite (int pin, uint8_t val) |
| An ExtIO version of the Arduino function. More...
|
|
int | ExtIO::digitalRead (pin_t pin) |
| An ExtIO version of the Arduino function. More...
|
|
int | ExtIO::digitalRead (int pin) |
| An ExtIO version of the Arduino function. More...
|
|
void | ExtIO::shiftOut (pin_t dataPin, pin_t clockPin, uint8_t bitOrder, uint8_t val) |
| An ExtIO version of the Arduino function. More...
|
|
void | ExtIO::shiftOut (int dataPin, int clockPin, uint8_t bitOrder, uint8_t val) |
| An ExtIO version of the Arduino function. More...
|
|
analog_t | ExtIO::analogRead (pin_t pin) |
| An ExtIO version of the Arduino function. More...
|
|
analog_t | ExtIO::analogRead (int pin) |
| An ExtIO version of the Arduino function. More...
|
|
◆ EXT_PIN
#define EXT_PIN |
( |
|
x | ) |
(x + NUM_DIGITAL_PINS + NUM_ANALOG_INPUTS) |
◆ tmp_HIGH
const static uint8_t tmp_HIGH = HIGH |
|
static |
◆ tmp_LOW
const static uint8_t tmp_LOW = LOW |
|
static |
◆ tmp_INPUT
const static uint8_t tmp_INPUT = INPUT |
|
static |
◆ tmp_OUTPUT
const static uint8_t tmp_OUTPUT = OUTPUT |
|
static |
◆ tmp_INPUT_PULLUP
◆ HIGH
◆ LOW
◆ INPUT
◆ OUTPUT
◆ INPUT_PULLUP