ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts  1.0
ESP8266ILI9341DisplayProject
Macros | Functions | Variables
user_task.c File Reference
#include "user_config.h"
#include "user_task.h"

Go to the source code of this file.

Macros

#define CONT_STACKSIZE   (1024*4)
 
#define LOOP_TASK_PRIORITY   0
 
#define LOOP_QUEUE_SIZE   1
 
#define OPTIMISTIC_YIELD_TIME_US   16000
 

Functions

int atexit (void(*func)())
 
void loop ()
 
void setup ()
 main() Initialize user task More...
 
cont_t g_cont __attribute__ ((aligned(16)))
 
void abort ()
 
void esp_yield ()
 
void esp_schedule ()
 
void yield ()
 
void optimistic_yield (uint32_t interval_us)
 
void loop_wrapper ()
 
static void loop_task (os_event_t *events)
 
void init_done ()
 
void user_init (void)
 

Variables

struct rst_info resetInfo
 
static os_event_t g_loop_queue [LOOP_QUEUE_SIZE]
 
uint32_t g_micros_at_task_start
 
bool setup_done = false
 

Macro Definition Documentation

#define CONT_STACKSIZE   (1024*4)

Definition at line 29 of file user_task.c.

#define LOOP_QUEUE_SIZE   1

Definition at line 37 of file user_task.c.

Referenced by user_init().

#define LOOP_TASK_PRIORITY   0

Definition at line 36 of file user_task.c.

Referenced by esp_schedule(), and user_init().

#define OPTIMISTIC_YIELD_TIME_US   16000

Definition at line 39 of file user_task.c.

Function Documentation

cont_t g_cont __attribute__ ( (aligned(16))  )

Referenced by atexit().

void abort ( void  )

Definition at line 57 of file user_task.c.

Referenced by loop_task(), and yield().

int atexit ( void(*)()  func)

Definition at line 43 of file user_task.c.

void esp_schedule ( void  )
void esp_yield ( void  )

Definition at line 67 of file user_task.c.

Referenced by yield().

void init_done ( void  )

Definition at line 149 of file user_task.c.

Referenced by user_init().

void loop ( )

Definition at line 533 of file user_main.c.

Referenced by atexit(), and loop_wrapper().

static void loop_task ( os_event_t *  events)
static

Definition at line 137 of file user_task.c.

Referenced by user_init().

void loop_wrapper ( void  )

Definition at line 113 of file user_task.c.

Referenced by loop_task().

void optimistic_yield ( uint32_t  interval_us)
void setup ( void  )

main() Initialize user task

Returns
void

Definition at line 971 of file user_main.c.

Referenced by atexit(), loop_wrapper(), and user_init().

void user_init ( void  )

Definition at line 160 of file user_task.c.

void yield ( void  )

Definition at line 86 of file user_task.c.

Referenced by optimistic_yield().

Variable Documentation

os_event_t g_loop_queue[LOOP_QUEUE_SIZE]
static

Definition at line 53 of file user_task.c.

uint32_t g_micros_at_task_start

Definition at line 55 of file user_task.c.

struct rst_info resetInfo

Definition at line 41 of file user_task.c.

bool setup_done = false

Definition at line 112 of file user_task.c.