Lizzy project
Dependencies: aconno_I2C Lis2dh12 adc52832_common aconno_SEGGER_RTT
tasks/tasks.h@29:b021b33cf666, 2019-01-31 (annotated)
- Committer:
- jurica238814
- Date:
- Thu Jan 31 15:50:52 2019 +0100
- Branch:
- master
- Revision:
- 29:b021b33cf666
- Parent:
- 24:7539258b015c
Scaling factor hardcoded for acnSENSA format
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dbartolovic | 8:7ba4f82de9b6 | 1 | #ifndef __TASKS_H__ |
dbartolovic | 8:7ba4f82de9b6 | 2 | #define __TASKS_H__ |
dbartolovic | 8:7ba4f82de9b6 | 3 | |
dbartolovic | 24:7539258b015c | 4 | #include "proj_config.h" |
dbartolovic | 8:7ba4f82de9b6 | 5 | #include "Lis2dh12.h" |
dbartolovic | 8:7ba4f82de9b6 | 6 | |
dbartolovic | 8:7ba4f82de9b6 | 7 | #define MEAS_DONE (0x00001000) |
dbartolovic | 24:7539258b015c | 8 | #define UPDATE_BUZZ_LEDS (0x00002000) |
dbartolovic | 15:c0c01188a29b | 9 | #define START_MEAS (0x00010000) |
dbartolovic | 8:7ba4f82de9b6 | 10 | |
dbartolovic | 8:7ba4f82de9b6 | 11 | void tasks_init(); |
dbartolovic | 8:7ba4f82de9b6 | 12 | |
dbartolovic | 8:7ba4f82de9b6 | 13 | #if TEST_LEDS_BUZZ |
dbartolovic | 8:7ba4f82de9b6 | 14 | void led_tick(); |
dbartolovic | 8:7ba4f82de9b6 | 15 | void buzz_tick(); |
dbartolovic | 8:7ba4f82de9b6 | 16 | #endif |
dbartolovic | 8:7ba4f82de9b6 | 17 | |
dbartolovic | 8:7ba4f82de9b6 | 18 | void measureF(Lis2dh12 *mems); |
dbartolovic | 8:7ba4f82de9b6 | 19 | void updateServiceF(); |
dbartolovic | 8:7ba4f82de9b6 | 20 | void updateBuzzLedsF(); |
dbartolovic | 8:7ba4f82de9b6 | 21 | void bleF(BLE *ble); |
dbartolovic | 16:482d8f81d6f3 | 22 | void servLoopC(void); |
dbartolovic | 24:7539258b015c | 23 | void longDelaysC(void); |
dbartolovic | 8:7ba4f82de9b6 | 24 | |
dbartolovic | 8:7ba4f82de9b6 | 25 | #endif//__TASKS_H__ |