|
dRonin
adbada4
dRonin firmware
|
Code to read Futaba S.Bus receiver serial stream. More...
Files | |
| file | pios_sbus.c |
| Code to read Futaba S.Bus receiver serial stream. | |
| file | pios_sbus.h |
| Futaba S.Bus functions header. | |
| file | pios_sbus_priv.h |
| Futaba S.Bus Private structures. | |
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 |
Code to read Futaba S.Bus receiver serial stream.
PIOS interface to read and write from Futaba S.Bus port.
| #define SBUS_EOF_BYTE 0x00 |
Definition at line 63 of file pios_sbus_priv.h.
| #define SBUS_FLAG_DC1 0x01 |
Definition at line 64 of file pios_sbus_priv.h.
| #define SBUS_FLAG_DC2 0x02 |
Definition at line 65 of file pios_sbus_priv.h.
| #define SBUS_FLAG_FL 0x04 |
Definition at line 66 of file pios_sbus_priv.h.
| #define SBUS_FLAG_FS 0x08 |
Definition at line 67 of file pios_sbus_priv.h.
| #define SBUS_FRAME_LENGTH (1+22+1+1) |
Definition at line 61 of file pios_sbus_priv.h.
| #define SBUS_R7008SB_EOF_BYTE 0x04 |
Definition at line 70 of file pios_sbus_priv.h.
| #define SBUS_R7008SB_EOF_COUNTER_MASK 0xCF |
Definition at line 69 of file pios_sbus_priv.h.
| #define SBUS_SOF_BYTE 0x0f |
Definition at line 62 of file pios_sbus_priv.h.
| #define SBUS_VALUE_MAX 1696 |
Definition at line 74 of file pios_sbus_priv.h.
| #define SBUS_VALUE_MIN 352 |
Definition at line 73 of file pios_sbus_priv.h.
| int32_t PIOS_SBus_Init | ( | uintptr_t * | sbus_id, |
| const struct pios_com_driver * | driver, | ||
| uintptr_t | lower_id | ||
| ) |
| const struct pios_rcvr_driver pios_sbus_rcvr_driver |