问答

汇集网友智慧,解决技术难题

lch244

TA的家园币:2  

  • 关于启动PTP时间戳功能后,网络就ping不通了的问题

    原先网络都能够ping通,但起用了下面代码后,网络就ping不通了。NewState为ENABLEvoidETH_PTPTimeStampCmd(FunctionalStateNewState){/*Checktheparameters*/assert_param(IS_FUNCTIONAL_STATE(NewState));if(NewState!=DISABLE){/*EnablethePTPtimestampfortransmitandreceiveframes*/ETH->PTPTSCR|=ETH_PTPTSCR_TSE;}else{/*DisablethePTPtimestampfortransmitandreceiveframes*/ETH->PTPTSCR&=(~(uint32_t)ETH_PTPTSCR_TSE);}}

    state TE TI ST 网络 pi

    2022-10-31 1