/* configure the threshold of the flow control(deactive and active threshold)  */
void enet_flowcontrol_threshold_config(uint32_t deactive, uint32_t active)
/* configure the threshold of the flow control(deactive and active threshold)  */
void enet_flowcontrol_threshold_config(uint32_t deactive, uint32_t active)
{
    ENET_MAC_FCTH = ((deactive | active) >> 8);
}