![]() |
LibDriver LAN8720
|
lan8720 advance driver modules More...
Data Structures | |
| struct | lan8720_handle_s |
| lan8720 handle structure definition More... | |
| struct | lan8720_info_s |
| lan8720 information structure definition More... | |
Typedefs | |
| typedef struct lan8720_handle_s | lan8720_handle_t |
| lan8720 handle structure definition | |
| typedef struct lan8720_info_s | lan8720_info_t |
| lan8720 information structure definition | |
Functions | |
| uint8_t | lan8720_set_identifier (lan8720_handle_t *handle, uint32_t phy_id, uint8_t model_number, uint8_t revision_number) |
| set identifier | |
| uint8_t | lan8720_get_identifier (lan8720_handle_t *handle, uint32_t *phy_id, uint8_t *model_number, uint8_t *revision_number) |
| get identifier | |
| uint8_t | lan8720_set_auto_negotiation_advertisement_remote_fault (lan8720_handle_t *handle, lan8720_bool_t enable) |
| enable or disable auto negotiation advertisement remote fault | |
| uint8_t | lan8720_get_auto_negotiation_advertisement_remote_fault (lan8720_handle_t *handle, lan8720_bool_t *enable) |
| get auto negotiation advertisement remote fault status | |
| uint8_t | lan8720_set_auto_negotiation_advertisement_pause (lan8720_handle_t *handle, lan8720_pause_t pause) |
| set auto negotiation advertisement pause | |
| uint8_t | lan8720_get_auto_negotiation_advertisement_pause (lan8720_handle_t *handle, lan8720_pause_t *pause) |
| get auto negotiation advertisement pause | |
| uint8_t | lan8720_set_auto_negotiation_advertisement_100base_tx_full_duplex (lan8720_handle_t *handle, lan8720_bool_t enable) |
| enable or disable auto negotiation advertisement 100base tx full duplex | |
| uint8_t | lan8720_get_auto_negotiation_advertisement_100base_tx_full_duplex (lan8720_handle_t *handle, lan8720_bool_t *enable) |
| get auto negotiation advertisement 100base tx full duplex status | |
| uint8_t | lan8720_set_auto_negotiation_advertisement_100base_tx (lan8720_handle_t *handle, lan8720_bool_t enable) |
| enable or disable auto negotiation advertisement 100base tx | |
| uint8_t | lan8720_get_auto_negotiation_advertisement_100base_tx (lan8720_handle_t *handle, lan8720_bool_t *enable) |
| get auto negotiation advertisement 100base tx status | |
| uint8_t | lan8720_set_auto_negotiation_advertisement_10base_t_full_duplex (lan8720_handle_t *handle, lan8720_bool_t enable) |
| enable or disable auto negotiation advertisement 10base t full duplex | |
| uint8_t | lan8720_get_auto_negotiation_advertisement_10base_t_full_duplex (lan8720_handle_t *handle, lan8720_bool_t *enable) |
| get auto negotiation advertisement 10base t full duplex status | |
| uint8_t | lan8720_set_auto_negotiation_advertisement_10base_t (lan8720_handle_t *handle, lan8720_bool_t enable) |
| enable or disable auto negotiation advertisement 10base t | |
| uint8_t | lan8720_get_auto_negotiation_advertisement_10base_t (lan8720_handle_t *handle, lan8720_bool_t *enable) |
| get auto negotiation advertisement 10base t status | |
| uint8_t | lan8720_set_auto_negotiation_advertisement_selector_field (lan8720_handle_t *handle, uint8_t selector) |
| set auto negotiation advertisement selector field | |
| uint8_t | lan8720_get_auto_negotiation_advertisement_selector_field (lan8720_handle_t *handle, uint8_t *selector) |
| get auto negotiation advertisement selector field | |
| uint8_t | lan8720_get_auto_negotiation_link_partner_ability_next_page (lan8720_handle_t *handle, lan8720_bool_t *enable) |
| get auto negotiation link partner ability next page status | |
| uint8_t | lan8720_get_auto_negotiation_link_partner_ability_acknowledge (lan8720_handle_t *handle, lan8720_bool_t *enable) |
| get auto negotiation link partner ability acknowledge status | |
| uint8_t | lan8720_get_auto_negotiation_link_partner_ability_remote_fault (lan8720_handle_t *handle, lan8720_bool_t *enable) |
| get auto negotiation link partner ability remote fault status | |
| uint8_t | lan8720_get_auto_negotiation_link_partner_ability_pause (lan8720_handle_t *handle, lan8720_bool_t *enable) |
| get auto negotiation link partner ability pause status | |
| uint8_t | lan8720_get_auto_negotiation_link_partner_ability_100base_t4 (lan8720_handle_t *handle, lan8720_bool_t *enable) |
| get auto negotiation link partner ability 100base t4 status | |
| uint8_t | lan8720_get_auto_negotiation_link_partner_ability_100base_tx_full_duplex (lan8720_handle_t *handle, lan8720_bool_t *enable) |
| get auto negotiation link partner ability 100base tx full duplex status | |
| uint8_t | lan8720_get_auto_negotiation_link_partner_ability_100base_tx (lan8720_handle_t *handle, lan8720_bool_t *enable) |
| get auto negotiation link partner ability 100base tx status | |
| uint8_t | lan8720_get_auto_negotiation_link_partner_ability_10base_t_full_duplex (lan8720_handle_t *handle, lan8720_bool_t *enable) |
| get auto negotiation link partner ability 10base t full duplex status | |
| uint8_t | lan8720_get_auto_negotiation_link_partner_ability_10base_t (lan8720_handle_t *handle, lan8720_bool_t *enable) |
| get auto negotiation link partner ability 10base t status | |
| uint8_t | lan8720_get_auto_negotiation_link_partner_ability_selector_field (lan8720_handle_t *handle, uint8_t *selector) |
| get auto negotiation link partner ability selector field | |
| uint8_t | lan8720_get_auto_negotiation_expansion_parallel_detection_fault (lan8720_handle_t *handle, lan8720_bool_t *enable) |
| get auto negotiation expansion parallel detection fault status | |
| uint8_t | lan8720_get_auto_negotiation_expansion_link_partner_next_page_able (lan8720_handle_t *handle, lan8720_bool_t *enable) |
| get auto negotiation expansion link partner next page able status | |
| uint8_t | lan8720_get_auto_negotiation_expansion_next_page_able (lan8720_handle_t *handle, lan8720_bool_t *enable) |
| get auto negotiation expansion next page able status | |
| uint8_t | lan8720_get_auto_negotiation_expansion_page_received (lan8720_handle_t *handle, lan8720_bool_t *enable) |
| get auto negotiation expansion page received status | |
| uint8_t | lan8720_get_auto_negotiation_expansion_link_partner_auto_negotiation_able (lan8720_handle_t *handle, lan8720_bool_t *enable) |
| get auto negotiation expansion link partner auto negotiation able status | |
| uint8_t | lan8720_set_energy_detect_power_down_mode (lan8720_handle_t *handle, lan8720_bool_t enable) |
| enable or disable energy detect power down mode | |
| uint8_t | lan8720_get_energy_detect_power_down_mode (lan8720_handle_t *handle, lan8720_bool_t *enable) |
| get energy detect power down mode status | |
| uint8_t | lan8720_set_far_loop_back (lan8720_handle_t *handle, lan8720_bool_t enable) |
| enable or disable far loop back | |
| uint8_t | lan8720_get_far_loop_back (lan8720_handle_t *handle, lan8720_bool_t *enable) |
| get far loop back status | |
| uint8_t | lan8720_set_alternate_interrupt_mode (lan8720_handle_t *handle, lan8720_bool_t enable) |
| enable or disable alternate interrupt mode | |
| uint8_t | lan8720_get_alternate_interrupt_mode (lan8720_handle_t *handle, lan8720_bool_t *enable) |
| get alternate interrupt mode status | |
| uint8_t | lan8720_get_energy_detected (lan8720_handle_t *handle, lan8720_bool_t *enable) |
| get energy detected status | |
| uint8_t | lan8720_set_mode (lan8720_handle_t *handle, lan8720_mode_t mode) |
| set mode | |
| uint8_t | lan8720_get_mode (lan8720_handle_t *handle, lan8720_mode_t *mode) |
| get mode | |
| uint8_t | lan8720_set_phy_address (lan8720_handle_t *handle, uint8_t addr) |
| set phy address | |
| uint8_t | lan8720_get_phy_address (lan8720_handle_t *handle, uint8_t *addr) |
| get phy address | |
| uint8_t | lan8720_get_symbol_error_counter (lan8720_handle_t *handle, uint16_t *cnt) |
| get symbol error counter | |
| uint8_t | lan8720_set_auto_mdix (lan8720_handle_t *handle, lan8720_bool_t enable) |
| enable or disable auto mdix | |
| uint8_t | lan8720_get_auto_mdix (lan8720_handle_t *handle, lan8720_bool_t *enable) |
| get auto mdix status | |
| uint8_t | lan8720_set_manual_channel_select (lan8720_handle_t *handle, lan8720_manual_channel_select_t select) |
| set manual channel select | |
| uint8_t | lan8720_get_manual_channel_select (lan8720_handle_t *handle, lan8720_manual_channel_select_t *select) |
| get manual channel select | |
| uint8_t | lan8720_set_sqe_test_off (lan8720_handle_t *handle, lan8720_bool_t enable) |
| enable or disable sqe test off | |
| uint8_t | lan8720_get_sqe_test_off (lan8720_handle_t *handle, lan8720_bool_t *enable) |
| get sqe test off status | |
| uint8_t | lan8720_set_polarity (lan8720_handle_t *handle, lan8720_polarity_t polarity) |
| set polarity | |
| uint8_t | lan8720_get_polarity (lan8720_handle_t *handle, lan8720_polarity_t *polarity) |
| get polarity | |
| uint8_t | lan8720_get_interrupt_flag (lan8720_handle_t *handle, lan8720_interrupt_t interrupt, lan8720_bool_t *enable) |
| get interrupt flag status | |
| uint8_t | lan8720_set_interrupt_mask (lan8720_handle_t *handle, lan8720_interrupt_t interrupt, lan8720_bool_t enable) |
| set interrupt mask | |
| uint8_t | lan8720_get_interrupt_mask (lan8720_handle_t *handle, lan8720_interrupt_t interrupt, lan8720_bool_t *enable) |
| get interrupt mask status | |
| uint8_t | lan8720_get_auto_negotiation_done (lan8720_handle_t *handle, lan8720_bool_t *enable) |
| get auto negotiation done status | |
| uint8_t | lan8720_get_speed_indication (lan8720_handle_t *handle, lan8720_speed_indication_t *speed) |
| get speed indication | |
lan8720 advance driver modules
| typedef struct lan8720_handle_s lan8720_handle_t |
lan8720 handle structure definition
| typedef struct lan8720_info_s lan8720_info_t |
lan8720 information structure definition
| enum lan8720_interrupt_t |
lan8720 interrupt enumeration definition
Definition at line 152 of file driver_lan8720.h.
lan8720 manual channel select enumeration definition
| Enumerator | |
|---|---|
| LAN8720_MANUAL_CHANNEL_SELECT_MDI | tx transmits, rx receives |
| LAN8720_MANUAL_CHANNEL_SELECT_MDIX | tx receives, rx transmits |
Definition at line 134 of file driver_lan8720.h.
| enum lan8720_mode_t |
lan8720 mode enumeration definition
Definition at line 119 of file driver_lan8720.h.
| enum lan8720_pause_t |
lan8720 pause enumeration definition
Definition at line 107 of file driver_lan8720.h.
| enum lan8720_polarity_t |
lan8720 polarity enumeration definition
| Enumerator | |
|---|---|
| LAN8720_POLARITY_NORMAL | normal polarity |
| LAN8720_POLARITY_REVERSED | reversed polarity |
Definition at line 143 of file driver_lan8720.h.
lan8720 speed indication enumeration definition
Definition at line 166 of file driver_lan8720.h.
| uint8_t lan8720_get_alternate_interrupt_mode | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t * | enable ) |
get alternate interrupt mode status
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 3009 of file driver_lan8720.c.
| uint8_t lan8720_get_auto_mdix | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t * | enable ) |
get auto mdix status
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 3336 of file driver_lan8720.c.
| uint8_t lan8720_get_auto_negotiation_advertisement_100base_tx | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t * | enable ) |
get auto negotiation advertisement 100base tx status
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 1955 of file driver_lan8720.c.
| uint8_t lan8720_get_auto_negotiation_advertisement_100base_tx_full_duplex | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t * | enable ) |
get auto negotiation advertisement 100base tx full duplex status
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 1873 of file driver_lan8720.c.
| uint8_t lan8720_get_auto_negotiation_advertisement_10base_t | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t * | enable ) |
get auto negotiation advertisement 10base t status
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 2119 of file driver_lan8720.c.
| uint8_t lan8720_get_auto_negotiation_advertisement_10base_t_full_duplex | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t * | enable ) |
get auto negotiation advertisement 10base t full duplex status
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 2037 of file driver_lan8720.c.
| uint8_t lan8720_get_auto_negotiation_advertisement_pause | ( | lan8720_handle_t * | handle, |
| lan8720_pause_t * | pause ) |
get auto negotiation advertisement pause
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *pause | pointer to a pause buffer |
Definition at line 1791 of file driver_lan8720.c.
| uint8_t lan8720_get_auto_negotiation_advertisement_remote_fault | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t * | enable ) |
get auto negotiation advertisement remote fault status
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 1709 of file driver_lan8720.c.
| uint8_t lan8720_get_auto_negotiation_advertisement_selector_field | ( | lan8720_handle_t * | handle, |
| uint8_t * | selector ) |
get auto negotiation advertisement selector field
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *selector | pointer to a selector buffer |
Definition at line 2208 of file driver_lan8720.c.
| uint8_t lan8720_get_auto_negotiation_done | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t * | enable ) |
get auto negotiation done status
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 3696 of file driver_lan8720.c.
| uint8_t lan8720_get_auto_negotiation_expansion_link_partner_auto_negotiation_able | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t * | enable ) |
get auto negotiation expansion link partner auto negotiation able status
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 2763 of file driver_lan8720.c.
| uint8_t lan8720_get_auto_negotiation_expansion_link_partner_next_page_able | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t * | enable ) |
get auto negotiation expansion link partner next page able status
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 2652 of file driver_lan8720.c.
| uint8_t lan8720_get_auto_negotiation_expansion_next_page_able | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t * | enable ) |
get auto negotiation expansion next page able status
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 2689 of file driver_lan8720.c.
| uint8_t lan8720_get_auto_negotiation_expansion_page_received | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t * | enable ) |
get auto negotiation expansion page received status
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 2726 of file driver_lan8720.c.
| uint8_t lan8720_get_auto_negotiation_expansion_parallel_detection_fault | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t * | enable ) |
get auto negotiation expansion parallel detection fault status
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 2615 of file driver_lan8720.c.
| uint8_t lan8720_get_auto_negotiation_link_partner_ability_100base_t4 | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t * | enable ) |
get auto negotiation link partner ability 100base t4 status
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 2393 of file driver_lan8720.c.
| uint8_t lan8720_get_auto_negotiation_link_partner_ability_100base_tx | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t * | enable ) |
get auto negotiation link partner ability 100base tx status
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 2467 of file driver_lan8720.c.
| uint8_t lan8720_get_auto_negotiation_link_partner_ability_100base_tx_full_duplex | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t * | enable ) |
get auto negotiation link partner ability 100base tx full duplex status
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 2430 of file driver_lan8720.c.
| uint8_t lan8720_get_auto_negotiation_link_partner_ability_10base_t | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t * | enable ) |
get auto negotiation link partner ability 10base t status
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 2541 of file driver_lan8720.c.
| uint8_t lan8720_get_auto_negotiation_link_partner_ability_10base_t_full_duplex | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t * | enable ) |
get auto negotiation link partner ability 10base t full duplex status
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 2504 of file driver_lan8720.c.
| uint8_t lan8720_get_auto_negotiation_link_partner_ability_acknowledge | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t * | enable ) |
get auto negotiation link partner ability acknowledge status
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 2282 of file driver_lan8720.c.
| uint8_t lan8720_get_auto_negotiation_link_partner_ability_next_page | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t * | enable ) |
get auto negotiation link partner ability next page status
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 2245 of file driver_lan8720.c.
| uint8_t lan8720_get_auto_negotiation_link_partner_ability_pause | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t * | enable ) |
get auto negotiation link partner ability pause status
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 2356 of file driver_lan8720.c.
| uint8_t lan8720_get_auto_negotiation_link_partner_ability_remote_fault | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t * | enable ) |
get auto negotiation link partner ability remote fault status
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 2319 of file driver_lan8720.c.
| uint8_t lan8720_get_auto_negotiation_link_partner_ability_selector_field | ( | lan8720_handle_t * | handle, |
| uint8_t * | selector ) |
get auto negotiation link partner ability selector field
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *selector | pointer to a selector buffer |
Definition at line 2578 of file driver_lan8720.c.
| uint8_t lan8720_get_energy_detect_power_down_mode | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t * | enable ) |
get energy detect power down mode status
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 2845 of file driver_lan8720.c.
| uint8_t lan8720_get_energy_detected | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t * | enable ) |
get energy detected status
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 3046 of file driver_lan8720.c.
| uint8_t lan8720_get_far_loop_back | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t * | enable ) |
get far loop back status
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 2927 of file driver_lan8720.c.
| uint8_t lan8720_get_identifier | ( | lan8720_handle_t * | handle, |
| uint32_t * | phy_id, | ||
| uint8_t * | model_number, | ||
| uint8_t * | revision_number ) |
get identifier
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *phy_id | pointer to a phy id buffer |
| [out] | *model_number | pointer to an model number buffer |
| [out] | *revision_number | pointer to a revision number buffer |
Definition at line 1616 of file driver_lan8720.c.
| uint8_t lan8720_get_interrupt_flag | ( | lan8720_handle_t * | handle, |
| lan8720_interrupt_t | interrupt, | ||
| lan8720_bool_t * | enable ) |
get interrupt flag status
| [in] | *handle | pointer to an lan8720 handle structure |
| [in] | interrupt | set interrupt |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 3575 of file driver_lan8720.c.
| uint8_t lan8720_get_interrupt_mask | ( | lan8720_handle_t * | handle, |
| lan8720_interrupt_t | interrupt, | ||
| lan8720_bool_t * | enable ) |
get interrupt mask status
| [in] | *handle | pointer to an lan8720 handle structure |
| [in] | interrupt | set interrupt |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 3659 of file driver_lan8720.c.
| uint8_t lan8720_get_manual_channel_select | ( | lan8720_handle_t * | handle, |
| lan8720_manual_channel_select_t * | select ) |
get manual channel select
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *select | pointer to a manual channel select buffer |
Definition at line 3418 of file driver_lan8720.c.
| uint8_t lan8720_get_mode | ( | lan8720_handle_t * | handle, |
| lan8720_mode_t * | mode ) |
get mode
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *mode | pointer to a mode buffer |
Definition at line 3128 of file driver_lan8720.c.
| uint8_t lan8720_get_phy_address | ( | lan8720_handle_t * | handle, |
| uint8_t * | addr ) |
get phy address
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *addr | pointer to a phy address buffer |
Definition at line 3217 of file driver_lan8720.c.
| uint8_t lan8720_get_polarity | ( | lan8720_handle_t * | handle, |
| lan8720_polarity_t * | polarity ) |
get polarity
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *polarity | pointer to a polarity buffer |
Definition at line 3537 of file driver_lan8720.c.
| uint8_t lan8720_get_speed_indication | ( | lan8720_handle_t * | handle, |
| lan8720_speed_indication_t * | speed ) |
get speed indication
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *speed | pointer to a speed buffer |
Definition at line 3733 of file driver_lan8720.c.
| uint8_t lan8720_get_sqe_test_off | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t * | enable ) |
get sqe test off status
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 3500 of file driver_lan8720.c.
| uint8_t lan8720_get_symbol_error_counter | ( | lan8720_handle_t * | handle, |
| uint16_t * | cnt ) |
get symbol error counter
| [in] | *handle | pointer to an lan8720 handle structure |
| [out] | *cnt | pointer to a counter buffer |
Definition at line 3254 of file driver_lan8720.c.
| uint8_t lan8720_set_alternate_interrupt_mode | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t | enable ) |
enable or disable alternate interrupt mode
| [in] | *handle | pointer to an lan8720 handle structure |
| [in] | enable | bool value |
Definition at line 2964 of file driver_lan8720.c.
| uint8_t lan8720_set_auto_mdix | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t | enable ) |
enable or disable auto mdix
| [in] | *handle | pointer to an lan8720 handle structure |
| [in] | enable | bool value |
Definition at line 3291 of file driver_lan8720.c.
| uint8_t lan8720_set_auto_negotiation_advertisement_100base_tx | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t | enable ) |
enable or disable auto negotiation advertisement 100base tx
| [in] | *handle | pointer to an lan8720 handle structure |
| [in] | enable | bool value |
Definition at line 1910 of file driver_lan8720.c.
| uint8_t lan8720_set_auto_negotiation_advertisement_100base_tx_full_duplex | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t | enable ) |
enable or disable auto negotiation advertisement 100base tx full duplex
| [in] | *handle | pointer to an lan8720 handle structure |
| [in] | enable | bool value |
Definition at line 1828 of file driver_lan8720.c.
| uint8_t lan8720_set_auto_negotiation_advertisement_10base_t | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t | enable ) |
enable or disable auto negotiation advertisement 10base t
| [in] | *handle | pointer to an lan8720 handle structure |
| [in] | enable | bool value |
Definition at line 2074 of file driver_lan8720.c.
| uint8_t lan8720_set_auto_negotiation_advertisement_10base_t_full_duplex | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t | enable ) |
enable or disable auto negotiation advertisement 10base t full duplex
| [in] | *handle | pointer to an lan8720 handle structure |
| [in] | enable | bool value |
Definition at line 1992 of file driver_lan8720.c.
| uint8_t lan8720_set_auto_negotiation_advertisement_pause | ( | lan8720_handle_t * | handle, |
| lan8720_pause_t | pause ) |
set auto negotiation advertisement pause
| [in] | *handle | pointer to an lan8720 handle structure |
| [in] | pause | set pause |
Definition at line 1746 of file driver_lan8720.c.
| uint8_t lan8720_set_auto_negotiation_advertisement_remote_fault | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t | enable ) |
enable or disable auto negotiation advertisement remote fault
| [in] | *handle | pointer to an lan8720 handle structure |
| [in] | enable | bool value |
Definition at line 1664 of file driver_lan8720.c.
| uint8_t lan8720_set_auto_negotiation_advertisement_selector_field | ( | lan8720_handle_t * | handle, |
| uint8_t | selector ) |
set auto negotiation advertisement selector field
| [in] | *handle | pointer to an lan8720 handle structure |
| [in] | selector | set selector |
Definition at line 2157 of file driver_lan8720.c.
| uint8_t lan8720_set_energy_detect_power_down_mode | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t | enable ) |
enable or disable energy detect power down mode
| [in] | *handle | pointer to an lan8720 handle structure |
| [in] | enable | bool value |
Definition at line 2800 of file driver_lan8720.c.
| uint8_t lan8720_set_far_loop_back | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t | enable ) |
enable or disable far loop back
| [in] | *handle | pointer to an lan8720 handle structure |
| [in] | enable | bool value |
Definition at line 2882 of file driver_lan8720.c.
| uint8_t lan8720_set_identifier | ( | lan8720_handle_t * | handle, |
| uint32_t | phy_id, | ||
| uint8_t | model_number, | ||
| uint8_t | revision_number ) |
set identifier
| [in] | *handle | pointer to an lan8720 handle structure |
| [in] | phy_id | physical id |
| [in] | model_number | model number |
| [in] | revision_number | revision number |
Definition at line 1548 of file driver_lan8720.c.
| uint8_t lan8720_set_interrupt_mask | ( | lan8720_handle_t * | handle, |
| lan8720_interrupt_t | interrupt, | ||
| lan8720_bool_t | enable ) |
set interrupt mask
| [in] | *handle | pointer to an lan8720 handle structure |
| [in] | interrupt | set interrupt |
| [in] | enable | bool value |
Definition at line 3613 of file driver_lan8720.c.
| uint8_t lan8720_set_manual_channel_select | ( | lan8720_handle_t * | handle, |
| lan8720_manual_channel_select_t | select ) |
set manual channel select
| [in] | *handle | pointer to an lan8720 handle structure |
| [in] | select | manual channel select |
Definition at line 3373 of file driver_lan8720.c.
| uint8_t lan8720_set_mode | ( | lan8720_handle_t * | handle, |
| lan8720_mode_t | mode ) |
set mode
| [in] | *handle | pointer to an lan8720 handle structure |
| [in] | mode | set mode |
Definition at line 3083 of file driver_lan8720.c.
| uint8_t lan8720_set_phy_address | ( | lan8720_handle_t * | handle, |
| uint8_t | addr ) |
set phy address
| [in] | *handle | pointer to an lan8720 handle structure |
| [in] | addr | physical address |
Definition at line 3166 of file driver_lan8720.c.
| uint8_t lan8720_set_polarity | ( | lan8720_handle_t * | handle, |
| lan8720_polarity_t | polarity ) |
set polarity
| [in] | *handle | pointer to an lan8720 handle structure |
| [in] | polarity | set polarity |
| uint8_t lan8720_set_sqe_test_off | ( | lan8720_handle_t * | handle, |
| lan8720_bool_t | enable ) |
enable or disable sqe test off
| [in] | *handle | pointer to an lan8720 handle structure |
| [in] | enable | bool value |
Definition at line 3455 of file driver_lan8720.c.