AUTOSAR网络管理
2020-09-17 14:20:44 0 举报
AUTOSAR网络管理状态机
作者其他创作
大纲/内容
/ Start NM-Timeout Timer;Start Repeat Message Timer;Nm_NetworkMode();
Ready Sleep State
Prepare Bus-Sleep Mode
NM-Timeout Timer has expired/ Start NM-Timeout Timer;
Wai t Bus-Sleep Timer has expired/ Nm_BusSleepMode();
Repeat MessageTimer has expired;
CanNm_NetworkRequest();/ Start NM-Timeout Timer;Start Repeat Message Timer;Nm_NetworkMode();
CanNm_NetworkRequest();[CanNmPnHandleMul tipleNetworkRequests ==FALSE]
Normal Operation State
PowerOff
CanNm_TxConfirmation(Resul t: E_OK);/ Start NM-Timeout Timer;
Tx Timeout Timer hasexpired/Nm_TxTimeoutException();
CanNm_RxIndication();/ Start NM-Timeout Timer;
Bus-Sleep Mode
CanNm_NetworkRequest();
Repeat Message State
CanNm_NetworkRelease();
CanNm_DeInit()
RepeatMessage
CanNm_PassiveStartup();
CanNm_RxIndication();
CanNm_NetworkRequest()[CanNmPnHandleMul tipleNetworkRequests ==TRUE]/Start Repeat Message Timer
Repeat Message Bi t received ||CanNm_RepeatMessageRequest();/Start Repeat Message Timer;
CanNm_PassiveStartUp();
Network Mode
NM-Timeout Timer hasexpired/ Start Wai t Bus-Sleep Timer;Nm_PrepareBusSleepMode();
CanNm_RxIndication();/Nm_NetworkStartIndication();
Repeat Message Bi t Received ||CanNm_RepeatMessageRequest();/Start Repeat Message Timer;
NM-Timeout Timer hasexpired/ Start NM-TimeoutTimer;
PowerOn
CanNm_Ini t()/Initializationof CanNm
0 条评论
下一页