Texas Instruments TMS320C6000 Design Manual page 23

Network developer's kit ndk support package ethernet driver
Hide thumbs Also See for TMS320C6000:
Table of Contents

Advertisement

For example, the physical index can be used to hold the EMAC
channel number on which packets using this device should be
transmitted, and the mini-driver can be changed to use this info when
transmitting the packet.
❏ hEther. This field is no longer being used after the switch to NIMU
style drivers in NDK 2.0.
❏ hEvent. The handle to the semaphore object shared by the NDK
stack and the driver to communicate pending network Rx events.
This handle is used with the STKEVENT_signal() function to signal
the NDK stack that a packet has been received and enqueued by the
driver for hand off to the NDK Ethernet stack.
❏ bMacAddr. The Mac (Hardware) address of this interface. This is set
to a default value by the NIMU layer. The default value can be
overridden by the mini-driver with a value received from the
EEPROM during device open.
❏ Filter. The current receive filter setting, which indicates which types
of packets are accepted. The receive filter determines how the
packet device should filter incoming packets. This field is set by the
NIMU layer/stack and used by the mini-driver to program the EMAC.
Legal values include:
■ ETH_PKTFLT_NOTHING. no packets
■ ETH_PKTFLT_DIRECT. only directed Ethernet
■ ETH_PKTFLT_BROADCAST. directed plus Ethernet broadcast
■ ETH_PKTFLT_MULTICAST. directed, broadcast, and selected
Ethernet multicast
■ ETH_PKTFLT_ALLMULTICAST. directed, broadcast, and all
multicast
■ ETH_PKTFLT_ALL. All packets
❏ MCastCnt. Number of multicast addresses installed.
❏ bMCast. Multicast address list. This field is a byte array of
consecutive 6-byte multicast MAC addresses. The number of valid
addresses is stored in the MCastCnt field. The multicast address list
determines what multicast addresses (if any) the MAC is allowed to
receive. The multicast list is configured by the application.
❏ TxFree. Transmitter free flag. The TxFree flag is used by NIMU layer
to determine if a new packet can be sent immediately by the mini-
driver, or if it should be placed on the transmit pending queue for
later. If the flag is not zero, the mini-driver function HwPktTxNext() is
Ethernet Mini-Driver Layer
Data Structures
3-3

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C6000 and is the answer not in the manual?

Questions and answers

Table of Contents