![]() |
MCUXpresso SDK API Reference Manual
Rev 2.16.000
NXP Semiconductors
|
The MCUXpresso SDK provides a driver for the NETC module. The NETC driver is designed in 2 layers:
Modules | |
API layer | |
Abbreviation in NETC driver | |
Hardware layer | |
Data Structures | |
struct | netc_vlan_t |
VLAN tag struct. More... | |
struct | netc_buffer_struct_t |
Buffer structure. More... | |
struct | netc_frame_struct_t |
Frame structure for single Tx/Rx frame. More... | |
struct | netc_frame_attr_t |
Frame attribute struct. More... | |
struct | netc_tx_frame_info_t |
Frame attribute structure. More... | |
struct | netc_msix_entry_t |
NETC MSIX entry structure. More... | |
Macros | |
#define | FSL_NETC_DRIVER_VERSION (MAKE_VERSION(2, 7, 0)) |
Driver Version. | |
#define | NETC_ADDR_LOW_32BIT(x) ((uint32_t)(x)&0xFFFFFFFFU) |
Macro to divides an address into a low 32 bits and a possible high 32 bits. | |
struct netc_vlan_t |
Data Fields | |
uint32_t | vid: 12 |
Vlan Identifier. More... | |
uint32_t | dei: 1 |
Drop Eligible indicator. More... | |
uint32_t | pcp: 3 |
Priority. More... | |
uint32_t | tpid: 16 |
Tag protocol identifier. More... | |
uint32_t netc_vlan_t::vid |
uint32_t netc_vlan_t::dei |
uint32_t netc_vlan_t::pcp |
uint32_t netc_vlan_t::tpid |
struct netc_buffer_struct_t |
struct netc_frame_struct_t |
Data Fields | |
netc_buffer_struct_t * | buffArray |
Buffer array. More... | |
uint16_t | length |
Buffer array length. More... | |
netc_buffer_struct_t* netc_frame_struct_t::buffArray |
Tx: [in]App sets, Rx: [in/out]App sets prepared array, driver sets back received buffers array.
uint16_t netc_frame_struct_t::length |
Tx: [in]App sets, Rx: [in/out]App sets prepared array length, driver sets back received buffers array length.
struct netc_frame_attr_t |
Data Fields | |
bool | isTsAvail |
Rx frame timestamp is available or not. More... | |
bool | isVlanExtracted |
Rx frame VLAN header is available or not. More... | |
uint32_t | timestamp |
The timestamp of this Rx frame. More... | |
bool netc_frame_attr_t::isTsAvail |
bool netc_frame_attr_t::isVlanExtracted |
uint32_t netc_frame_attr_t::timestamp |
struct netc_tx_frame_info_t |
Data Fields | |
bool | isTsAvail |
Tx frame timestamp is available or not. More... | |
uint32_t | timestamp |
The timestamp of this Tx frame, valid when isTsAvail is true. More... | |
bool | isTxTsIdAvail |
Switch port Tx frame timestamp Identifier is available or not. More... | |
uint16_t | txtsid |
The Transmit Timestamp Identifier, valid when isTsIdAvail is true, use for Switch management ENETC direct frame which has specified a timestamp request. More... | |
void * | context |
Private context provided by the user. More... | |
netc_ep_tx_status_t | status |
Transmit status. More... | |
bool netc_tx_frame_info_t::isTsAvail |
uint32_t netc_tx_frame_info_t::timestamp |
bool netc_tx_frame_info_t::isTxTsIdAvail |
uint16_t netc_tx_frame_info_t::txtsid |
void* netc_tx_frame_info_t::context |
netc_ep_tx_status_t netc_tx_frame_info_t::status |
struct netc_msix_entry_t |
anonymous enum |
enum netc_ep_event_t |
enum netc_ep_tx_status_t |
enum netc_tx_ext_flags_t |