e1000_driver::~e1000_driver
Signature: e1000_driver::~e1000_driver()
Attributes: undefined
Description: Destructor for the e1000 driver class
e1000_driver::write_command
Signature: void e1000_driver::write_command(uint16_t address, uint32_t value)
Description: Writes a command to the e1000
Parameters:
uint16_t address
uint32_t value
Return: void
e1000_driver::read_command
Signature: uint32_t e1000_driver::read_command(uint16_t address)
Description: Reads a command from the e1000
Parameters:
Return: uint32_t
e1000_driver::detect_eeprom
Signature: bool e1000_driver::detect_eeprom()
Description: Detects the eeprom of the e1000
Return: bool
e1000_driver::read_eeprom
Signature: uint32_t e1000_driver::read_eeprom(uint8_t addr)
Description: Reads from the eeprom of the e1000
Parameters:
Return: uint32_t
e1000_driver::read_mac_address
Signature: void e1000_driver::read_mac_address()
Description: Reads the mac address from the e1000
Return: void
e1000_driver::rx_init
Signature: void e1000_driver::rx_init()
Description: Initializes the receive buffer
Return: void
e1000_driver::tx_init
Signature: void e1000_driver::tx_init()
Description: Initializes the transmit buffer
Return: void
e1000_driver::start_link
Signature: void e1000_driver::start_link()
Description: Starts the link
Return: void
e1000_driver::activate
Signature: void e1000_driver::activate()
Description: Activates the e1000 driver
Return: void
e1000_driver::receive
Signature: void e1000_driver::receive()
Description: Receives a packet
Return: void
e1000_driver::send
Signature: void e1000_driver::send(uint8_t* data, int32_t length)
Description: Sends a packet
Parameters:
uint8_t* data
int32_t length
Return: void
e1000_driver::handle
Signature: void e1000_driver::handle()
Description: interrupt handler for the e1000 driver
Return: void
e1000_driver::get_name
Signature: char* e1000_driver::get_name()
Description: Gets the name of the e1000 driver
Return: char*
e1000_driver::get_mac
Signature: uint64_t e1000_driver::get_mac()
Description: Gets the mac of the e1000 driver
Return: uint64_t
e1000_driver::get_ip
Signature: uint32_t e1000_driver::get_ip()
Description: Gets the ip of the e1000 driver
Return: uint32_t
e1000_driver::set_ip
Signature: void e1000_driver::set_ip(uint32_t ip)
Description: Sets the ip of the e1000 driver
Parameters:
Return: void
Show file on GitHub