Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
sonar_vl53l1x.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2020 Tom van Dijk <tomvand@users.noreply.github.com>
3
*
4
* This file is part of paparazzi.
5
*
6
* paparazzi is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2, or (at your option)
9
* any later version.
10
*
11
* paparazzi is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with paparazzi; see the file COPYING. If not, write to
18
* the Free Software Foundation, 59 Temple Place - Suite 330,
19
* Boston, MA 02111-1307, USA.
20
*
21
*/
22
23
#ifndef SONAR_VL53L1X_H
24
#define SONAR_VL53L1X_H
25
26
#include "
peripherals/vl53l1x_api.h
"
27
28
struct
sonar_vl53l1x_dev
{
29
VL53L1_Dev_t
dev
;
30
int16_t
offset_mm
;
31
uint8_t
read_state
;
32
};
33
extern
struct
sonar_vl53l1x_dev
sonar_vl53l1x
;
34
35
extern
void
sonar_vl53l1x_init
(
void
);
36
extern
void
sonar_vl53l1x_read
(
void
);
37
extern
void
sonar_vl53l1x_event
(
void
);
38
39
#endif
sonar_vl53l1x
struct sonar_vl53l1x_dev sonar_vl53l1x
Definition:
sonar_vl53l1x.c:72
sonar_vl53l1x_dev::offset_mm
int16_t offset_mm
Definition:
sonar_vl53l1x.h:30
sonar_vl53l1x_event
void sonar_vl53l1x_event(void)
Definition:
sonar_vl53l1x.c:118
sonar_vl53l1x_read
void sonar_vl53l1x_read(void)
Definition:
sonar_vl53l1x.c:104
sonar_vl53l1x_dev::dev
VL53L1_Dev_t dev
Definition:
sonar_vl53l1x.h:29
sonar_vl53l1x_init
void sonar_vl53l1x_init(void)
Definition:
sonar_vl53l1x.c:90
sonar_vl53l1x_dev::read_state
uint8_t read_state
Definition:
sonar_vl53l1x.h:31
sonar_vl53l1x_dev
Definition:
sonar_vl53l1x.h:28
VL53L1_Dev_t
Definition:
vl53l1_platform.h:50
int16_t
short int16_t
Typedef defining 16 bit short type.
Definition:
vl53l1_types.h:93
uint8_t
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.
Definition:
vl53l1_types.h:98
vl53l1x_api.h
Functions definition.
sw
airborne
modules
sonar
sonar_vl53l1x.h
Generated on Thu Dec 5 2024 13:05:31 for Paparazzi UAS by
1.9.1