Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
baro_scp_i2c.h
Go to the documentation of this file.
1
#ifndef BARO_SCP_H
2
#define BARO_SCP_H
3
4
#include "
std.h
"
5
6
#define SCP1000_OPERATION 0x03
7
8
#define SCP1000_HIGH_SPEED 0x09
9
#define SCP1000_HIGH_RES 0x0A
10
#define SCP1000_ULT_LOW_PW 0x0B
11
#define SCP1000_LOW_PW 0x0C
12
13
#define SCP1000_DATARD8 0x7F
14
#define SCP1000_DATARD16 0x80
15
#define SCP1000_TEMPOUT 0x81
16
17
#define BARO_SCP_UNINIT 0
18
#define BARO_SCP_IDLE 1
19
#define BARO_SCP_RD_TEMP 2
20
#define BARO_SCP_RD_PRESS_0 3
21
#define BARO_SCP_RD_PRESS_1 4
22
23
extern
uint8_t
baro_scp_status
;
24
extern
uint32_t
baro_scp_pressure
;
25
extern
uint16_t
baro_scp_temperature
;
26
27
void
baro_scp_init
(
void
);
28
void
baro_scp_periodic
(
void
);
29
void
baro_scp_event
(
void
);
30
31
#endif
baro_scp_event
void baro_scp_event(void)
Definition:
baro_scp.c:188
uint16_t
unsigned short uint16_t
Definition:
types.h:16
baro_scp_init
void baro_scp_init(void)
Definition:
baro_scp.c:72
uint32_t
unsigned long uint32_t
Definition:
types.h:18
baro_scp_pressure
uint32_t baro_scp_pressure
Definition:
baro_scp.c:25
baro_scp_periodic
void baro_scp_periodic(void)
Definition:
baro_scp.c:34
baro_scp_status
uint8_t baro_scp_status
Definition:
baro_scp.c:24
std.h
baro_scp_temperature
uint16_t baro_scp_temperature
Definition:
baro_scp.c:26
uint8_t
unsigned char uint8_t
Definition:
types.h:14
sw
airborne
modules
sensors
baro_scp_i2c.h
Generated on Tue Feb 1 2022 13:51:16 for Paparazzi UAS by
1.8.17