IC693MDL646 |
IC693MDL646 |
IC693MDL646 |
以太網(wǎng)硬件初始化、與硬件密切相關(guān)的數(shù)據(jù)接收、發(fā)送函數(shù)
雖然Adam為便于lwIP協(xié)議棧的移植做了大量的工作,但因為網(wǎng)卡的多樣性和新網(wǎng)卡的不斷出現(xiàn),Adam不可能為每一個網(wǎng)卡都寫一個驅(qū)動。因此,與網(wǎng)卡硬件相關(guān)的代碼就留給程序員來編寫了。其實Adam在lwIP協(xié)議棧中已經(jīng)寫好了一個與硬件密切相關(guān)的移植代碼框架,它位于lwIP-1.3.2/src/netif/ethernetif.c中。Stellaris串口轉(zhuǎn)以太網(wǎng)移植代碼也基本上是參照這個代碼框架來編寫的。Stellais串口轉(zhuǎn)以太網(wǎng)模塊與硬件密切相關(guān)的移植代碼位于stellarisif.c中。這里面的代碼主要是三部分:lwIP協(xié)議棧和以太網(wǎng)硬件初始化函數(shù)、lwIP協(xié)議棧將數(shù)據(jù)發(fā)送到網(wǎng)絡(luò)接口上的輸出函數(shù)以及從Stellaris以太網(wǎng)硬件讀取數(shù)據(jù)并送給lwIP協(xié)議棧的輸入函數(shù)。
【公 司】: 廈門泰尼電氣有限公司
【主 營】: AB、GE、施耐德等各類PLC產(chǎn)品
【價 格】: 電議
【發(fā)布人】: 張亮
【電 話】: 18030028083
【所在地】: 福建 - 廈門
【座 機】: 0592-6809819
【來 源】: 供應(yīng)信息 > 電工、電氣 > PLC
【Q Q】: 2314094943
【公 司】: 廈門泰尼電氣有限公司
【主 營】: AB、GE、施耐德等各類PLC產(chǎn)品
【價 格】: 電議
【發(fā)布人】: 張亮
【電 話】: 18030028083
【所在地】: 福建 - 廈門
【座 機】: 0592-6809819
【來 源】: 供應(yīng)信息 > 電工、電氣 > PLC
【Q Q】: 2314094943
lwIP協(xié)議棧和以太網(wǎng)硬件初始化
在移植代碼stellarisif.c中,對lwIP協(xié)議棧和以太網(wǎng)硬件初始化的函數(shù)是:
err_t stellarisif_init(structnetif *netif)
這個函數(shù)先是設(shè)置與協(xié)議棧有關(guān)的底層操作,指定底層接收回調(diào)函數(shù)等,接著對實際網(wǎng)絡(luò)接口芯片進行初始化,設(shè)置硬件的工作方式,開放中斷等。源代碼如下所示:AMAT CHAS PLASMA FLOOD (AR) DC DAQ 9090-01181ITL
TEL (TOKYO ELECTRON) MB3M87-041637-11 COLUMN TRAP - NEW
APPLIED MATERIALS (AMAT) RTA PROBE ASSY P/N 0190-22676
APPLIED MATERIALS (AMAT) TEMP CONTROLLER P/N 0190-35798
AMAT DOOR POD OPENER 25 WAFER 0500-01087
DNS ELECT EEW UNIT, FULL ASSY SK2000 2-AE-J0184
NOVELLUS ASSY, LOADARM BOAT ROTATION ASM 2587998-01
KENSINGTON LAB NANO SPEC 9000i 7200-01084
AMAT HEATER, TIN 200MM 0010-18080
TEL (TOKYO ELECTRON) MB3S80-000332-11 DRIVE FEEDTHRU
APPLIED MATERIALS (AMAT) SHOWER HEAD P/N 0040-95444
AXCELIS NOVA WAFER HANDLER ASSY 8" CLASS 1 153-10000-04
APPLIED MATERIALS (AMAT) MEC2/L ASSEMBLY P/N 0090-A1671
BROOKS ASSY ROBOT ATR8 3FP NOVELLUS VCTR/WTSHV
SHIMADZU PUMP,TURBO TMP-2003LM-3
AMAT MOD ROBOT CONT GENCO 4 F 3680-A0141
APPLIED MATERIALS (AMAT) CATHODE LINER P/N 0041-05535
APPLIED MATERIALS (AMAT) IPU 2.5GHZ P/N 0090-A9920
AMAT WSI TARWSI2.7 5N 390/404MM X 8MMT FNQ-S41-000268A
APPLIED MATERIALS (AMAT) TARGET W SIP P/N 0190-17547
ADVANCED ENERGY PE-2500 GEN, RF1500W100KHZ 3157504-012C
DNS ASSY, SRHP LEFT SK2000 2-AE-J0261 1002AL SRHP
AMAT GEN, DUAL 13.56MHZ X 2MHZ, 1KW, 400VA 0190-23895
DNS ASSY, HP RIGHT SK2000 2-AE-J0132
VARIAN ASSY, I/V INTERFACE E11130350
ADVANCED ENERGY PINNACLE
APPLIED MATERIALS (AMAT) HTR ASSY WXZ P/N 0010-03331M
MRL CORE, BLACK MAX FURNACE HEATER ELEMENT 4600819112
APPLIED MATERIALS (AMAT) MULTIMETRIX SHUT 0190-08599
APPLIED MATERIALS (AMAT) TARGET, TI 20.625" 0190-07114
DNS ASSY, CP RIGHT SK2000 2-AE-J0121
BROOKS ROBOT, STANDARD ATM 4-1/2" (ACE) 6-0001-0513-SP
BROOKS AUTOMATION CONTROLLER PRE-ALIGNER 6-0002-0024-SP
ASTEX GMBH GENERATOR, OZONE SEMOZON 14-6008-00
ASTEX GMBH GENERATOR, MICROWAVE D137645
ENI GHW25 RF GENERATOR 2500W GHW25A-13DF3N0-001 GHW-25A
OPHIR POWER AMPLIFIER MODEL XRF373-001 - NEW
AMAT PWR AMPLIFIER RF 20W 0500-A0181
APPLIED MATERIALS (AMAT) CDMI ASSEMBLY P/N 0090-A1901
APPLIED MATERIALS (AMAT) PAD CONDITIONER 0010-05106
APPLIED MATERIALS (AMAT) CATHODE LINER P/N 0040-79916
APPLIED MATERIALS (AMAT) CCB II ASSEMBLY P/N 0195-01348
APPLIED MATERIALS (AMAT) CCB II ASSEMBLY P/N 0195-00178
ADVANCED ENERGY PE-2500 GEN RF 1500W100KHZ 3157504-012C
TEL (TOKYO ELECTRON) MB3M10-101688-11 WAFER ROTATION
AEROTECH ES13693-1 THETA AXIS STAGE P/N ADR175-E13693D2
AMAT THETA AXIS STAGE 0190-A0001
LION PRECISION EN193 AUTOFOUCS KIT P/N 060473-2
AMAT AutoFocus KIT STING 0240-a6770
VARIAN CONTROLLER, FARADAY E11048882 REV A
PRI AUTOMATION/EQUIP DIV ROBOT ABM-405-1-S-CE-S293
AMAT LINER CHAMBER CT W/LEAK CHECK PORT, EHA 0040-83384
APPLIED MATERIALS (AMAT) GUN HEAD P/N 0010-C5840
AMAT PWRSP 60KW 208VAC ENI SLAVE(20KW) DNET 0190-07967
ZEBRA TECH SERVO, AMP DRAWER 86841-000 REV J
ADVANCED ENERGY MATCH, RF FIXED 3155054-003B
AMAT RF GEN, 13.56MHZ, 1.25KW 208VAC, DEVICE 0190-01183
ALPHASEM COGNEX
AMAT CAP, EXHAUST, POINT OF USE REACTOR EPI 0040-85573
LASER, 15 MILLIWATTS RATED MELLES GRIOT 3227H-C-64
AMAT PWRSP 40KW 480VAC ENI SLAVE(20KW)DNET F 0190-08034
AIR LIQUIDE GAS CABINET CONTROLLER,COMPLETE GC AVP
AMAT IA-COMP Cage Assy 0090-A1230
DNS LAMPHOUSE, EEW 80B 2-39-83273, HAMAMATSU L6599-01
DNS HAMAMATSU LAMPHOUSE, EEW 80B L6599-01 2-39-83273
AMAT TUNER 1/4-GUIDE WL 2.45GHZ 3KW 3-STUB 3750-01147
DNS ASSY, HP RIGHT SK2000 2-AE-J0132
TEL HEATER, SD2 DRYER, TEL CS1B80-001293-11
DNS PLATE, HOT ADHESION (AH) 80B ASSY 2-XZ-13045
AMAT 0010-00735 5000:ETCH INT. ENDPOINT MAINPLATE
AMAT 0010-09929 5000 ETCH INT. END