Arduino KVComm
master
Key-Value pair communication library for Arduino
|
#include <AH/Settings/Warnings.hpp>
#include <AH/Settings/NamespaceSettings.hpp>
#include <AH/Arduino-Wrapper.h>
#include <AH/Hardware/Hardware-Types.hpp>
Go to the source code of this file.
Namespaces | |
AH | |
AH::detail | |
AH::ExtIO | |
A namespace with alternatives to the standard Arduino IO functions that can be used with extended IO pin numbers. | |
Macros | |
#define | AH_EXT_PIN(x) (x + NUM_DIGITAL_PINS + NUM_ANALOG_INPUTS) |
Typedefs | |
using | PinStatus_t = uint8_t |
using | PinMode_t = uint8_t |
using | BitOrder_t = uint8_t |
Functions | |
ExtendedIOElement & | getIOElementOfPin (pin_t pin) |
Find the IO element of a given extended IO pin number. More... | |
void | pinMode (pin_t pin, PinMode_t mode) |
An ExtIO version of the Arduino function. More... | |
void | pinMode (int pin, PinMode_t mode) |
An ExtIO version of the Arduino function. More... | |
void | digitalWrite (pin_t pin, PinStatus_t val) |
An ExtIO version of the Arduino function. More... | |
void | digitalWrite (int pin, PinStatus_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, BitOrder_t bitOrder, uint8_t val) |
An ExtIO version of the Arduino function. More... | |
void | shiftOut (int dataPin, int clockPin, BitOrder_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... | |
Variables | |
constexpr static auto | tmp_HIGH = HIGH |
constexpr static auto | tmp_LOW = LOW |
constexpr static auto | tmp_INPUT = INPUT |
constexpr static auto | tmp_OUTPUT = OUTPUT |
constexpr static auto | tmp_INPUT_PULLUP = INPUT_PULLUP |
const PinStatus_t | HIGH = AH::detail::tmp_HIGH |
const PinStatus_t | LOW = AH::detail::tmp_LOW |
const PinMode_t | INPUT = AH::detail::tmp_INPUT |
const PinMode_t | OUTPUT = AH::detail::tmp_OUTPUT |
const PinMode_t | INPUT_PULLUP = AH::detail::tmp_INPUT_PULLUP |
#define AH_EXT_PIN | ( | x | ) | (x + NUM_DIGITAL_PINS + NUM_ANALOG_INPUTS) |
Definition at line 18 of file ExtendedInputOutput.hpp.
using PinStatus_t = uint8_t |
Definition at line 48 of file ExtendedInputOutput.hpp.
using PinMode_t = uint8_t |
Definition at line 49 of file ExtendedInputOutput.hpp.
using BitOrder_t = uint8_t |
Definition at line 53 of file ExtendedInputOutput.hpp.
const PinStatus_t HIGH = AH::detail::tmp_HIGH |
Definition at line 56 of file ExtendedInputOutput.hpp.
const PinStatus_t LOW = AH::detail::tmp_LOW |
Definition at line 57 of file ExtendedInputOutput.hpp.
const PinMode_t INPUT = AH::detail::tmp_INPUT |
Definition at line 59 of file ExtendedInputOutput.hpp.
const PinMode_t OUTPUT = AH::detail::tmp_OUTPUT |
Definition at line 60 of file ExtendedInputOutput.hpp.
const PinMode_t INPUT_PULLUP = AH::detail::tmp_INPUT_PULLUP |
Definition at line 61 of file ExtendedInputOutput.hpp.