FastArduino  v1.7
C++ library to build fast but small Arduino/AVR projects
empty.h
Go to the documentation of this file.
1 // Copyright 2016-2021 Jean-Francois Poilpret
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
16 
25 #ifndef BOARDS_EMPTY_HH
26 #define BOARDS_EMPTY_HH
27 
28 #include "io.h"
29 #include <avr/sleep.h>
30 
37 namespace board
38 {
43  inline static void init() {}
44 
48  enum class Port : uint8_t
49  {
50  };
51 
55  enum class DigitalPin : uint8_t
56  {
57  };
58 
62  enum class AnalogClock : uint8_t
63  {
64  };
65 
69  enum class AnalogReference : uint8_t
70  {
71  };
72 
76  enum class AnalogPin : uint8_t
77  {
78  };
79 
83  enum class PWMPin : uint8_t
84  {
85  };
86 
90  enum class ExternalInterruptPin : uint8_t
91  {
92  };
93 
97  enum class InterruptPin : uint8_t
98  {
99  };
100 
104  enum class USART : uint8_t
105  {
106  };
107 
111  enum class Timer : uint8_t
112  {
113  };
114 
118  enum class SleepMode : uint8_t
119  {
120  };
121 };
122 
123 #endif /* BOARDS_EMPTY_HH */
124 
board::Timer
Timer
Defines all timers available for ATmega644.
Definition: atmega_xx4.h:316
board::AnalogPin
AnalogPin
Defines all available analog input pins of ATmega644, with reference to Arduino MEGA pins.
Definition: atmega_xx4.h:187
board::AnalogReference
AnalogReference
Defines available voltage references of ATmega644, used for analog input.
Definition: atmega_xx4.h:167
board::ExternalInterruptPin
ExternalInterruptPin
Defines all digital output pins of ATmega644, usable as direct external interrupt pins.
Definition: atmega_xx4.h:244
board::USART
USART
Defines all USART modules of ATmega644.
Definition: atmega_xx4.h:305
board::init
static void init()
Performs special initialization for ATmega644, actually nothing at all.
Definition: atmega_xx4.h:49
board::PWMPin
PWMPin
Defines all digital output pins of ATmega644, capable of PWM output.
Definition: atmega_xx4.h:219
board
Defines all types and constants specific to support Arduino MEGA board (ATmega644 MCU target).
Definition: atmega_xx4.h:39
board::SleepMode
SleepMode
Defines all available sleep modes for ATmega644.
Definition: atmega_xx4.h:333
board::InterruptPin
InterruptPin
Defines all digital output pins of ATmega644, usable as pin change interrupt (PCI) pins.
Definition: atmega_xx4.h:259
board::Port
Port
Defines all available ports of ATmega644.
Definition: atmega_xx4.h:55
board::AnalogClock
AnalogClock
Defines available clocks of ATmega644, used for analog input.
Definition: atmega_xx4.h:155
board::DigitalPin
DigitalPin
Defines all available digital input/output pins of ATmega644, with reference to Arduino MEGA pins.
Definition: atmega_xx4.h:76