![]() |
LibDriver LAN8720
1.0.0
LAN8720 full-featured driver
|
lan8720 example driver modules More...
Macros | |
#define | LAN8720_BASIC_DEFAULT_SPEED LAN8720_SPEED_100M |
lan8720 basic example default definition More... | |
#define | LAN8720_BASIC_DEFAULT_DUPLEX_MODE LAN8720_DUPLEX_FULL |
Functions | |
uint8_t | lan8720_basic_init (uint8_t addr) |
basic example init More... | |
uint8_t | lan8720_basic_deinit (void) |
basic example deinit More... | |
uint8_t | lan8720_basic_link_status (lan8720_link_t *status) |
basic example get link status More... | |
uint8_t | lan8720_basic_auto_negotiation (lan8720_speed_indication_t *speed) |
basic example auto negotiation More... | |
lan8720 example driver modules
#define LAN8720_BASIC_DEFAULT_DUPLEX_MODE LAN8720_DUPLEX_FULL |
duplex full mode
Definition at line 57 of file driver_lan8720_basic.h.
#define LAN8720_BASIC_DEFAULT_SPEED LAN8720_SPEED_100M |
lan8720 basic example default definition
100Mbs
Definition at line 56 of file driver_lan8720_basic.h.
uint8_t lan8720_basic_auto_negotiation | ( | lan8720_speed_indication_t * | speed | ) |
basic example auto negotiation
[out] | *speed | pointer to a speed indication buffer |
Definition at line 220 of file driver_lan8720_basic.c.
uint8_t lan8720_basic_deinit | ( | void | ) |
basic example deinit
Definition at line 173 of file driver_lan8720_basic.c.
uint8_t lan8720_basic_init | ( | uint8_t | addr | ) |
basic example init
[in] | addr | device address |
Definition at line 49 of file driver_lan8720_basic.c.
uint8_t lan8720_basic_link_status | ( | lan8720_link_t * | status | ) |
basic example get link status
[out] | *status | pointer to a status buffer |
Definition at line 196 of file driver_lan8720_basic.c.