cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
3,093 Views
Registered: ‎03-11-2009

about XEmacLite_CfgInitialize()

i want to Initialize the lan83c185 on my spartan-3e,but i don't know how to use this API function:

 

int XEmacLite_CfgInitialize XEmacLiteInstancePtr,
  XEmacLite_ConfigEmacLiteConfigPtr,
  u32 EffectiveAddr
 

 

XEmacLite_Config(

                                  u16 DeviceId
u32 BaseAddress
u8 TxPingPong
u8 RxPingPong

                              )

 

what is the DeviceID? is the BaseAddress  MAC address or IP address? what is the EffectiveAddr?

can somebody give an example??thanks!!

 

after i Initialize like this, the lan83c185 can working??such an ping successful~~~

0 Kudos
1 Reply
Highlighted
Anonymous
Not applicable
3,008 Views

hello,

 

you should look at your EDK directory under c:\EDK\sw\XilinxProcessorIPLib\drivers\emaclite_v1_01_a\examples\ 

you will find some usefull examples there on how to use this functions

 

Sebastian

0 Kudos