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

#include <ms2100.h>

+ Collaboration diagram for Ms2100:

Data Fields

struct spi_periphspi_p
 
struct spi_transaction req_trans
 
struct spi_transaction read_trans
 
volatile uint8_t req_buf [1]
 SPI buffer for the command byte. More...
 
volatile uint8_t read_buf [2]
 SPI buffer for reading a single axis. More...
 
enum Ms2100Status status
 
volatile uint8_t cur_axe
 
union {
   struct Int16Vect3   vect
 data vector in mag coordinate system More...
 
   int16_t   value [3]
 data values accessible by channel index More...
 
data
 

Detailed Description

Definition at line 44 of file ms2100.h.

Field Documentation

volatile uint8_t Ms2100::cur_axe

Definition at line 51 of file ms2100.h.

Referenced by ms2100_event(), ms2100_init(), and ms2100_read().

union { ... } Ms2100::data

Referenced by ms2100_event(), and ms2100_init().

volatile uint8_t Ms2100::read_buf[2]

SPI buffer for reading a single axis.

Definition at line 49 of file ms2100.h.

Referenced by ms2100_event(), and ms2100_init().

struct spi_transaction Ms2100::read_trans

Definition at line 47 of file ms2100.h.

Referenced by ms2100_event(), and ms2100_init().

volatile uint8_t Ms2100::req_buf[1]

SPI buffer for the command byte.

Definition at line 48 of file ms2100.h.

Referenced by ms2100_init(), and ms2100_read().

struct spi_transaction Ms2100::req_trans

Definition at line 46 of file ms2100.h.

Referenced by ms2100_event(), ms2100_init(), and ms2100_read().

struct spi_periph* Ms2100::spi_p

Definition at line 45 of file ms2100.h.

Referenced by ms2100_event(), ms2100_init(), and ms2100_read().

enum Ms2100Status Ms2100::status
int16_t Ms2100::value[3]

data values accessible by channel index

Definition at line 54 of file ms2100.h.

Referenced by ms2100_event().

struct Int16Vect3 Ms2100::vect

data vector in mag coordinate system

Definition at line 53 of file ms2100.h.

Referenced by ms2100_init().


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