Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
Functions
main_std_app.h File Reference
#include "macros.h"
Include dependency graph for main_std_app.h:

Go to the source code of this file.

Functions

void __attribute__ ((noreturn)) app_exit(void)
 
WEAK void common_app_init (void)
 
WEAK void standalone_app_main (void)
 
WEAK void library_app_main (void)
 

Function Documentation

◆ __attribute__()

void __attribute__ ( (noreturn)  )

Exit the application and go back to the dashboard.

Definition at line 40 of file main.c.

◆ common_app_init()

WEAK void common_app_init ( void  )

Common init of the App.

  • UX
  • io
  • USB
  • BLE

Definition at line 45 of file main.c.

◆ library_app_main()

WEAK void library_app_main ( void  )

Main entry point of the App, in library mode. It calls the swap handlers (inside a try/catch)

◆ standalone_app_main()

WEAK void standalone_app_main ( void  )

Main entry point of the App, in standalone mode. It calls (inside a try/catch):

  • common_app_init
  • app_main (should be defined in the App)

Definition at line 67 of file main.c.