RT1xxx: How to reset RMON statistics in ENET?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

RT1xxx: How to reset RMON statistics in ENET?

469件の閲覧回数
mastupristi
Senior Contributor I

Hello,

what is the easiest method to reset RMON statistics in the ENET peripheral of RT1xxxs?

 

regards

Max

タグ(3)
0 件の賞賛
返信
1 返信

419件の閲覧回数
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @mastupristi ,

Thanks for your interest in NXP MIMXRT series!

Can you try this function in the SDK for me? Thanks!

 
/*!
 * brief Resets transfer statistics.
 *
 * Sets the value of hardware transfer counters to zero.
 *
 * param base ENET peripheral base address.
 */
void ENET_ResetStatistics(ENET_Type *base)
{
    base->MIBC |= ENET_MIBC_MIB_CLEAR_MASK;
    base->MIBC &= ~ENET_MIBC_MIB_CLEAR_MASK;
}
 

Best regards,
Gavin

 

0 件の賞賛
返信