dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pios_sbus_priv.h File Reference

Futaba S.Bus Private structures. More...

#include <pios.h>
#include <pios_stm32.h>
#include <pios_usart_priv.h>

Go to the source code of this file.

Data Structures

struct  pios_sbus_cfg
 

Macros

#define SBUS_FRAME_LENGTH   (1+22+1+1)
 
#define SBUS_SOF_BYTE   0x0f
 
#define SBUS_EOF_BYTE   0x00
 
#define SBUS_FLAG_DC1   0x01
 
#define SBUS_FLAG_DC2   0x02
 
#define SBUS_FLAG_FL   0x04
 
#define SBUS_FLAG_FS   0x08
 
#define SBUS_R7008SB_EOF_COUNTER_MASK   0xCF
 
#define SBUS_R7008SB_EOF_BYTE   0x04
 
#define SBUS_VALUE_MIN   352
 
#define SBUS_VALUE_MAX   1696
 

Functions

int32_t PIOS_SBus_Init (uintptr_t *sbus_id, const struct pios_com_driver *driver, uintptr_t lower_id)
 

Variables

const struct pios_rcvr_driver pios_sbus_rcvr_driver
 

Detailed Description

Futaba S.Bus Private structures.

Author
The OpenPilot Team, http://www.openpilot.org Copyright (C) 2011.
Tau Labs, http://taulabs.org, Copyright (C) 2012-2014
See Also
The GNU Public License (GPL) Version 3

Definition in file pios_sbus_priv.h.