?login_element?

Subversion Repositories NedoOS

Rev

Rev 8 | Blame | Compare with Previous | Last modification | View Log | Download

  1. #include "stdint.h"
  2.  
  3. #ifndef __ETHFUNC_H
  4. #define __ETHFUNC_H
  5.  
  6. void SetPHYReg(uint8_t,uint8_t,uint16_t);
  7. uint16_t GetPHYReg(uint8_t,uint8_t);
  8. void PHYInit(uint8_t,uint8_t);
  9. void EthernetConfig(void);
  10. void MACReset(void);
  11. void ClearMemory(void);
  12. uint32_t ReadPacket(_Rec_Frame*);
  13. int     SendPacket(void*, int);
  14.  
  15. #endif  //__ETHFUNC_H
  16.  
  17.