?? nic.h
字號:
// the key API for the NIC - encapsulates NIC specific functionality
//
// echo_packet(unsigned int length,unsigned char *packet) - sends packet to NIC
// ignoreFrame() - does what it says
// getPacket(unsigned int maxLength,unsigned char *packet) - gets data into packet from NIC up to maxLength, bytes returns length
// initNIC(unsigned char *macAddress) - does what it says
// unsigned char dataToRead() - returns 1 if there's a packet waiting to be read, 0 otherwise
// waitToTransmit() - wait until the NIC is free to send a packet
void echo_packet(unsigned int,unsigned char *);
void ignoreFrame(void);
unsigned int getPacket(unsigned int,unsigned char *);
void initNIC(const rom unsigned char *); // initialise NIC with MAC address as argument
unsigned char dataToRead(void);
void waitToTransmit(void);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -