2 * Copyright Droids Corporation, Microb Technology, Eirbot (2005)
\r
4 * This program is free software; you can redistribute it and/or modify
\r
5 * it under the terms of the GNU General Public License as published by
\r
6 * the Free Software Foundation; either version 2 of the License, or
\r
7 * (at your option) any later version.
\r
9 * This program is distributed in the hope that it will be useful,
\r
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
12 * GNU General Public License for more details.
\r
14 * You should have received a copy of the GNU General Public License
\r
15 * along with this program; if not, write to the Free Software
\r
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
\r
18 * Revision : $Id: mf2_client_config.h,v 1.1.2.1 2006-11-30 21:59:07 zer0 Exp $
\r
22 #ifndef MF2_CLIENT_CONFIG_H
\r
23 #define MF2_CLIENT_CONFIG_H
\r
25 #define MF2_CLIENT_DATA_PORT PORTB
\r
26 #define MF2_CLIENT_DATA_BIT 0
\r
28 /* MF2 clk should be an external interrupt pin */
\r
29 #define MF2_CLIENT_CLK_PORT PORTE
\r
30 #define MF2_CLIENT_CLK_BIT 4
\r
32 #define MF2_CLIENT_INTERRUPT SIG_INTERRUPT4
\r
33 #define MF2_CLIENT_INT_REG EICRB
\r
34 #define MF2_CLIENT_INT_BIT0 ISC40
\r
35 #define MF2_CLIENT_INT_BIT1 ISC41
\r
36 #define MF2_CLIENT_IMASK EIMSK
\r
37 #define MF2_CLIENT_IFLAG EIFR
\r
38 #define MF2_CLIENT_IMASK_BIT 4
\r