![]() |
ETHFW API Guide
|
Header file for Ethernet Firmware library.
Go to the source code of this file.
Data Structures | |
| struct | EthFw_Version |
| Ethernet Firmware version. More... | |
| struct | EthFw_VirtPortCfg |
| Ethernet Firmware virtual port configuration. More... | |
| struct | EthFw_SharedMcastCfg |
| Ethernet Firmware shared multicast fanout configuration. More... | |
| struct | EthFw_RsvdMcastCfg |
| Ethernet Firmware reserved multicast configuration. More... | |
| struct | EthFw_Config |
| Ethernet Firmware configuration. More... | |
Macros | |
| #define | ETHFW_VERSION_YEARLEN (4) |
| #define | ETHFW_VERSION_MONTHLEN (3) |
| #define | ETHFW_VERSION_DATELEN (2) |
| #define | ETHFW_VERSION_HOURLEN (2) |
| #define | ETHFW_VERSION_MINLEN (2) |
| #define | ETHFW_VERSION_SECLEN (2) |
| #define | ETHFW_VERSION_COMMITSHALEN (8) |
| #define | ETHFW_REMOTE_CLIENT_MAX (ETHREMOTECFG_SERVER_MAX_INSTANCES) |
| #define | ETHFW_SHARED_MCAST_LIST_LEN (8U) |
| #define | ETHFW_RSVD_MCAST_LIST_LEN (4U) |
Typedefs | |
| typedef void(* | EthFw_FilterAddMacSharedCb) (const uint8_t *macAddr, const uint8_t coreId) |
| Filter 'add' shared multicast callback. More... | |
| typedef void(* | EthFw_FilterDelMacSharedCb) (const uint8_t *macAddr, const uint8_t coreId) |
| Filter delete shared multicast callback. More... | |
| typedef int32_t(* | EthFw_setPortCfg) (Enet_MacPort macPort, CpswMacPort_Cfg *macCfg, EnetMacPort_Interface *mii, EnetPhy_Cfg *phyCfg, EnetMacPort_LinkCfg *linkCfg) |
| typedef void(* | EthFw_configPtpCb) (void *arg) |
| typedef struct EthFw_Obj_s * | EthFw_Handle |
| Ethernet Firmware handle. More... | |
Functions | |
| void | EthFw_initConfigParams (Enet_Type enetType, EthFw_Config *config) |
| Set EthFw configuration parameters to default values. More... | |
| EthFw_Handle | EthFw_init (Enet_Type enetType, const EthFw_Config *config) |
| Initialize EthFw. More... | |
| void | EthFw_deinit (EthFw_Handle hEthFw) |
| De-initialize EthFw. More... | |
| int32_t | EthFw_initRemoteConfig (EthFw_Handle hEthFw) |
| Initialize remote configuration server. More... | |
| int32_t | EthFw_lateAnnounce (EthFw_Handle hEthFw, uint32_t procId) |
| Late announce to remote processor. More... | |
| void | EthFw_getVersion (EthFw_Handle hEthFw, EthFw_Version *version) |
| Get EthFw version. More... | |
| int32_t | EthFw_initTimeSyncPtp (const uint8_t *hostMacAddr, uint32_t portMask) |
| Initialize and enable EthFw gPTP stack. More... | |