2 ******************************************************************************
3 * @file pios_ibus_priv.h
4 * @author The LibrePilot Project, http://www.librepilot.org Copyright (C) 2016.
5 * dRonin, http://dRonin.org/, Copyright (C) 2016
6 * @addtogroup PIOS PIOS Core hardware abstraction layer
8 * @addtogroup PIOS_IBus IBus receiver functions
10 * @brief Receives and decodes IBus protocol receiver packets
11 *****************************************************************************/
13 * This program is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation; either version 3 of the License, or
16 * (at your option) any later version.
18 * This program is distributed in the hope that it will be useful, but
19 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
20 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
23 * You should have received a copy of the GNU General Public License along
24 * with this program; if not, write to the Free Software Foundation, Inc.,
25 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27 * Additional note on redistribution: The copyright and license notices above
28 * must be maintained in each individual source file that is a derivative work
29 * of this source file; otherwise redistribution is prohibited.
33 #ifndef PIOS_IBUS_PRIV_H
34 #define PIOS_IBUS_PRIV_H
37 #include <pios_usart_priv.h>
39 /* IBUS receiver instance configuration */
40 extern const struct pios_rcvr_driver pios_ibus_rcvr_driver
;
42 extern int32_t PIOS_IBUS_Init(uint32_t *ibus_id
,
43 const struct pios_com_driver
*driver
,
46 #endif // PIOS_IBUS_PRIV_H