?lang_form? ?lang_select? ?lang_submit? ?lang_endform?
{HEADER END}
{BLAME START}

library

?curdirlinks? -

Blame information for rev 6

Line No. Rev Author Line
1 6 kaklik /*! \file enc28j60conf.h \brief Microchip ENC28J60 Ethernet Interface Driver Configuration. */
2 //*****************************************************************************
3 //
4 // File Name : 'enc28j60conf.h'
5 // Title : Microchip ENC28J60 Ethernet Interface Driver Configuration
6 // Author : Pascal Stang
7 // Created : 10/5/2004
8 // Revised : 8/22/2005
9 // Version : 0.1
10 // Target MCU : Atmel AVR series
11 // Editor Tabs : 4
12 //
13 // Description : This driver provides initialization and transmit/receive
14 // functions for the ENC28J60 10Mb Ethernet Controller and PHY.
15 //
16 // This code is distributed under the GNU Public License
17 // which can be found at http://www.gnu.org/licenses/gpl.txt
18 //
19 //*****************************************************************************
20  
21 #ifndef ENC28J60CONF_H
22 #define ENC28J60CONF_H
23  
24 // ENC28J60 SPI port
25 #define ENC28J60_SPI_PORT PORTB
26 #define ENC28J60_SPI_DDR DDRB
27 #define ENC28J60_SPI_SCK 7
28 #define ENC28J60_SPI_MOSI 5
29 #define ENC28J60_SPI_MISO 6
30 #define ENC28J60_SPI_SS 4
31 // ENC28J60 control port
32 #define ENC28J60_CONTROL_PORT PORTB
33 #define ENC28J60_CONTROL_DDR DDRB
34 #define ENC28J60_CONTROL_CS 4
35  
36 // MAC address for this interface
37 #ifdef ETHADDR0
38 #define ENC28J60_MAC0 ETHADDR0
39 #define ENC28J60_MAC1 ETHADDR1
40 #define ENC28J60_MAC2 ETHADDR2
41 #define ENC28J60_MAC3 ETHADDR3
42 #define ENC28J60_MAC4 ETHADDR4
43 #define ENC28J60_MAC5 ETHADDR5
44 #else
45 #define ENC28J60_MAC0 '0'
46 #define ENC28J60_MAC1 'F'
47 #define ENC28J60_MAC2 'F'
48 #define ENC28J60_MAC3 'I'
49 #define ENC28J60_MAC4 'C'
50 #define ENC28J60_MAC5 'E'
51 #endif
52  
53 #endif
{BLAME END}
{FOOTER START}

Powered by WebSVN v2.8.3