dRonin
adbada4
dRonin firmware
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
pios_hsum_priv.h
Go to the documentation of this file.
1
11
/*
12
* This program is free software; you can redistribute it and/or modify
13
* it under the terms of the GNU General Public License as published by
14
* the Free Software Foundation; either version 3 of the License, or
15
* (at your option) any later version.
16
*
17
* This program is distributed in the hope that it will be useful, but
18
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
19
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
20
* for more details.
21
*
22
* You should have received a copy of the GNU General Public License along
23
* with this program; if not, see <http://www.gnu.org/licenses/>
24
*/
25
26
#ifndef PIOS_HSUM_PRIV_H
27
#define PIOS_HSUM_PRIV_H
28
29
#include <
pios.h
>
30
31
/* HSUM protocol variations */
32
enum
pios_hsum_proto
{
33
PIOS_HSUM_PROTO_SUMD
,
34
PIOS_HSUM_PROTO_SUMH
,
35
};
36
37
/* HSUM receiver instance configuration */
38
extern
const
struct
pios_rcvr_driver
pios_hsum_rcvr_driver
;
39
40
extern
int32_t
PIOS_HSUM_Init
(uintptr_t *hsum_id,
41
const
struct
pios_com_driver
*driver,
42
uintptr_t lower_id,
43
enum
pios_hsum_proto
proto);
44
45
#endif
/* PIOS_HSUM_PRIV_H */
46
pios_hsum_rcvr_driver
const struct pios_rcvr_driver pios_hsum_rcvr_driver
pios.h
Main PiOS header to include all the compiled in PiOS options.
pios_com_driver
Definition:
pios_com.h:43
pios_hsum_proto
pios_hsum_proto
Definition:
pios_hsum_priv.h:32
pios_rcvr_driver
Definition:
pios_rcvr.h:33
PIOS_HSUM_PROTO_SUMD
Definition:
pios_hsum_priv.h:33
PIOS_HSUM_PROTO_SUMH
Definition:
pios_hsum_priv.h:34
PIOS_HSUM_Init
int32_t PIOS_HSUM_Init(uintptr_t *hsum_id, const struct pios_com_driver *driver, uintptr_t lower_id, enum pios_hsum_proto proto)
flight
PiOS
inc
pios_hsum_priv.h
Generated by
1.8.6