Lizzy project

Dependencies:   aconno_I2C Lis2dh12 adc52832_common aconno_SEGGER_RTT

tasks/tasks.h

Committer:
dbartolovic
Date:
2018-09-20
Branch:
testing-ignore
Revision:
24:7539258b015c
Parent:
16:482d8f81d6f3

File content as of revision 24:7539258b015c:

#ifndef __TASKS_H__
#define __TASKS_H__

#include "proj_config.h"
#include "Lis2dh12.h"

#define MEAS_DONE               (0x00001000)
#define UPDATE_BUZZ_LEDS        (0x00002000)
#define START_MEAS              (0x00010000)

void tasks_init();

#if TEST_LEDS_BUZZ
void led_tick();
void buzz_tick();
#endif

void measureF(Lis2dh12 *mems);
void updateServiceF();
void updateBuzzLedsF();
void bleF(BLE *ble);
void servLoopC(void);
void longDelaysC(void);

#endif//__TASKS_H__