Paparazzi UAS
v5.15_devel-230-gc96ce27
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
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_event
void sonar_vl53l1x_event(void)
Definition:
sonar_vl53l1x.c:118
int16_t
signed short int16_t
Definition:
types.h:17
VL53L1_Dev_t
Definition:
vl53l1_platform.h:50
sonar_vl53l1x_dev::dev
VL53L1_Dev_t dev
Definition:
sonar_vl53l1x.h:29
sonar_vl53l1x_read
void sonar_vl53l1x_read(void)
Definition:
sonar_vl53l1x.c:104
uint8_t
unsigned char uint8_t
Definition:
types.h:14
sonar_vl53l1x_dev
Definition:
sonar_vl53l1x.h:28
sonar_vl53l1x_dev::read_state
uint8_t read_state
Definition:
sonar_vl53l1x.h:31
sonar_vl53l1x_init
void sonar_vl53l1x_init(void)
Definition:
sonar_vl53l1x.c:90
vl53l1x_api.h
Functions definition.
sonar_vl53l1x_dev::offset_mm
int16_t offset_mm
Definition:
sonar_vl53l1x.h:30
sw
airborne
modules
sonar
sonar_vl53l1x.h
Generated on Wed Feb 10 2021 04:34:16 for Paparazzi UAS by
1.8.8