at91_ether.h
来自「RT-Thread是发展中的下一代微内核嵌入式实时操作系统」· C头文件 代码 · 共 31 行
H
31 行
/* * 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 + =
减小字号Ctrl + -
显示快捷键?