3 * \brief basic types for defining a firmware app
9 // this is the prototype for all app "handle" functions
10 typedef void (*handle_fn)(uint8_t app,
14 // Each app must declare one of these
17 uint8_t const app; /* app number */
18 handle_fn const handle; /* handle fn ptr */
19 char const * const name; /* name of the app */
20 char const * const desc; /* app description */
23 // The following externs give all apps access to the app list
25 // Global list of app_t's for all compiled in apps
26 extern app_t const * const apps[];
28 // Global number of apps in the app list
29 extern int const num_apps;