Paparazzi UAS
v5.14.0_stable-0-g3f680d1
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
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
uint16_t
unsigned short uint16_t
Definition:
types.h:16
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
baro_scp_init
void baro_scp_init(void)
Definition:
baro_scp.c:72
baro_scp_temperature
uint16_t baro_scp_temperature
Definition:
baro_scp.c:26
baro_scp_pressure
uint32_t baro_scp_pressure
Definition:
baro_scp.c:25
uint32_t
unsigned long uint32_t
Definition:
types.h:18
std.h
uint8_t
unsigned char uint8_t
Definition:
types.h:14
baro_scp_event
void baro_scp_event(void)
Definition:
baro_scp.c:188
sw
airborne
modules
sensors
baro_scp_i2c.h
Generated on Sat Feb 9 2019 07:05:54 for Paparazzi UAS by
1.8.8