FastArduino v1.10
C++ library to build fast but small Arduino/AVR projects
|
Defines all types and constants specific to support a specific MCU target. More...
Enumerations | |
enum class | Port : uint8_t |
Defines all available ports of the target MCU. More... | |
enum class | DigitalPin : uint8_t |
Defines all available digital input/output pins of the target MCU. More... | |
enum class | AnalogClock : uint8_t |
Defines available clocks of the target MCU, used for analog input. More... | |
enum class | AnalogReference : uint8_t |
Defines available voltage references of the target MCU, used for analog input. More... | |
enum class | AnalogPin : uint8_t |
Defines all available analog input pins of the target MCU. More... | |
enum class | PWMPin : uint8_t |
Defines all digital output pins of target MCU, capable of PWM output. More... | |
enum class | ExternalInterruptPin : uint8_t |
Defines all digital output pins of target MCU, usable as direct external interrupt pins. More... | |
enum class | InterruptPin : uint8_t |
Defines all digital output pins of target MCU, usable as pin change interrupt (PCI) pins. More... | |
enum class | USART : uint8_t |
Defines all USART modules of target MCU. More... | |
enum class | Timer : uint8_t |
Defines all timers available for target MCU. More... | |
enum class | SleepMode : uint8_t |
Defines all available sleep modes for target MCU. More... | |
Functions | |
static void | init () |
Performs special initialization for the target MCU. More... | |
template<DigitalPin PIN> | |
constexpr uint8_t | BIT () |
Determine the bit position, inside its IO port, of the given DigitalPin . More... | |
template<DigitalPin PIN> | |
constexpr uint8_t | MASK () |
Determine the bit mask representing the given DigitalPin inside its port. More... | |
template<ExternalInterruptPin EXT> | |
constexpr DigitalPin | EXT_PIN () |
Convert an ExternalInterruptPin to the matching DigitalPin . More... | |
template<InterruptPin PCI> | |
constexpr DigitalPin | PCI_PIN () |
Convert an InterruptPin to the matching DigitalPin . More... | |
template<PWMPin PWM> | |
constexpr DigitalPin | PWM_PIN () |
Convert an PWMPin to the matching DigitalPin . More... | |
Defines all types and constants specific to support a specific MCU target.
This serves only as an example here; for actual targets, refer to proper header files in board
directory, or refer refer to specific targets support section.
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
inlinestatic |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |