ESP-IDF
eth_dma_rx_descriptor_t
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
eth_dma_rx_descriptor_t
eth_dma_rx_descriptor_t struct
Ethernet DMA RX Descriptor
Syntax
Show:
Summary
Declaration
from
emac_hal.h:116
typedef
struct
{
volatile
union
{
struct
{
uint32_t
ExtendStatusAvailable
:
1
;
uint32_t
CRCErr
:
1
;
uint32_t
DribbleBitErr
:
1
;
uint32_t
ReceiveErr
:
1
;
uint32_t
ReceiveWatchdogTimeout
:
1
;
uint32_t
FrameType
:
1
;
uint32_t
LateCollision
:
1
;
uint32_t
TSAvailIPChecksumErrGiantFrame
:
1
;
uint32_t
LastDescriptor
:
1
;
uint32_t
FirstDescriptor
:
1
;
uint32_t
VLANTag
:
1
;
uint32_t
OverflowErr
:
1
;
uint32_t
LengthErr
:
1
;
uint32_t
SourceAddrFilterFail
:
1
;
uint32_t
DescriptorErr
:
1
;
uint32_t
ErrSummary
:
1
;
uint32_t
FrameLength
:
14
;
uint32_t
DestinationAddrFilterFail
:
1
;
uint32_t
Own
:
1
;
}
;
uint32_t
Value
;
}
RDES0
;
union
{
struct
{
uint32_t
ReceiveBuffer1Size
:
13
;
uint32_t
Reserved1
:
1
;
uint32_t
SecondAddressChained
:
1
;
uint32_t
ReceiveEndOfRing
:
1
;
uint32_t
ReceiveBuffer2Size
:
13
;
uint32_t
Reserved
:
2
;
uint32_t
DisableInterruptOnComplete
:
1
;
}
;
uint32_t
Value
;
}
RDES1
;
uint32_t
Buffer1Addr
;
uint32_t
Buffer2NextDescAddr
;
volatile
union
{
struct
{
uint32_t
IPPayloadType
:
3
;
uint32_t
IPHeadErr
:
1
;
uint32_t
IPPayloadErr
:
1
;
uint32_t
IPChecksumBypass
:
1
;
uint32_t
IPv4PacketReceived
:
1
;
uint32_t
IPv6PacketReceived
:
1
;
uint32_t
MessageType
:
4
;
uint32_t
PTPFrameType
:
1
;
uint32_t
PTPVersion
:
1
;
uint32_t
TimestampDropped
:
1
;
uint32_t
Reserved1
:
1
;
uint32_t
AVPacketReceived
:
1
;
uint32_t
AVTaggedPacketReceived
:
1
;
uint32_t
VLANTagPrioVal
:
3
;
uint32_t
Reserved2
:
3
;
uint32_t
Layer3FilterMatch
:
1
;
uint32_t
Layer4FilterMatch
:
1
;
uint32_t
Layer3Layer4FilterNumberMatch
:
2
;
uint32_t
Reserved3
:
4
;
}
;
uint32_t
Value
;
}
ExtendedStatus
;
uint32_t
Reserved
;
uint32_t
TimeStampLow
;
uint32_t
TimeStampHigh
;
#if
SOC_CACHE_INTERNAL_MEM_VIA_L1CACHE
uint8_t
CacheAlign
[
EMAC_HAL_DMA_DESC_SIZE
-
32
]
;
#endif
}
eth_dma_rx_descriptor_t
;
Fields
Field
Declared as
Description
eth_dma_rx_descriptor_t::RDES0
volatile
union
{
struct
{
uint32_t
ExtendStatusAvailable
:
1
;
uint32_t
CRCErr
:
1
;
uint32_t
DribbleBitErr
:
1
;
uint32_t
ReceiveErr
:
1
;
uint32_t
ReceiveWatchdogTimeout
:
1
;
uint32_t
FrameType
:
1
;
uint32_t
LateCollision
:
1
;
uint32_t
TSAvailIPChecksumErrGiantFrame
:
1
;
uint32_t
LastDescriptor
:
1
;
uint32_t
FirstDescriptor
:
1
;
uint32_t
VLANTag
:
1
;
uint32_t
OverflowErr
:
1
;
uint32_t
LengthErr
:
1
;
uint32_t
SourceAddrFilterFail
:
1
;
uint32_t
DescriptorErr
:
1
;
uint32_t
ErrSummary
:
1
;
uint32_t
FrameLength
:
14
;
uint32_t
DestinationAddrFilterFail
:
1
;
uint32_t
Own
:
1
;
}
;
uint32_t
Value
;
}
eth_dma_rx_descriptor_t::RDES1
union
{
struct
{
uint32_t
ReceiveBuffer1Size
:
13
;
uint32_t
Reserved1
:
1
;
uint32_t
SecondAddressChained
:
1
;
uint32_t
ReceiveEndOfRing
:
1
;
uint32_t
ReceiveBuffer2Size
:
13
;
uint32_t
Reserved
:
2
;
uint32_t
DisableInterruptOnComplete
:
1
;
}
;
uint32_t
Value
;
}
eth_dma_rx_descriptor_t::Buffer1Addr
uint32_t
Buffer1 address pointer.
eth_dma_rx_descriptor_t::Buffer2NextDescAddr
uint32_t
Buffer2 or next descriptor address pointer.
eth_dma_rx_descriptor_t::ExtendedStatus
volatile
union
{
struct
{
uint32_t
IPPayloadType
:
3
;
uint32_t
IPHeadErr
:
1
;
uint32_t
IPPayloadErr
:
1
;
uint32_t
IPChecksumBypass
:
1
;
uint32_t
IPv4PacketReceived
:
1
;
uint32_t
IPv6PacketReceived
:
1
;
uint32_t
MessageType
:
4
;
uint32_t
PTPFrameType
:
1
;
uint32_t
PTPVersion
:
1
;
uint32_t
TimestampDropped
:
1
;
uint32_t
Reserved1
:
1
;
uint32_t
AVPacketReceived
:
1
;
uint32_t
AVTaggedPacketReceived
:
1
;
uint32_t
VLANTagPrioVal
:
3
;
uint32_t
Reserved2
:
3
;
uint32_t
Layer3FilterMatch
:
1
;
uint32_t
Layer4FilterMatch
:
1
;
uint32_t
Layer3Layer4FilterNumberMatch
:
2
;
uint32_t
Reserved3
:
4
;
}
;
uint32_t
Value
;
}
eth_dma_rx_descriptor_t::Reserved
uint32_t
Reserved.
eth_dma_rx_descriptor_t::TimeStampLow
uint32_t
Receive frame timestamp low.
eth_dma_rx_descriptor_t::TimeStampHigh
uint32_t
Receive frame timestamp high.
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out