rfLPC
A low level library for using NXP's LPC17xx SoC. Config is given for MBED prototyping board
rflpc_eth_rx_status_t Struct Reference

This structure holds the reception status associated to a descriptor. More...

#include <ethernet.h>

Data Fields

volatile uint32_t status_info
 Receive status return flags. More...
 
volatile uint32_t status_hash_crc
 hash CRC calculated from source and destination address. More...
 

Detailed Description

This structure holds the reception status associated to a descriptor.

Definition at line 131 of file ethernet.h.

Field Documentation

volatile uint32_t rflpc_eth_rx_status_t::status_hash_crc

hash CRC calculated from source and destination address.

  • Bits 8:0 : CRC calcultated from the source address
  • Bits 24:16 : CRC calcultated from the destination address

Definition at line 155 of file ethernet.h.

volatile uint32_t rflpc_eth_rx_status_t::status_info

Receive status return flags.

  • Bits 10:0 : Size of the received data (-1 encoded)
  • Bit 18 : Control frame
  • Bit 19 : VLAN frame
  • Bit 20 : Fail frame filter. The remainder of the frame will be discarded
  • Bit 21 : Multicast frame
  • Bit 22 : Broadcast frame
  • Bit 23 : CRC error
  • Bit 24 : Symbol error reported by PHY
  • Bit 25 : Length Error
  • Bit 26 : Range error
  • Bit 27 : Alignement erro
  • Bit 28 : Receive overrun
  • Bit 29 : No more descriptor and the frame is to big to fit in the data buffer
  • Bit 30 : Last flag. This is the last fragment of the frame
  • Bit 31 : Error occured.

Definition at line 150 of file ethernet.h.


The documentation for this struct was generated from the following file: