User`s guide
Architecture
AT85C51SND3Bx Firmware User’s Guide 5-29
7691A–MP3–08/07
– a “switch-case” processes all in-coming events
Figure 5-8. internal switch-case processing
This minimal structure to respect is to get a proper control of all new MMI applications by
the MMI manager kernel.
The three basic system events “EVT_START_APPLI”, EVT_APPLI_KILLED”,
EVT_BACK_TO_TOP” and others are defined in “lib_system\mailbox\mail_evt.h”.
5.4.3 Useful Functions
and Macro-functions
A set of functions and macros enabling the MMI applications to interface to the MMI
manager kernel are listed in the two separate tables for requests and status.
Requests
The request table Table 5-1 gives precisely the running priority of the requests since
they are not executed in the order of their calls. Indeed, the MMI manager kernel trans-
lates all requests into events, treated with more or less delay according as they are
mailed or not.
A non-mailed event is executed immediately by the MMI manager kernel when it takes
control led by MMI applications.
A mailed event is a commonly treated after the scheduler has completed a cycle. It shall
be executed just after the all non-mailed events are treated in order to maintain the
event mailbox half empty before giving back control to the system firmware.