/* param base ENET peripheral base address. param phyAddr The PHY address. param phyReg The PHY register. Range from 0 ~ 31. param operation The read operation.  */
void ENET_StartSMIRead(ENET_Type *base, uint32_t phyAddr, uint32_t phyReg, enet_mii_read_t operation)
/* param base ENET peripheral base address. param phyAddr The PHY address. param phyReg The PHY register. Range from 0 ~ 31. param operation The read operation.  */
void ENET_StartSMIRead(ENET_Type *base, uint32_t phyAddr, uint32_t phyReg, enet_mii_read_t operation)
{
    uint32_t mmfr = 0;
    mmfr = ENET_MMFR_ST(1) | ENET_MMFR_OP(operation) | ENET_MMFR_PA(phyAddr) | ENET_MMFR_RA(phyReg) | ENET_MMFR_TA(2);
    base->MMFR = mmfr;
}