Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (34 sloc) 1.418 kb
/*
* This file is part of oniudra-headers.
*
* oniudra-headers is free software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of
* the License, or(at your option) any later version.
*
* oniudra-headers is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with oniudra-headers. If not, see <http://www.gnu.org/licenses/>.
*/
#if defined(__AVR_ATmega8__)
# error "arduino/timer2.h: Not implemented for ATmega8 chips yet"
#elif defined(__AVR_ATmega168__) \
|| defined(__AVR_ATmega328P__)
# include <arduino/ATmegaX8/timer2.h>
#elif defined(__AVR_ATmega1280__)
# error "arduino/timer2.h: Not implemented for ATmega1280 chips yet"
#elif defined(__AVR_ATtiny25__) \
|| defined(__AVR_ATtiny45__) \
|| defined(__AVR_ATtiny85__)
# error "arduino/timer2.h: Not available on ATtiny25/45/85 chips"
#elif defined(__AVR_ATmega8U2__) \
|| defined(__AVR_ATmega16U2__) \
|| defined(__AVR_ATmega32U2__)
# error "arduino/timer2.h: Not available on ATmega8U2/16U2/32U2 chips"
#else
# error "arduino/timer2.h: Unknown chip type"
#endif
Jump to Line
Something went wrong with that request. Please try again.