Lizzy project

Dependencies:   aconno_I2C Lis2dh12 adc52832_common aconno_SEGGER_RTT

tasks/tasks.h

Committer:
jurica238814
Date:
2019-01-31
Branch:
master
Revision:
29:b021b33cf666
Parent:
24:7539258b015c

File content as of revision 29:b021b33cf666:

#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__