ConOpSys V2970
P004.07
ANVILEX control operating system
|
Macros | |
#define | ETH_DMARXDESC_OWN 0x80000000U |
Bit definition of RDES0 register: DMA Rx descriptor status register. More... | |
#define | ETH_DMARXDESC_AFM 0x40000000U |
#define | ETH_DMARXDESC_FL 0x3FFF0000U |
#define | ETH_DMARXDESC_ES 0x00008000U |
#define | ETH_DMARXDESC_DE 0x00004000U |
#define | ETH_DMARXDESC_SAF 0x00002000U |
#define | ETH_DMARXDESC_LE 0x00001000U |
#define | ETH_DMARXDESC_OE 0x00000800U |
#define | ETH_DMARXDESC_VLAN 0x00000400U |
#define | ETH_DMARXDESC_FS 0x00000200U |
#define | ETH_DMARXDESC_LS 0x00000100U |
#define | ETH_DMARXDESC_IPV4HCE 0x00000080U |
#define | ETH_DMARXDESC_LC 0x00000040U |
#define | ETH_DMARXDESC_FT 0x00000020U |
#define | ETH_DMARXDESC_RWT 0x00000010U |
#define | ETH_DMARXDESC_RE 0x00000008U |
#define | ETH_DMARXDESC_DBE 0x00000004U |
#define | ETH_DMARXDESC_CE 0x00000002U |
#define | ETH_DMARXDESC_MAMPCE 0x00000001U |
#define | ETH_DMARXDESC_DIC 0x80000000U |
Bit definition of RDES1 register. More... | |
#define | ETH_DMARXDESC_RBS2 0x1FFF0000U |
#define | ETH_DMARXDESC_RER 0x00008000U |
#define | ETH_DMARXDESC_RCH 0x00004000U |
#define | ETH_DMARXDESC_RBS1 0x00001FFFU |
#define | ETH_DMARXDESC_B1AP 0xFFFFFFFFU |
Bit definition of RDES2 register. More... | |
#define | ETH_DMARXDESC_B2AP 0xFFFFFFFFU |
Bit definition of RDES3 register. More... | |
#define | ETH_DMAPTPRXDESC_PTPV 0x00002000U /* PTP Version */ |
#define | ETH_DMAPTPRXDESC_PTPFT 0x00001000U /* PTP Frame Type */ |
#define | ETH_DMAPTPRXDESC_PTPMT 0x00000F00U /* PTP Message Type */ |
#define | ETH_DMAPTPRXDESC_PTPMT_SYNC 0x00000100U /* SYNC message (all clock types) */ |
#define | ETH_DMAPTPRXDESC_PTPMT_FOLLOWUP 0x00000200U /* FollowUp message (all clock types) */ |
#define | ETH_DMAPTPRXDESC_PTPMT_DELAYREQ 0x00000300U /* DelayReq message (all clock types) */ |
#define | ETH_DMAPTPRXDESC_PTPMT_DELAYRESP 0x00000400U /* DelayResp message (all clock types) */ |
#define | ETH_DMAPTPRXDESC_PTPMT_PDELAYREQ_ANNOUNCE 0x00000500U /* PdelayReq message (peer-to-peer transparent clock) or Announce message (Ordinary or Boundary clock) */ |
#define | ETH_DMAPTPRXDESC_PTPMT_PDELAYRESP_MANAG 0x00000600U /* PdelayResp message (peer-to-peer transparent clock) or Management message (Ordinary or Boundary clock) */ |
#define | ETH_DMAPTPRXDESC_PTPMT_PDELAYRESPFOLLOWUP_SIGNAL 0x00000700U /* PdelayRespFollowUp message (peer-to-peer transparent clock) or Signaling message (Ordinary or Boundary clock) */ |
#define | ETH_DMAPTPRXDESC_IPV6PR 0x00000080U /* IPv6 Packet Received */ |
#define | ETH_DMAPTPRXDESC_IPV4PR 0x00000040U /* IPv4 Packet Received */ |
#define | ETH_DMAPTPRXDESC_IPCB 0x00000020U /* IP Checksum Bypassed */ |
#define | ETH_DMAPTPRXDESC_IPPE 0x00000010U /* IP Payload Error */ |
#define | ETH_DMAPTPRXDESC_IPHE 0x00000008U /* IP Header Error */ |
#define | ETH_DMAPTPRXDESC_IPPT 0x00000007U /* IP Payload Type */ |
#define | ETH_DMAPTPRXDESC_IPPT_UDP 0x00000001U /* UDP payload encapsulated in the IP datagram */ |
#define | ETH_DMAPTPRXDESC_IPPT_TCP 0x00000002U /* TCP payload encapsulated in the IP datagram */ |
#define | ETH_DMAPTPRXDESC_IPPT_ICMP 0x00000003U /* ICMP payload encapsulated in the IP datagram */ |
#define | ETH_DMAPTPRXDESC_RTSL 0xFFFFFFFFU /* Receive Time Stamp Low */ |
#define | ETH_DMAPTPRXDESC_RTSH 0xFFFFFFFFU /* Receive Time Stamp High */ |
#define ETH_DMAPTPRXDESC_IPCB 0x00000020U /* IP Checksum Bypassed */ |
#define ETH_DMAPTPRXDESC_IPHE 0x00000008U /* IP Header Error */ |
#define ETH_DMAPTPRXDESC_IPPE 0x00000010U /* IP Payload Error */ |
#define ETH_DMAPTPRXDESC_IPPT 0x00000007U /* IP Payload Type */ |
#define ETH_DMAPTPRXDESC_IPPT_ICMP 0x00000003U /* ICMP payload encapsulated in the IP datagram */ |
#define ETH_DMAPTPRXDESC_IPPT_TCP 0x00000002U /* TCP payload encapsulated in the IP datagram */ |
#define ETH_DMAPTPRXDESC_IPPT_UDP 0x00000001U /* UDP payload encapsulated in the IP datagram */ |
#define ETH_DMAPTPRXDESC_IPV4PR 0x00000040U /* IPv4 Packet Received */ |
#define ETH_DMAPTPRXDESC_IPV6PR 0x00000080U /* IPv6 Packet Received */ |
#define ETH_DMAPTPRXDESC_PTPFT 0x00001000U /* PTP Frame Type */ |
#define ETH_DMAPTPRXDESC_PTPMT 0x00000F00U /* PTP Message Type */ |
#define ETH_DMAPTPRXDESC_PTPMT_DELAYREQ 0x00000300U /* DelayReq message (all clock types) */ |
#define ETH_DMAPTPRXDESC_PTPMT_DELAYRESP 0x00000400U /* DelayResp message (all clock types) */ |
#define ETH_DMAPTPRXDESC_PTPMT_FOLLOWUP 0x00000200U /* FollowUp message (all clock types) */ |
#define ETH_DMAPTPRXDESC_PTPMT_PDELAYREQ_ANNOUNCE 0x00000500U /* PdelayReq message (peer-to-peer transparent clock) or Announce message (Ordinary or Boundary clock) */ |
#define ETH_DMAPTPRXDESC_PTPMT_PDELAYRESP_MANAG 0x00000600U /* PdelayResp message (peer-to-peer transparent clock) or Management message (Ordinary or Boundary clock) */ |
#define ETH_DMAPTPRXDESC_PTPMT_PDELAYRESPFOLLOWUP_SIGNAL 0x00000700U /* PdelayRespFollowUp message (peer-to-peer transparent clock) or Signaling message (Ordinary or Boundary clock) */ |
#define ETH_DMAPTPRXDESC_PTPMT_SYNC 0x00000100U /* SYNC message (all clock types) */ |
#define ETH_DMAPTPRXDESC_PTPV 0x00002000U /* PTP Version */ |
#define ETH_DMAPTPRXDESC_RTSH 0xFFFFFFFFU /* Receive Time Stamp High */ |
#define ETH_DMAPTPRXDESC_RTSL 0xFFFFFFFFU /* Receive Time Stamp Low */ |
#define ETH_DMARXDESC_AFM 0x40000000U |
DA Filter Fail for the rx frame
#define ETH_DMARXDESC_B1AP 0xFFFFFFFFU |
Bit definition of RDES2 register.
Buffer1 Address Pointer
#define ETH_DMARXDESC_B2AP 0xFFFFFFFFU |
Bit definition of RDES3 register.
Buffer2 Address Pointer
#define ETH_DMARXDESC_CE 0x00000002U |
CRC error
#define ETH_DMARXDESC_DBE 0x00000004U |
Dribble bit error: frame contains non int multiple of 8 bits
#define ETH_DMARXDESC_DE 0x00004000U |
Descriptor error: no more descriptors for receive frame
#define ETH_DMARXDESC_DIC 0x80000000U |
Bit definition of RDES1 register.
Disable Interrupt on Completion
#define ETH_DMARXDESC_ES 0x00008000U |
Error summary: OR of the following bits: DE || OE || IPC || LC || RWT || RE || CE
#define ETH_DMARXDESC_FL 0x3FFF0000U |
Receive descriptor frame length
#define ETH_DMARXDESC_FS 0x00000200U |
First descriptor of the frame
#define ETH_DMARXDESC_FT 0x00000020U |
Frame type - Ethernet, otherwise 802.3
#define ETH_DMARXDESC_IPV4HCE 0x00000080U |
IPC Checksum Error: Rx Ipv4 header checksum error
#define ETH_DMARXDESC_LC 0x00000040U |
Late collision occurred during reception
#define ETH_DMARXDESC_LE 0x00001000U |
Frame size not matching with length field
#define ETH_DMARXDESC_LS 0x00000100U |
Last descriptor of the frame
#define ETH_DMARXDESC_MAMPCE 0x00000001U |
Rx MAC Address/Payload Checksum Error: Rx MAC address matched/ Rx Payload Checksum Error
#define ETH_DMARXDESC_OE 0x00000800U |
Overflow Error: Frame was damaged due to buffer overflow
#define ETH_DMARXDESC_OWN 0x80000000U |
Bit definition of RDES0 register: DMA Rx descriptor status register.
OWN bit: descriptor is owned by DMA engine
#define ETH_DMARXDESC_RBS1 0x00001FFFU |
Receive Buffer1 Size
#define ETH_DMARXDESC_RBS2 0x1FFF0000U |
Receive Buffer2 Size
#define ETH_DMARXDESC_RCH 0x00004000U |
Second Address Chained
#define ETH_DMARXDESC_RE 0x00000008U |
Receive error: error reported by MII interface
#define ETH_DMARXDESC_RER 0x00008000U |
Receive End of Ring
#define ETH_DMARXDESC_RWT 0x00000010U |
Receive Watchdog Timeout: watchdog timer expired during reception
#define ETH_DMARXDESC_SAF 0x00002000U |
SA Filter Fail for the received frame
#define ETH_DMARXDESC_VLAN 0x00000400U |
VLAN Tag: received frame is a VLAN frame