Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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
26
27void baro_scp_init(void);
28void baro_scp_periodic(void);
29void baro_scp_event(void);
30
31#endif
uint32_t baro_scp_pressure
uint8_t baro_scp_status
void baro_scp_event(void)
void baro_scp_periodic(void)
void baro_scp_init(void)
uint16_t baro_scp_temperature
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.