Hello NXP team,
I am confused about Icu Wakeup implementation.
According to ECUStateManager version 4.4.0
https://www.autosar.org/fileadmin/standards/R4-4-0/CP/AUTOSAR_SWS_ECUStateManager.pdf
"Icu driver is not itself the wake up source. It is just the module that processes the wake up interrupt"
MyLV_0-1694567072753.png
MyLV_1-1694567142926.png
EcuM_SetWakeupEvent(EcuM_WakeupSourceType) will he handled in [module] side.
where module may be Can, Lin, Flexray ...
Icu just to handle interrupt only.
However, In Icu driver documentation the same version 4.4.0
https://www.autosar.org/fileadmin/standards/R4-4-0/CP/AUTOSAR_SWS_ICUDriver.pdf
EcuM_SetWakeupEvent shall be invoked inside Icu_CheckWakeup() function.
MyLV_2-1694567571835.png
And, the following Icu driver Icu_CheckWakeup() implementation (S32K344 RTD 2.0.2)
MyLV_3-1694567652535.png
Could anyone explain why please?
Kind Regards,
MyLV