dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Spektrum/JR DSMx satellite receiver functions

Code to bind and read Spektrum/JR DSMx satellite receiver serial stream. More...

Files

file  pios_dsm.c
 Code bind and read Spektrum/JR DSMx satellite receiver serial stream.
 
file  pios_dsm.h
 Spektrum/JR DSMx satellite receiver functions header.
 
file  pios_dsm_priv.h
 Spektrum/JR DSMx satellite receiver private structures.
 

Data Structures

struct  pios_dsm_cfg
 

Macros

#define DSM_CHANNELS_PER_FRAME   7
 
#define DSM_FRAME_LENGTH   (1+1+DSM_CHANNELS_PER_FRAME*2)
 
#define DSM_2ND_FRAME_MASK   0x8000
 

Functions

int32_t PIOS_DSM_Init (uintptr_t *dsm_id, const struct pios_dsm_cfg *cfg, const struct pios_com_driver *driver, uintptr_t lower_id, HwSharedDSMxModeOptions mode)
 

Variables

struct pios_dsm_cfg __attribute__
 
const struct pios_rcvr_driver pios_dsm_rcvr_driver
 

Detailed Description

Code to bind and read Spektrum/JR DSMx satellite receiver serial stream.

PIOS interface to bind and read Spektrum/JR DSMx satellite receiver.

Macro Definition Documentation

#define DSM_2ND_FRAME_MASK   0x8000

Definition at line 111 of file pios_dsm_priv.h.

#define DSM_CHANNELS_PER_FRAME   7

Definition at line 109 of file pios_dsm_priv.h.

#define DSM_FRAME_LENGTH   (1+1+DSM_CHANNELS_PER_FRAME*2)

Definition at line 110 of file pios_dsm_priv.h.

Function Documentation

int32_t PIOS_DSM_Init ( uintptr_t *  dsm_id,
const struct pios_dsm_cfg cfg,
const struct pios_com_driver driver,
uintptr_t  lower_id,
HwSharedDSMxModeOptions  mode 
)

Variable Documentation

const struct pios_rcvr_driver pios_dsm_rcvr_driver