19 lignes
585 B
C
19 lignes
585 B
C
/* ============================================================================
|
|
* vc_baro.h -- interface barometre.
|
|
* INTERFACE PERENNE, voir l'en-tete de vc_radio.h. Stub C sur x86-64.
|
|
* ==========================================================================*/
|
|
#ifndef VC_BARO_H
|
|
#define VC_BARO_H
|
|
|
|
#include <stdint.h>
|
|
|
|
void vc_baro_init(void);
|
|
|
|
/* Pression en pascals. Retourne VC_HAL_OK ou un code d'erreur. */
|
|
int vc_baro_read_pressure(uint32_t *out_pa);
|
|
|
|
/* Temperature en centiemes de degre Celsius. */
|
|
int vc_baro_read_temp(int32_t *out_centi_c);
|
|
|
|
#endif /* VC_BARO_H */
|