⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 at91_ether.h

📁 RT-Thread是发展中的下一代微内核嵌入式实时操作系统
💻 H
字号:
/* * Ethernet driver for the Atmel AT91RM9200 (Thunder) * * (c) SAN People (Pty) Ltd * * Based on an earlier Atmel EMAC macrocell driver by Atmel and Lineo Inc. * Initial version by Rick Bronson. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. */#ifndef AT91_ETHERNET#define AT91_ETHERNET/* Davicom 9161 PHY */#define MII_DM9161_ID   0x0181b880#define EMAC_DESC_DONE	0x00000001	/* bit for if DMA is done */#define EMAC_DESC_WRAP	0x00000002	/* bit for wrap */#define EMAC_BROADCAST	0x80000000	/* broadcast address */#define EMAC_MULTICAST	0x40000000	/* multicast address */#define EMAC_UNICAST	0x20000000	/* unicast address */int  at91ether_register(char *name);#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -