]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/commit
Reorganize the logic for restarting FlexRay communication to be Autosar compliant
authorMichal Horn <hornmich@fel.cvut.cz>
Wed, 11 Sep 2013 13:59:50 +0000 (15:59 +0200)
committerMichal Horn <hornmich@fel.cvut.cz>
Wed, 11 Sep 2013 13:59:50 +0000 (15:59 +0200)
commite28f38065bc466fdd1b880038a5368ddc50ede4c
treea116abc97daa54a6e8b3177734d01d772ece1b30
parent04fef53c736601b2183d7b70c3a207da70aa3e32
Reorganize the logic for restarting FlexRay communication to be Autosar compliant

Autosar specification restricts the Fr_StartCommunication to be use only for starting the communication and no other logic should be there.
The specification orders the Fr_ControllerInit function to be able to switch POC state to Config from any other states. So all the restart logic was moved here.

Commands descriptions and rpp function documentation was modified.
rpp/include/rpp/fr.h
rpp/src/drv/fr_tms570.c
rpp/src/rpp/fr.c