/* Enables or disables any unicast packet filtered by the MAC address recognition to be a wake-up frame.  */
void ETH_EnableGlobalUnicastWakeUp(FunctionalState Cmd)
/* Enables or disables any unicast packet filtered by the MAC address recognition to be a wake-up frame.  */
void ETH_EnableGlobalUnicastWakeUp(FunctionalState Cmd)
{
    assert_param(IS_FUNCTIONAL_STATE(Cmd));
    if (Cmd != DISABLE)
    {
        ETH->MACPMTCTRLSTS |= ETH_MACPMTCTRLSTS_GLBLUCAST;
    }
    else
    {
        ETH->MACPMTCTRLSTS &= ~ETH_MACPMTCTRLSTS_GLBLUCAST;
    }
}