Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
superbitrf.h File Reference

DSM2 and DSMX datalink implementation for the cyrf6936 2.4GHz radio chip trough SPI. More...

Go to the source code of this file.

Data Structures

struct  SuperbitRF
 

Enumerations

enum  dsm_protocol {
  DSM_DSM2_1 = 0x01, DSM_DSM2_2 = 0x02, DSM_DSM2P = 0x10, DSM_DSMXP = 0x11,
  DSM_DSMX_1 = 0xA2, DSM_DSMX_2 = 0xB2, DSM_DSM2_1 = 0x01, DSM_DSM2_2 = 0x02,
  DSM_DSM2P = 0x10, DSM_DSMXP = 0x11, DSM_DSMX_1 = 0xA2, DSM_DSMX_2 = 0xB2
}
 

Functions

void superbitrf_set_mfg_id (uint32_t id)
 
void superbitrf_set_protocol (uint8_t protocol)
 

Variables

struct SuperbitRF superbitrf
 

Detailed Description

DSM2 and DSMX datalink implementation for the cyrf6936 2.4GHz radio chip trough SPI.

Dummy for sim so you don't have to remove the superbitrf.xml settings file.

Definition in file superbitrf.h.

Enumeration Type Documentation

Enumerator
DSM_DSM2_1 

The original DSM2 protocol with 1 packet of data.

DSM_DSM2_2 

The original DSM2 protocol with 2 packets of data.

DSM_DSM2P 

Our own DSM2 Paparazzi protocol.

DSM_DSMXP 

Our own DSMX Paparazzi protocol.

DSM_DSMX_1 

The original DSMX protocol with 1 packet of data.

DSM_DSMX_2 

The original DSMX protocol with 2 packets of data.

DSM_DSM2_1 

The original DSM2 protocol with 1 packet of data.

DSM_DSM2_2 

The original DSM2 protocol with 2 packets of data.

DSM_DSM2P 

Our own DSM2 Paparazzi protocol.

DSM_DSMXP 

Our own DSMX Paparazzi protocol.

DSM_DSMX_1 

The original DSMX protocol with 1 packet of data.

DSM_DSMX_2 

The original DSMX protocol with 2 packets of data.

Definition at line 33 of file superbitrf.h.

Function Documentation

void superbitrf_set_mfg_id ( uint32_t  id)

Definition at line 34 of file superbitrf.c.

void superbitrf_set_protocol ( uint8_t  protocol)

Definition at line 38 of file superbitrf.c.

Variable Documentation

struct SuperbitRF superbitrf

Definition at line 32 of file superbitrf.c.