Test arduino code
Fork of ArduinoHAL by
wiring_private.h@4:40396527a068, 2011-06-04 (annotated)
- Committer:
- rbohne
- Date:
- Sat Jun 04 20:16:04 2011 +0000
- Revision:
- 4:40396527a068
- Parent:
- 3:d0f535da303e
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
rbohne | 2:7e1ff33bc76a | 1 | /* |
rbohne | 2:7e1ff33bc76a | 2 | wiring_private.h - Internal header file. |
rbohne | 2:7e1ff33bc76a | 3 | Part of Arduino - http://www.arduino.cc/ |
rbohne | 2:7e1ff33bc76a | 4 | |
rbohne | 2:7e1ff33bc76a | 5 | Copyright (c) 2005-2006 David A. Mellis |
rbohne | 2:7e1ff33bc76a | 6 | |
rbohne | 2:7e1ff33bc76a | 7 | This library is free software; you can redistribute it and/or |
rbohne | 2:7e1ff33bc76a | 8 | modify it under the terms of the GNU Lesser General Public |
rbohne | 2:7e1ff33bc76a | 9 | License as published by the Free Software Foundation; either |
rbohne | 2:7e1ff33bc76a | 10 | version 2.1 of the License, or (at your option) any later version. |
rbohne | 2:7e1ff33bc76a | 11 | |
rbohne | 2:7e1ff33bc76a | 12 | This library is distributed in the hope that it will be useful, |
rbohne | 2:7e1ff33bc76a | 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
rbohne | 2:7e1ff33bc76a | 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
rbohne | 2:7e1ff33bc76a | 15 | Lesser General Public License for more details. |
rbohne | 2:7e1ff33bc76a | 16 | |
rbohne | 2:7e1ff33bc76a | 17 | You should have received a copy of the GNU Lesser General |
rbohne | 2:7e1ff33bc76a | 18 | Public License along with this library; if not, write to the |
rbohne | 2:7e1ff33bc76a | 19 | Free Software Foundation, Inc., 59 Temple Place, Suite 330, |
rbohne | 2:7e1ff33bc76a | 20 | Boston, MA 02111-1307 USA |
rbohne | 2:7e1ff33bc76a | 21 | |
rbohne | 2:7e1ff33bc76a | 22 | $Id: wiring.h 239 2007-01-12 17:58:39Z mellis $ |
rbohne | 2:7e1ff33bc76a | 23 | */ |
rbohne | 2:7e1ff33bc76a | 24 | |
rbohne | 2:7e1ff33bc76a | 25 | #ifndef WiringPrivate_h |
rbohne | 2:7e1ff33bc76a | 26 | #define WiringPrivate_h |
rbohne | 2:7e1ff33bc76a | 27 | |
rbohne | 2:7e1ff33bc76a | 28 | #include "wiring.h" |
rbohne | 2:7e1ff33bc76a | 29 | |
rbohne | 2:7e1ff33bc76a | 30 | #ifndef cbi |
rbohne | 2:7e1ff33bc76a | 31 | #define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit)) |
rbohne | 2:7e1ff33bc76a | 32 | #endif |
rbohne | 2:7e1ff33bc76a | 33 | #ifndef sbi |
rbohne | 2:7e1ff33bc76a | 34 | #define sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit)) |
rbohne | 2:7e1ff33bc76a | 35 | #endif |
rbohne | 2:7e1ff33bc76a | 36 | |
rbohne | 2:7e1ff33bc76a | 37 | |
rbohne | 2:7e1ff33bc76a | 38 | #endif |