Tamago.c File Reference

Tamago main application handler. More...

#include "Animation.h"
#include "BMP180.h"
#include "Clock.h"
#include "DMD.h"
#include "FreeRTOS.h"
#include "LifeCycle.h"
#include "M24FC256.h"
#include "Tamago.h"
#include "cmsis_os.h"
#include "task.h"
Include dependency graph for Tamago.c:

Go to the source code of this file.

Functions

static void _SetAnimationByStats (Stats *pstStats)
 Set animation by pet statistics. More...
 
static void _UpdateThread (void *pArg)
 Update thread. More...
 
int Tamago_Init (void)
 Initialise Tamago main application handler. More...
 

Variables

static TaskHandle_t _hUpdateThread
 Update thread handle.
 

Detailed Description

Tamago main application handler.

Author
Michael Fitzmayer

Definition in file Tamago.c.

Function Documentation

◆ _SetAnimationByStats()

static void _SetAnimationByStats ( Stats pstStats)
static

Set animation by pet statistics.

Parameters
pstStatsPointer to pet statistics

Definition at line 139 of file Tamago.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _UpdateThread()

static void _UpdateThread ( void *  pArg)
static

Update thread.

Parameters
pArgUnused

Definition at line 101 of file Tamago.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Tamago_Init()

int Tamago_Init ( void  )

Initialise Tamago main application handler.

Returns
Error code
Return values
0OK
-1Error

Definition at line 61 of file Tamago.c.

Here is the call graph for this function:
Here is the caller graph for this function: