#include <emac.h>
Data Fields | |
uint32_t | pui32ByteMask [4] |
uint8_t | pui8Command [4] |
uint8_t | pui8Offset [4] |
uint16_t | pui16CRC [4] |
This structure defines up to 4 filters that can be used to define specific frames which will cause the MAC to wake up from sleep mode.
uint32_t tEMACWakeUpFrameFilter::pui32ByteMask[4] |
A byte mask for each filter defining which bytes from a sequence of 31 (bit 31 must be clear in each mask) are used to filter incoming packets. A 1 indicates that the relevant byte is used to update the CRC16 for the filter, a 0 indicates that the byte is ignored.
uint8_t tEMACWakeUpFrameFilter::pui8Command[4] |
Defines whether each filter is enabled and, if so, whether it filters multicast or unicast frames. Valid values are one of EMAC_RWU_FILTER_ENABLE or EMAC_RWU_FILTER_DISABLE ORed with one of EMAC_RWU_FILTER_UNICAST or EMAC_RWU_FILTER_MULTICAST.
uint8_t tEMACWakeUpFrameFilter::pui8Offset[4] |
Determines the byte offset within the frame at which the filter starts examining bytes. The minimum value for each offset is 12. The first byte of a frame is offset 0.
uint16_t tEMACWakeUpFrameFilter::pui16CRC[4] |
The CRC16 value that is expected for each filter if it passes. The CRC is calculated using all bytes indicated by the filter's mask.