Examples and discussion of using OSEK RESOURCE is given in Rational Statemate Action Language Implementation.
All the above said, it is a common situation that data is arriving through the bus or board ports, in some predefined messages and addresses, and is needed to be produces, again, to the bus or board, in some maybe other predefined messages and addresses.
In this situation the decision is rather easy, as it already has being taking, and the designer simply uses the defined interface for his application. However, the discussion above is relevant when one tries to build up implementation that will obviously use the appropriate interfaces, however will also be easy to maintain, modify and ported to various other environments, usually unknown at design time.