This file contains the type definitions and helper macros for the Enet Peripheral interface.
Go to the source code of this file.
| Data Structures | |
| struct | Enet_Obj | 
| Enet object.  More... | |
| Macros | |
| #define | ENET_FEAT_ALL (0xFFFFFFFFU) | 
| Feature mask which indicates that all of the configurable features are enabled.  More... | |
| #define | ENET_FEAT_BASE (0x00000000U) | 
| Feature masks which indicates that none of the configurable features are enabled.  More... | |
| #define | ENET_FEAT_IS_EN(feats, mask) (((feats) & (mask)) != 0U) | 
| Check if a configurable feature is enabled or not.  More... | |
| #define | ENET_ERRATA_NONE (0x00000000U) | 
| Errata mask which indicates that none of the erratas is applicable.  More... | |
| #define | ENET_ERRATA_IS_ANY(mask) ((mask) != ENET_ERRATA_NONE) | 
| Check if any errata is applicable, from an errata mask.  More... | |
| #define | ENET_ERRATA_IS_EN(erratas, mask) (((erratas) & (mask)) != 0U) | 
| Check if an errata is applicable.  More... | |
| Typedefs | |
| typedef struct Enet_Obj_s * | Enet_Handle | 
| Ethernet driver handle.  More... | |
| Functions | |
| static EnetPer_Handle | Enet_getPerHandle (Enet_Handle hEnet) | 
| Get the Enet Peripheral handle associated with Enet driver.  More... | |
| #define ENET_FEAT_ALL (0xFFFFFFFFU) | 
Feature mask which indicates that all of the configurable features are enabled.
| #define ENET_FEAT_BASE (0x00000000U) | 
Feature masks which indicates that none of the configurable features are enabled.
| #define ENET_FEAT_IS_EN | ( | feats, | |
| mask | |||
| ) | (((feats) & (mask)) != 0U) | 
Check if a configurable feature is enabled or not.
| #define ENET_ERRATA_NONE (0x00000000U) | 
Errata mask which indicates that none of the erratas is applicable.
| #define ENET_ERRATA_IS_ANY | ( | mask | ) | ((mask) != ENET_ERRATA_NONE) | 
Check if any errata is applicable, from an errata mask.
| #define ENET_ERRATA_IS_EN | ( | erratas, | |
| mask | |||
| ) | (((erratas) & (mask)) != 0U) | 
Check if an errata is applicable.
| typedef struct Enet_Obj_s* Enet_Handle | 
Ethernet driver handle.
Ethernet driver opaque handle used to call any Enet related APIs.
| 
 | inlinestatic | 
Get the Enet Peripheral handle associated with Enet driver.
Gets the underlying Enet Peripheral handle associated with the given Enet driver.
| hEnet | Enet handle |