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
Cyrf6936 Struct Reference

#include <cyrf6936.h>

+ Collaboration diagram for Cyrf6936:

Data Fields

struct spi_periphspi_p
 The SPI peripheral for the connection. More...
 
struct spi_transaction spi_t
 The SPI transaction used for the writing and reading of registers. More...
 
enum Cyrf6936Status status
 The status of the CYRF6936 chip. More...
 
uint8_t input_buf [17]
 The input buffer for the SPI transaction. More...
 
uint8_t output_buf [17]
 The output buffer for the SPI transaction. More...
 
uint8_t buffer [CYRF6936_MAX_BUFFER]
 The buffer used to write/read multiple registers. More...
 
uint8_t buffer_length
 The length of the buffer used for MULTIWRITE. More...
 
uint8_t buffer_idx
 The index of the buffer used for MULTIWRITE and used as sub-status for other statuses. More...
 
bool_t has_irq
 When the CYRF6936 is done reading the irq. More...
 
uint8_t mfg_id [6]
 The manufacturer id of the CYRF6936 chip. More...
 
uint8_t tx_irq_status
 The last send interrupt status. More...
 
uint8_t rx_irq_status
 The last receive interrupt status. More...
 
uint8_t rx_status
 The last receive status. More...
 
uint8_t rx_count
 The length of the received packet. More...
 
uint8_t rx_packet [16]
 The last received packet. More...
 

Detailed Description

Definition at line 48 of file cyrf6936.h.

Field Documentation

uint8_t Cyrf6936::buffer[CYRF6936_MAX_BUFFER]

The buffer used to write/read multiple registers.

Definition at line 55 of file cyrf6936.h.

Referenced by cyrf6936_event(), cyrf6936_multi_write(), cyrf6936_send(), and cyrf6936_write_chan_sop_data_crc().

uint8_t Cyrf6936::buffer_idx

The index of the buffer used for MULTIWRITE and used as sub-status for other statuses.

Definition at line 57 of file cyrf6936.h.

Referenced by cyrf6936_event(), cyrf6936_init(), cyrf6936_multi_write(), cyrf6936_read_rx_irq_status_packet(), cyrf6936_send(), and cyrf6936_write_chan_sop_data_crc().

uint8_t Cyrf6936::buffer_length

The length of the buffer used for MULTIWRITE.

Definition at line 56 of file cyrf6936.h.

Referenced by cyrf6936_event(), and cyrf6936_multi_write().

bool_t Cyrf6936::has_irq

When the CYRF6936 is done reading the irq.

Definition at line 59 of file cyrf6936.h.

Referenced by cyrf6936_event(), cyrf6936_init(), and superbitrf_event().

uint8_t Cyrf6936::input_buf[17]

The input buffer for the SPI transaction.

Definition at line 52 of file cyrf6936.h.

Referenced by cyrf6936_event(), and cyrf6936_init().

uint8_t Cyrf6936::mfg_id[6]

The manufacturer id of the CYRF6936 chip.

Definition at line 60 of file cyrf6936.h.

Referenced by cyrf6936_event().

uint8_t Cyrf6936::output_buf[17]

The output buffer for the SPI transaction.

Definition at line 53 of file cyrf6936.h.

Referenced by cyrf6936_init(), cyrf6936_read_block(), and cyrf6936_write_block().

uint8_t Cyrf6936::rx_count

The length of the received packet.

Definition at line 64 of file cyrf6936.h.

Referenced by cyrf6936_event(), and superbitrf_receive_packet_cb().

uint8_t Cyrf6936::rx_irq_status

The last receive interrupt status.

Definition at line 62 of file cyrf6936.h.

Referenced by cyrf6936_event(), and superbitrf_event().

uint8_t Cyrf6936::rx_packet[16]

The last received packet.

Definition at line 65 of file cyrf6936.h.

Referenced by cyrf6936_event(), and superbitrf_event().

uint8_t Cyrf6936::rx_status

The last receive status.

Definition at line 63 of file cyrf6936.h.

Referenced by cyrf6936_event(), and superbitrf_event().

struct spi_periph* Cyrf6936::spi_p

The SPI peripheral for the connection.

Definition at line 49 of file cyrf6936.h.

Referenced by cyrf6936_init(), cyrf6936_read_block(), and cyrf6936_write_block().

struct spi_transaction Cyrf6936::spi_t

The SPI transaction used for the writing and reading of registers.

Definition at line 50 of file cyrf6936.h.

Referenced by cyrf6936_event(), cyrf6936_init(), cyrf6936_read_block(), and cyrf6936_write_block().

uint8_t Cyrf6936::tx_irq_status

The last send interrupt status.

Definition at line 61 of file cyrf6936.h.

Referenced by cyrf6936_event(), and superbitrf_event().


The documentation for this struct was generated from the following file: