Paparazzi UAS
v5.12_stable-4-g9b43e9b
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
vms_ecu_demo.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2017 Michal Podhradsky
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
29
#ifndef DRIVERS_TEST_H
30
#define DRIVERS_TEST_H
31
32
#include "
std.h
"
33
#include "
mcu_periph/adc.h
"
34
35
#if !USE_CHIBIOS_RTOS
36
#error Only Chibios is supported
37
#endif
38
39
// Definitions of pins
40
41
extern
bool
ams_status
;
42
extern
bool
pwr_ready
;
43
extern
bool
pwr_stdby
;
44
extern
bool
rtds
;
45
46
void
vms_ecu_demo_init
(
void
);
47
void
vms_ecu_demo_periodic
(
void
);
48
void
vms_ecu_demo_downlink
(
void
);
50
extern
void
vms_ecu_demo_UpdateDac1
(
uint16_t
val
);
51
extern
void
vms_ecu_demo_UpdateDac2
(
uint16_t
val
);
52
extern
uint16_t
dac_1
;
53
extern
uint16_t
dac_2
;
54
55
#endif
/* DRIVERS_TEST */
uint16_t
unsigned short uint16_t
Definition:
types.h:16
pwr_ready
bool pwr_ready
Definition:
vms_ecu_demo.c:98
vms_ecu_demo_init
void vms_ecu_demo_init(void)
Definition:
vms_ecu_demo.c:190
dac_2
uint16_t dac_2
Definition:
vms_ecu_demo.c:77
vms_ecu_demo_periodic
void vms_ecu_demo_periodic(void)
Definition:
vms_ecu_demo.c:248
adc.h
arch independent ADC (Analog to Digital Converter) API
vms_ecu_demo_downlink
void vms_ecu_demo_downlink(void)
Definition:
vms_ecu_demo.c:315
vms_ecu_demo_UpdateDac2
void vms_ecu_demo_UpdateDac2(uint16_t val)
Definition:
vms_ecu_demo.c:332
val
uint16_t val[TCOUPLE_NB]
Definition:
temp_tcouple_adc.c:49
std.h
ams_status
bool ams_status
Definition:
vms_ecu_demo.c:97
dac_1
uint16_t dac_1
Definition:
vms_ecu_demo.c:76
pwr_stdby
bool pwr_stdby
Definition:
vms_ecu_demo.c:99
vms_ecu_demo_UpdateDac1
void vms_ecu_demo_UpdateDac1(uint16_t val)
Reset sweep number.
Definition:
vms_ecu_demo.c:326
rtds
bool rtds
Definition:
vms_ecu_demo.c:100
sw
airborne
modules
fsae_electric
vms_ecu_demo.h
Generated on Sat Feb 9 2019 06:43:57 for Paparazzi UAS by
1.8.8