confignet.h
来自「一个基于三星ARM7系列的S3C44B0 的vxWorks的BSP源文件包。」· C头文件 代码 · 共 62 行
H
62 行
/* configNet.h - network configuration header *//* Copyright 1984-2001 Wind River Systems, Inc. */#include "copyright_wrs.h"/*modification history--------------------01c,16jul02,m_h C++ protection01b,26apr01,m_h convert tabs to spaces for readability01a,12apr01,m_h created from snds100 template.*/#ifndef INCnetConfigh#define INCnetConfigh#ifdef __cplusplusextern "C" {#endif#include "vxWorks.h"#include "end.h"#define SBCARM7_LOAD_FUNC_0 ne2000EndLoad#define SBCARM7_LOAN 1/* * The initialization string format for Ethernet (unit = 0) is: * * "<Speed>:<duplex>:<autoneg>" * Speed can be 10 or 100. For duplex mode, 1 is for FDX and 0 for HDX * If autoneg is 1, autonegotiation is enabled, and speed and duplex mode are ignored * * The initialization string format for HDLC (unit = 1, 2) is: * * "<channel>:<Baud Rate>:<dataFormat>" * Channel A = 0, Channel B = 1; NRZ = 0, NRZI = 1, FM0 = 2, FM1 = 3, and Manchester = 4 */#define SBCARM7_LOAD_STRING_0 "0x6000300:16:16:0:0:2" #define BSP_SBCARM7 NULL IMPORT END_OBJ * SBCARM7_LOAD_FUNC_0 (char *, void *);END_TBL_ENTRY endDevTbl [] ={#ifdef INCLUDE_SNG44BSP_END { 0, SBCARM7_LOAD_FUNC_0, SBCARM7_LOAD_STRING_0, SBCARM7_LOAN , NULL, FALSE},#endif /* INCLUDE_SNGKS32C_END */ { 0, END_TBL_END, NULL, 0, NULL, FALSE},}; #ifdef __cplusplus}#endif#endif /* INCnetConfigh */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?