Paparazzi UAS
v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
enose.h
Go to the documentation of this file.
1
#ifndef ENOSE_H
2
#define ENOSE_H
3
4
#include "
std.h
"
5
6
#define ENOSE_NB_SENSOR 3
7
8
extern
uint8_t
enose_heat
[
ENOSE_NB_SENSOR
];
9
extern
uint16_t
enose_val
[
ENOSE_NB_SENSOR
];
10
extern
uint16_t
enose_PID_val
;
11
12
#define ENOSE_IDLE 0
13
#define ENOSE_SETTINGS 1
14
#define ENOSE_MEASURING_WR 2
15
#define ENOSE_MEASURING_RD 3
16
17
18
extern
uint8_t
enose_status
;
19
20
extern
void
enose_init
(
void
);
21
22
extern
void
enose_set_heat
(
uint8_t
no_sensor,
uint8_t
value);
23
extern
void
enose_periodic
(
void
);
24
25
#define enose_SetHeat0(val) {enose_set_heat(0, val);}
26
#define enose_SetHeat1(val) {enose_set_heat(1, val);}
27
#define enose_SetHeat2(val) {enose_set_heat(2, val);}
28
29
#define enose_DecreaseVal0(_x) { enose_val[0] -= _x; }
30
#define enose_DecreaseVal1(_x) { enose_val[1] -= _x; }
31
#define enose_DecreaseVal2(_x) { enose_val[2] -= _x; }
32
33
34
#endif
/* ENOSE_H */
uint16_t
unsigned short uint16_t
Definition:
types.h:16
enose_val
uint16_t enose_val[ENOSE_NB_SENSOR]
Definition:
sim_enose.c:5
enose_set_heat
void enose_set_heat(uint8_t no_sensor, uint8_t value)
Definition:
sim_enose.c:18
enose_PID_val
uint16_t enose_PID_val
Definition:
sim_enose.c:6
enose_init
void enose_init(void)
Definition:
sim_enose.c:11
std.h
enose_status
uint8_t enose_status
Definition:
sim_enose.c:3
uint8_t
unsigned char uint8_t
Definition:
types.h:14
ENOSE_NB_SENSOR
#define ENOSE_NB_SENSOR
Definition:
enose.h:6
enose_heat
uint8_t enose_heat[ENOSE_NB_SENSOR]
Definition:
sim_enose.c:4
enose_periodic
void enose_periodic(void)
Definition:
sim_enose.c:19
sw
airborne
modules
enose
enose.h
Generated on Wed Aug 28 2019 16:29:04 for Paparazzi UAS by
1.8.8