![transmit buffers transmit buffers](https://docs.hhdsoftware.com/vspt/images/bridge-options.png)
More.ĭefines the ENET receive buffer descriptor ring/queue structure. More.ĭefines the ENET transmit buffer descriptor ring/queue structure. More.ĭefines the basic configuration structure for the ENET device. More.ĭefines the interrupt coalescing configure structure. More.ĭefines the receive buffer descriptor configuration structure. More.ĭefines the ENET transmit dirty addresses ring/queue structure. More.ĭefines the ENET transfer statistics structure. More.ĭefines the Rx frame error structure. More.ĭefines the ENET data error statistics structure. More.ĭefines the enhanced transmit buffer descriptor structure for the little endian system.
#Transmit buffers driver
Refer to the driver examples codes located at /boards//driver_examples/enetĭefines the receive buffer descriptor structure for the little endian system. Refer to the driver examples codes located at /boards//driver_examples/enet For the ENET_ENHANCEDBUFFERDESCRIPTOR_MODE defined use case, add the PTP IEEE 1588 configuration to enable the PTP IEEE 1588 feature. The ENET_Ptp1588Configure() function needs to be called when the ENET_ENHANCEDBUFFERDESCRIPTOR_MODE is defined and the IEEE 1588 feature is required.ĮNET Initialization, receive, and transmit operationsįor the ENET_ENHANCEDBUFFERDESCRIPTOR_MODE undefined use case, use the legacy type buffer descriptor transmit/receive the frame as follows. This function group configures the PTP IEEE 1588 feature, starts/stops/gets/sets/adjusts the PTP IEEE 1588 timer, gets the receive/transmit frame timestamp, and PTP IEEE 1588 timer channel feature setting. The send frame zero-copy APIs can't be used mixed with ENET_SendFrame() for the same ENET peripheral, same as read frame zero-copy APIs. If send/read frame with zero-copy mechanism is needed, there're special APIs like ENET_GetRxBuffer(), ENET_ReleaseRxBuffer(), ENET_SendFrameZeroCopy() and ENET_SetTxBuffer(). The ENET_GetT圎rrAfterSendFrame() function is recommended to be called on the transmit interrupt handler. The transmit error information can only be updated by uDMA after the data is transmitted. When the ENET_ENHANCEDBUFFERDESCRIPTOR_MODE is defined, the ENET_GetT圎rrAfterSendFrame() can be used to get the detail transmit error information. The transmit data error information is only accessible for the IEEE 1588 enhanced buffer descriptor mode. If the received error occurs, call the ENET_GetR圎rrBeforeReadFrame() function after ENET_GetRxFrameSize() and before ENET_ReadFrame() functions to get the detailed error information.įor ENET transmit, call the ENET_SendFrame() function to send the data out. Then, call the ENET_ReadFrame() function to get the received data. When the AVB feature is required, make sure the the "ENET_ENHANCEDBUFFERDESCRIPTOR_MODE" is defined before using this feature.įor ENET receive, the ENET_GetRxFrameSize() function needs to be called to get the received data size. Because of this, the AVB configuration should only be done with the Enhanced buffer descriptor. Note that due to the AVB frames transmission scheme being a credit-based TX scheme, it is only supported with the Enhanced buffer descriptors. The ENET_AVBConfigure() is provided to configure the AVB features to support the AVB frames transmission. This group has the receive active API ENET_ActiveRead() for single and multiple rings. The IEEE 1588 feature requires receiving the PTP message.
#Transmit buffers mac
ENET_AddMulticastGroup() should be called to add the ENET MAC to the multicast group. This group sets/gets the ENET mac address and the multicast group address filter. Use ENET_SetMII() to configure the MII before successfully getting data from the external PHY.
#Transmit buffers serial
This function group sets up the MII and serial management SMI interface, gets data from the SMI interface, and starts the SMI read and write command. Use ENET_StartSMIRead(), ENET_StartSMIWrite(), and ENET_ReadSMIData() to read/write to PHY registers. Call ENET_SetSMI() to initialize the MII management interface.
![transmit buffers transmit buffers](https://www.ixbt.com/comm/nic/gigabit/32bit-2/teg-pcitx-drv-2.png)
the Serial management interface - MII management interface should be set before any access to the external PHY chip register. The MII interface is the interface connected with MAC and PHY. The MCUXpresso SDK provides a peripheral driver for the 10/100 Mbps Ethernet MAC (ENET) module of MCUXpresso SDK devices.