Changeset 12 for webserver/example/EasyWEB/tcpip.c
- Timestamp:
- 06/14/09 08:54:46 (15 years ago)
- Files:
-
- webserver/example/EasyWEB/tcpip.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
webserver/example/EasyWEB/tcpip.c
r10 r12 18 18 #include <LPC23xx.h> 19 19 20 21 #define TIMER0_IRQ 4 22 23 24 20 25 const unsigned char MyMAC[6] = // "M1-M2-M3-M4-M5-M6" 21 26 { … … 33 38 T0MCR = 3; // Interrupt and Reset on MR0 34 39 T0TCR = 1; // Timer0 Enable 35 //VICVectAddr4 = (unsigned int)&TCPClockHandler; // set interrupt vector in 4 36 //VICIntEnable = 0x00000010; // Enable Timer0 Interrupt 37 40 VICVectAddr4 = (unsigned int)TCPClockHandler; // set interrupt vector in 4 41 VICIntEnable = 0x00000010; // Enable Timer0 Interrupt 42 43 __ARMLIB_enableIRQ(); /* Enable IRQs (CrossWorks Compiler) */ 44 45 46 47 38 48 Init_EMAC(); 39 49 TransmitControl = 0;