theCore C++ embedded framework
user_side.cpp File Reference

User-side code that should be compiled directly into resulting application. More...

#include "application.h"
#include "stdarg.h"
#include <common/console.hpp>
Include dependency graph for user_side.cpp:

Data Structures

struct  ecl::dispatcher_timer
 Container for. More...
 

Namespaces

 ecl
 

Functions

 SYSTEM_MODE (MANUAL)
 
int main ()
 
void board_init ()
 
void main_thread_fn (void *param)
 Thread main routine, proxy to the main itself. More...
 
static Timer ecl::dev_tmr (1000, &dispatcher_timer::check_xfer, dispatcher_obj)
 Soft-IRQ dispatcher timer. More...
 
void ecl::notify_xfer_start ()
 Notifies main loop about pending transactions. More...
 
void setup ()
 
void loop ()
 Loop with delay small enough to. More...
 

Variables

static Thread main_thread
 
static struct ecl::dispatcher_timer ecl::dispatcher_obj
 

Detailed Description

User-side code that should be compiled directly into resulting application.

Moved to separate file and advertised via interface CMake library to avoid linking issues.

Function Documentation

◆ SYSTEM_MODE()

SYSTEM_MODE ( MANUAL  )

◆ main()

int main ( )

◆ board_init()

void board_init ( )

◆ main_thread_fn()

void main_thread_fn ( void *  param)

Thread main routine, proxy to the main itself.

Here is the call graph for this function:

◆ setup()

void setup ( )
Here is the call graph for this function:

◆ loop()

void loop ( )

Loop with delay small enough to.

Variable Documentation

◆ main_thread

Thread main_thread
static