version 0.1 written by Akiba, taken from here:
[chibi.git] / freakusb / hw / at90usbxx2 / hw.h
blobcedbf66e28b9d56a7f8d5ebd832d066762c6d2ac
1 /*******************************************************************
2 Copyright (C) 2008 FreakLabs
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License along
15 with this program; if not, write to the Free Software Foundation, Inc.,
16 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 Please post support questions to the FreakLabs forum.
19 *******************************************************************/
20 /*!
21 \file hw.h
22 \ingroup hw_at90usb
24 /*******************************************************************/
25 #ifndef HW_H
26 #define HW_H
28 void hw_init();
29 void hw_intp_disable();
30 void hw_intp_enable();
31 U8 hw_flash_get_byte(U8 *addr);
33 #endif