FastArduino v1.10
C++ library to build fast but small Arduino/AVR projects
|
Defines all API to manipulate general-purpose digital input/output pins. More...
Classes | |
class | FastMaskedPort |
API that manipulates a part of a digital IO port. More... | |
class | FastPin |
API that manipulates one digital IO pin of a given port. More... | |
class | FastPinType |
API that manipulates a given digital IO pin of a the target MCU. More... | |
class | FastPort |
API that manipulates a whole digital IO port. More... | |
Typedefs | |
template<board::DigitalPin DPIN_> | |
using | FAST_PIN = typename FastPinType< DPIN_ >::TYPE |
Useful alias type to the FastPin type matching a given board::DigitalPin . More... | |
template<board::InterruptPin IPIN_> | |
using | FAST_INT_PIN = typename FastPinType< board::PCI_PIN< IPIN_ >()>::TYPE |
Useful alias type to the FastPin type matching a given board::InterruptPin . More... | |
template<board::ExternalInterruptPin EPIN_> | |
using | FAST_EXT_PIN = typename FastPinType< board::EXT_PIN< EPIN_ >()>::TYPE |
Useful alias type to the FastPin type matching a given board::ExternalInterruptPin . More... | |
Enumerations | |
enum class | PinMode : uint8_t { INPUT , INPUT_PULLUP , OUTPUT } |
Defines the configurable mode of a digital IO pin. More... | |
Defines all API to manipulate general-purpose digital input/output pins.
using gpio::FAST_PIN = typedef typename FastPinType<DPIN_>::TYPE |
Useful alias type to the FastPin
type matching a given board::DigitalPin
.
The following snippet demonstrates usage of FAST_PIN
to declare a FastPin
instance for later use in a function:
using gpio::FAST_INT_PIN = typedef typename FastPinType<board::PCI_PIN<IPIN_>()>::TYPE |
Useful alias type to the FastPin
type matching a given board::InterruptPin
.
The following snippet demonstrates usage of FAST_INT_PIN
to declare a FastPin
instance for later use in a function:
using gpio::FAST_EXT_PIN = typedef typename FastPinType<board::EXT_PIN<EPIN_>()>::TYPE |
Useful alias type to the FastPin
type matching a given board::ExternalInterruptPin
.
The following snippet demonstrates usage of FAST_EXT_PIN
to declare a FastPin
instance for later use in a function:
|
strong |